← Back to CVEs
CVE-2021-31590
HIGH8.8
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.
CVE Details
CVSS v3.1 Score8.8
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published7/19/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
pwndoc_project:pwndoc
References
https://github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CHANGELOG.md#040-2021-08-23(cve@mitre.org)
https://github.com/pwndoc/pwndoc/pull/128(cve@mitre.org)
https://github.com/pwndoc/pwndoc/pull/74(cve@mitre.org)
https://github.com/pwndoc/pwndoc/security/advisories(cve@mitre.org)
https://www.dgc.org/responsible_disclosure_pwndoc_jwt(cve@mitre.org)
https://github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CHANGELOG.md#040-2021-08-23(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/pwndoc/pwndoc/commit/15f3dc0e212eda465e05fda0feb002d1bce2939d(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/pwndoc/pwndoc/commit/ff1b868cec55f5b6c7a91e15a2b0b1f4324121ab(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/pwndoc/pwndoc/pull/128(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/pwndoc/pwndoc/pull/74(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/pwndoc/pwndoc/security/advisories(af854a3a-2127-422b-91ae-364da2661108)
https://www.dgc.org/responsible_disclosure_pwndoc_jwt(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.