Vulnerability Description
PwnDoc all versions until 0.4.0 (2021-08-23) has incorrect JSON Webtoken handling, leading to incorrect access control. With a valid JSON Webtoken that is used for authentication and authorization, a user can keep his admin privileges even if he is downgraded to the "user" privilege. Even after a user's account is deleted, the user can still access the administration panel (and add or delete users) and has complete access to the system.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pwndoc Project | Pwndoc | < 0.4.0 |
References
- https://github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CPatchRelease NotesThird Party Advisory
- https://github.com/pwndoc/pwndoc/commit/15f3dc0e212eda465e05fda0feb002d1bce2939dPatchThird Party Advisory
- https://github.com/pwndoc/pwndoc/commit/ff1b868cec55f5b6c7a91e15a2b0b1f4324121abPatchThird Party Advisory
- https://github.com/pwndoc/pwndoc/pull/128PatchThird Party Advisory
- https://github.com/pwndoc/pwndoc/pull/74PatchThird Party Advisory
- https://github.com/pwndoc/pwndoc/security/advisoriesBroken Link
- https://www.dgc.org/responsible_disclosure_pwndoc_jwtExploitThird Party Advisory
- https://github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CPatchRelease NotesThird Party Advisory
- https://github.com/pwndoc/pwndoc/commit/15f3dc0e212eda465e05fda0feb002d1bce2939dPatchThird Party Advisory
- https://github.com/pwndoc/pwndoc/commit/ff1b868cec55f5b6c7a91e15a2b0b1f4324121abPatchThird Party Advisory
- https://github.com/pwndoc/pwndoc/pull/128PatchThird Party Advisory
- https://github.com/pwndoc/pwndoc/pull/74PatchThird Party Advisory
- https://github.com/pwndoc/pwndoc/security/advisoriesBroken Link
- https://www.dgc.org/responsible_disclosure_pwndoc_jwtExploitThird Party Advisory
FAQ
What is CVE-2021-31590?
CVE-2021-31590 is a vulnerability with a CVSS score of 8.8 (HIGH). PwnDoc all versions until 0.4.0 (2021-08-23) has incorrect JSON Webtoken handling, leading to incorrect access control. With a valid JSON Webtoken that is used for authentication and authorization, a ...
How severe is CVE-2021-31590?
CVE-2021-31590 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-31590?
Check the references section above for vendor advisories and patch information. Affected products include: Pwndoc Project Pwndoc.