Vulnerability in Pwndoc Project
CVE-2021-31590
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.027 · 85.9th percentile
- Published
- 2021-07-19
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.027, 85.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
References
- github.com/pwndoc/pwndoc/security/advisories (Broken Link)
- github.com/pwndoc/pwndoc/pull/128 (Patch, Third Party Advisory)
- github.com/pwndoc/pwndoc/pull/74 (Patch, Third Party Advisory)
- www.dgc.org/responsible_disclosure_pwndoc_jwt (Exploit, Third Party Advisory)
- github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CHANGELO… (Patch, Third Party Advisory, Release Notes)
- github.com/pwndoc/pwndoc/commit/15f3dc0e212eda465e05fda0feb002d1bce2939d (Patch, Third Party Advisory)
- github.com/pwndoc/pwndoc/commit/ff1b868cec55f5b6c7a91e15a2b0b1f4324121ab (Patch, Third Party Advisory)