CVE-2021-31590

Summary

CVECVE-2021-31590
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-07-19 20:15:00 UTC
Updated2022-07-12 17:42:00 UTC
DescriptionPwnDoc 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.

Risk And Classification

Problem Types: NVD-CWE-Other

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Pwndoc Project Pwndoc All All All All
Application Pwndoc Project Pwndoc All All All All

References

ReferenceSourceLinkTags
Security Advisories · pwndoc/pwndoc · GitHub MISC github.com
pwndoc/CHANGELOG.md at 59519735b0d831d8fd96d7c3387f66d28407e583 · pwndoc/pwndoc · GitHub MISC github.com
Update JWT generation · pwndoc/pwndoc@15f3dc0 · GitHub MISC github.com
Applied fix for CVE-2021-31590 by Lednerb · Pull Request #128 · pwndoc/pwndoc · GitHub MISC github.com
Update Session management using refresh token · pwndoc/pwndoc@ff1b868 · GitHub MISC github.com
DGC | Deutsche Gesellschaft für Cybersicherheit | PwnDoc - Incorrect Access Control Vulnerability MISC www.dgc.org
Security Update: Change JWT Secret and TLS Certificate automatically on build by Lednerb · Pull Request #74 · pwndoc/pwndoc · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report