Files
CVEs-PoC/2020/CVE-2020-15149.md
T
2024-05-25 21:48:12 +02:00

19 lines
1.2 KiB
Markdown

### [CVE-2020-15149](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15149)
![](https://img.shields.io/static/v1?label=Product&message=NodeBB&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=%7B%22CWE-269%22%3A%22Improper%20Privilege%20Management%22%7D&color=brighgreen)
### Description
NodeBB before version 1.14.3 has a bug introduced in version 1.12.2 in the validation logic that makes it possible to change the password of any user on a running NodeBB forum by sending a specially crafted socket.io call to the server. This could lead to a privilege escalation event due via an account takeover. As a workaround you may cherry-pick the following commit from the project's repository to your running instance of NodeBB: 16cee1b03ba3eee177834a1fdac4aa8a12b39d2a. This is fixed in version 1.14.3.
### POC
#### Reference
- http://packetstormsecurity.com/files/159560/NodeBB-Forum-1.14.2-Account-Takeover.html
- https://zeroauth.ltd/blog/2020/08/20/proof-of-concept-exploit-for-cve-2020-15149-nodebb-arbitrary-user-password-change/
#### Github
- https://github.com/ARPSyndicate/cvemon