cve/2022/CVE-2022-0952.md

23 lines
1.2 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-0952](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0952)
![](https://img.shields.io/static/v1?label=Product&message=Sitemap%20by%20click5&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%201.0.36%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-352%20Cross-Site%20Request%20Forgery%20(CSRF)&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-862%20Missing%20Authorization&color=brighgreen)
### Description
The Sitemap by click5 WordPress plugin before 1.0.36 does not have authorisation and CSRF checks when updating options via a REST endpoint, and does not ensure that the option to be updated belongs to the plugin. As a result, unauthenticated attackers could change arbitrary blog options, such as the users_can_register and default_role, allowing them to create a new admin account and take over the blog.
### POC
#### Reference
- https://wpscan.com/vulnerability/0f694961-afab-44f9-846c-e80a0f6c768b
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/RandomRobbieBF/CVE-2022-0952
- https://github.com/cyllective/CVEs
- https://github.com/nomi-sec/PoC-in-GitHub