2022-12-05 23:32:40 +00:00
id : CVE-2019-6802
info :
2023-04-03 20:26:07 +00:00
name : Pypiserver <1.2.5 - Carriage Return Line Feed Injection
2022-12-05 23:32:40 +00:00
author : 0x_Akoko
severity : medium
2022-12-06 09:22:05 +00:00
description : |
2023-04-03 20:26:07 +00:00
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.
2023-09-06 12:53:28 +00:00
remediation : |
Upgrade to Pypiserver version 1.2.5 or later.
2022-12-05 23:32:40 +00:00
reference :
- https://vuldb.com/?id.130257
2022-12-08 09:40:41 +00:00
- https://github.com/pypiserver/pypiserver/issues/237
2023-04-03 20:26:07 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2019-6802
2022-12-05 23:32:40 +00:00
classification :
2022-12-08 09:40:41 +00:00
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
2022-12-05 23:32:40 +00:00
cve-id : CVE-2019-6802
2023-07-11 19:49:27 +00:00
cwe-id : CWE-74
epss-score : 0.00113
2023-08-31 11:46:18 +00:00
epss-percentile : 0.44064
2023-09-06 12:53:28 +00:00
cpe : cpe:2.3:a:python:pypiserver:*:*:*:*:*:*:*:*
2022-12-06 09:22:05 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:53:28 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : python
product : pypiserver
2023-09-06 12:53:28 +00:00
shodan-query : html:"pypiserver"
2023-08-18 16:23:19 +00:00
tags : cve,cve2019,crlf,pypiserver
2022-12-05 23:32:40 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-12-05 23:32:40 +00:00
- method : GET
path :
- "{{BaseURL}}/%0d%0aSet-Cookie:crlfinjection=1;"
2022-12-06 06:25:31 +00:00
2022-12-05 23:32:40 +00:00
matchers :
2023-09-29 08:16:22 +00:00
- type : regex
2022-12-05 23:32:40 +00:00
part : header
2023-09-29 08:54:46 +00:00
regex :
- "^Set-Cookie: crlfinjection=1;"