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

38 lines
1.1 KiB
YAML

id: CVE-2019-6802
info:
name: Pypiserver <1.2.5 - Carriage Return Line Feed Injection
author: 0x_Akoko
severity: medium
description: |
Pypiserver through 1.2.5 and below is susceptible to carriage return line feed injection. An attacker can set arbitrary HTTP headers and possibly conduct cross-site scripting attacks via a %0d%0a in a URI.
reference:
- https://vuldb.com/?id.130257
- https://github.com/pypiserver/pypiserver/issues/237
- https://nvd.nist.gov/vuln/detail/CVE-2019-6802
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-6802
cwe-id: CWE-74
epss-score: 0.00113
cpe: cpe:2.3:a:python:pypiserver:*:*:*:*:*:*:*:*
metadata:
max-request: 1
shodan-query: html:"pypiserver"
verified: true
vendor: python
product: pypiserver
tags: cve,cve2019,crlf,generic,pypiserver
http:
- method: GET
path:
- "{{BaseURL}}/%0d%0aSet-Cookie:crlfinjection=1;"
matchers:
- type: word
part: header
words:
- 'Set-Cookie: crlfinjection=1;'