Unrated severityNVD Advisory· Published Jul 19, 2021· Updated Aug 3, 2024
CVE-2021-31590
CVE-2021-31590
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2- PwnDoc/PwnDocdescription
- Range: <0.4.0
Patches
Vulnerability mechanics
References
7- github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CHANGELOG.mdmitrex_refsource_MISC
- github.com/pwndoc/pwndoc/commit/15f3dc0e212eda465e05fda0feb002d1bce2939dmitrex_refsource_MISC
- github.com/pwndoc/pwndoc/commit/ff1b868cec55f5b6c7a91e15a2b0b1f4324121abmitrex_refsource_MISC
- github.com/pwndoc/pwndoc/pull/128mitrex_refsource_MISC
- github.com/pwndoc/pwndoc/pull/74mitrex_refsource_MISC
- github.com/pwndoc/pwndoc/security/advisoriesmitrex_refsource_MISC
- www.dgc.org/responsible_disclosure_pwndoc_jwtmitrex_refsource_MISC
News mentions
0No linked articles in our index yet.