CVE-2009-5020: AWStats < 6.95 - Open Redirect
- Template: CVE-2009-5020
- Name: AWStats < 6.95 - Open Redirect
- Description: An open redirect vulnerability in awredir.pl in AWStats < 6.95 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via unspecified vectors.
- Impact: Allows attackers to redirect users to malicious websites or phishing pages.
- Remediation: Apply all relevant security patches and product upgrades.
- Severity: medium
- Authors: pdteam
- Tags: cve2009, cve, redirect, awstats, vuln
- References: https://nvd.nist.gov/vuln/detail/CVE-2009-5020, http://awstats.sourceforge.net/docs/awstats_changelog.txt, https://github.com/ARPSyndicate/kenzer-templates
- Cves: CVE-2009-5020
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2009/CVE-2009-5020.yaml
- Digest: 4a0a00473045022100fc2d2dee06386f056b270d0ab7f7b7613c44e2859d54ecf64e51080f17ba25fd02206e3708d7908ad699af1a766cc251f9d1dd2ca1a6f29edf315e961a382118b0b6
- Created at: 2022-01-21T11:07:41Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1768
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2009/CVE-2009-5020.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-20
- Cvss score: 5.8
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:P
- Epss score: 0.03488
- Epss percentile: 0.89428
- Cpe: cpe:2.3:a:awstats:awstats:*:*:*:*:*:*:*:*
Metadata
- Max-request: 2
- Product: awstats
- Shodan-query: cpe:"cpe:2.3:a:laurent_destailleur:awstats"
- Vendor: awstats
Products
| Product | Indexed | Url |
|---|---|---|
| awstats:awstats | yes | /v1/products/awstats/awstats |
Labels
- Name: AWStats - Open Redirect
- Impact: Attackers can redirect users to malicious sites, facilitating phishing and social engineering attacks.
- Remediation: Update to the latest version of AWStats, version 6.95 or later.
- Vulnerability type: open_redirect
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2009-5020
- Checked, none or zero: vulnerability impact
- Not known: requirements
```yaml
id: CVE-2009-5020
info:
name: AWStats < 6.95 - Open Redirect
author: pdteam
severity: medium
description: An open redirect vulnerability in awredir.pl in AWStats < 6.95 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via unspecified vectors.
impact: |
Allows attackers to redirect users to malicious websites or phishing pages.
remediation: Apply all relevant security patches and product upgrades.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2009-5020
- http://awstats.sourceforge.net/docs/awstats_changelog.txt
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:P
cvss-score: 5.8
cve-id: CVE-2009-5020
cwe-id: CWE-20
epss-score: 0.03488
epss-percentile: 0.89428
cpe: cpe:2.3:a:awstats:awstats:*:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: awstats
product: awstats
shodan-query: cpe:"cpe:2.3:a:laurent_destailleur:awstats"
tags: cve2009,cve,redirect,awstats,vuln
http:
- method: GET
path:
- '{{BaseURL}}/awstats/awredir.pl?url=interact.sh'
- '{{BaseURL}}/cgi-bin/awstats/awredir.pl?url=interact.sh'
stop-at-first-match: true
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1
digest: 4a0a00473045022100fc2d2dee06386f056b270d0ab7f7b7613c44e2859d54ecf64e51080f17ba25fd02206e3708d7908ad699af1a766cc251f9d1dd2ca1a6f29edf315e961a382118b0b6:922c64590222798bb761d5b6d8e72950
```