CVE-2021-31590
Summary
| CVE | CVE-2021-31590 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-07-19 20:15:00 UTC |
| Updated | 2022-07-12 17:42:00 UTC |
| 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. |
Risk And Classification
Problem Types: NVD-CWE-Other
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Pwndoc Project | Pwndoc | All | All | All | All |
| Application | Pwndoc Project | Pwndoc | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.