CVE-2021-31590

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-31590
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-31590.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-31590
Published
2021-07-19T20:15:08Z
Modified
2025-01-08T10:42:21.320999Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/pwndoc/pwndoc

Affected ranges

Type
GIT
Repo
https://github.com/pwndoc/pwndoc
Events

Affected versions

v0.*

v0.1.0
v0.2.0
v0.3.0