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.
References
Link | Resource |
---|---|
https://github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CHANGELOG.md#040-2021-08-23 | Patch Release Notes Third Party Advisory |
https://github.com/pwndoc/pwndoc/commit/15f3dc0e212eda465e05fda0feb002d1bce2939d | Patch Third Party Advisory |
https://github.com/pwndoc/pwndoc/commit/ff1b868cec55f5b6c7a91e15a2b0b1f4324121ab | Patch Third Party Advisory |
https://github.com/pwndoc/pwndoc/pull/128 | Patch Third Party Advisory |
https://github.com/pwndoc/pwndoc/pull/74 | Patch Third Party Advisory |
https://github.com/pwndoc/pwndoc/security/advisories | Broken Link |
https://www.dgc.org/responsible_disclosure_pwndoc_jwt | Exploit Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2021-07-19T19:45:41
Updated: 2021-09-13T14:54:31
Reserved: 2021-04-22T00:00:00
Link: CVE-2021-31590
JSON object: View
NVD Information
Status : Analyzed
Published: 2021-07-19T20:15:08.660
Modified: 2022-07-12T17:42:04.277
Link: CVE-2021-31590
JSON object: View
Redhat Information
No data.
CWE