CVE-2021-31590

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:pwndoc_project:pwndoc:*:*:*:*:*:*:*:*

History

12 Jul 2022, 17:42

Type Values Removed Values Added
CWE CWE-863 NVD-CWE-Other

03 Dec 2021, 13:52

Type Values Removed Values Added
References (MISC) https://github.com/pwndoc/pwndoc/commit/ff1b868cec55f5b6c7a91e15a2b0b1f4324121ab - (MISC) https://github.com/pwndoc/pwndoc/commit/ff1b868cec55f5b6c7a91e15a2b0b1f4324121ab - Patch, Third Party Advisory
References (MISC) https://www.dgc.org/responsible_disclosure_pwndoc_jwt - (MISC) https://www.dgc.org/responsible_disclosure_pwndoc_jwt - Exploit, Third Party Advisory
References (MISC) https://github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CHANGELOG.md#040-2021-08-23 - (MISC) https://github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CHANGELOG.md#040-2021-08-23 - Patch, Release Notes, Third Party Advisory
References (MISC) https://github.com/pwndoc/pwndoc/commit/15f3dc0e212eda465e05fda0feb002d1bce2939d - (MISC) https://github.com/pwndoc/pwndoc/commit/15f3dc0e212eda465e05fda0feb002d1bce2939d - Patch, Third Party Advisory

13 Sep 2021, 15:15

Type Values Removed Values Added
Summary 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. 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
  • (MISC) https://github.com/pwndoc/pwndoc/commit/ff1b868cec55f5b6c7a91e15a2b0b1f4324121ab -
  • (MISC) https://github.com/pwndoc/pwndoc/commit/15f3dc0e212eda465e05fda0feb002d1bce2939d -
  • (MISC) https://www.dgc.org/responsible_disclosure_pwndoc_jwt -
  • (MISC) https://github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CHANGELOG.md#040-2021-08-23 -

29 Jul 2021, 15:59

Type Values Removed Values Added
References (MISC) https://github.com/pwndoc/pwndoc/pull/128 - (MISC) https://github.com/pwndoc/pwndoc/pull/128 - Patch, Third Party Advisory
References (MISC) https://github.com/pwndoc/pwndoc/security/advisories - (MISC) https://github.com/pwndoc/pwndoc/security/advisories - Broken Link
References (MISC) https://github.com/pwndoc/pwndoc/pull/74 - (MISC) https://github.com/pwndoc/pwndoc/pull/74 - Patch, Third Party Advisory
CWE CWE-863
CPE cpe:2.3:a:pwndoc_project:pwndoc:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 9.0
v3 : 8.8

19 Jul 2021, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-07-19 20:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-31590

Mitre link : CVE-2021-31590

CVE.ORG link : CVE-2021-31590


JSON object : View

Products Affected

pwndoc_project

  • pwndoc