{ "schema_version": "1.4.0", "id": "GHSA-w9w2-pj3m-5v3r", "modified": "2022-07-13T00:01:24Z", "published": "2022-05-24T19:08:25Z", "aliases": [ "CVE-2021-31590" ], "details": "PwnDoc through 2021-04-22 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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31590" }, { "type": "WEB", "url": "https://github.com/pwndoc/pwndoc/pull/128" }, { "type": "WEB", "url": "https://github.com/pwndoc/pwndoc/pull/74" }, { "type": "WEB", "url": "https://github.com/pwndoc/pwndoc/commit/15f3dc0e212eda465e05fda0feb002d1bce2939d" }, { "type": "WEB", "url": "https://github.com/pwndoc/pwndoc/commit/ff1b868cec55f5b6c7a91e15a2b0b1f4324121ab" }, { "type": "WEB", "url": "https://github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CHANGELOG.md#040-2021-08-23" }, { "type": "WEB", "url": "https://github.com/pwndoc/pwndoc/security/advisories" }, { "type": "WEB", "url": "https://www.dgc.org/responsible_disclosure_pwndoc_jwt" } ], "database_specific": { "cwe_ids": [ "CWE-863" ], "severity": "HIGH", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2021-07-19T20:15:00Z" } }