Vulnerability · Published Jul 19, 2021 · Assigned by mitre
CVE-2021-31590
High 8.8
In plain English
A high-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities).
Severity (CVSS NVD)8.8High
Exploit odds (30 days)2.7%top 14.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
References
- https://github.com/pwndoc/pwndoc/security/advisories x_refsource_MISC
- https://github.com/pwndoc/pwndoc/pull/128 x_refsource_MISC
- https://github.com/pwndoc/pwndoc/pull/74 x_refsource_MISC
- https://www.dgc.org/responsible_disclosure_pwndoc_jwt x_refsource_MISC
- https://github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CHANGELOG.md#040-2021-08-23 x_refsource_MISC
- https://github.com/pwndoc/pwndoc/commit/15f3dc0e212eda465e05fda0feb002d1bce2939d x_refsource_MISC
- https://github.com/pwndoc/pwndoc/commit/ff1b868cec55f5b6c7a91e15a2b0b1f4324121ab x_refsource_MISC