Design Issues on ( ███ ) Lead to show ( IPS of Users )
An exposed AWStats statistics interface on a subdomain allowed anyone to view visitor statistics, including the IP addresses of users. The reporter also showed that the config parameter could be pointed at local files, suggesting a path traversal issue.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in under an hour
- Disclosed after under an hour
Hello , I know this Domain is maybe out of scope But it Connected to the main Website I have see it Cashable the Download IPS for Users Status. As I saw that You active statics ( awstats ) That show me Full access to Status on the website .
** POC **
https://███████/cgi-bin/awstats.pl?month=all&year=2017&config=██████&framename=mainright&output=unknownip
https://████████/cgi-bin/awstats.pl?output=alldomains&config=/../../../../../../../../../../proc/version&framename=index
███ 18 27 100.26 MB 14 Feb 2017 - 23:55 █████████ 18 26 208.19 MB 27 Mar 2017 - 10:26 █████████ 18 19 644.44 MB 22 Feb 2017 - 10:36 ████████ 18 22 815.18 MB 21 Mar 2017 - 13:20 ███████ 18 27 99.94 MB 23 Mar 2017 - 13:06 █████████ 18 36 306.92 MB 01 Mar 2017 - 18:28 ███ 18 77 1.05 GB 23 Mar 2017 - 09:27 █████ 18 30 720.85 KB 01 Feb 2017 - 00:46 █████████ 18 24 87.02 MB 22 Mar 2017 - 09:56
** Fix for Awstats **
Restrict (or password protect) the access to directory or make it accessible only on the local interface.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the AWStats CGI interface was publicly accessible without authentication, and its config parameter was not restricted to the intended configuration directory.
Impact
Anyone could read visitor statistics and the IP addresses of users, and the traversal attempt suggests local files could potentially be read.
What the attacker needed
No authentication required; AWStats reachable on a public subdomain
How it was found
- Open the AWStats page on the subdomain with the month and year set to all.
- Add the unknownip output option to list visitor IP addresses.
- Change the config parameter to a relative path pointing at a system file to test traversal.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
AWStats is a tool that summarises who visited a website. It was left reachable on the public internet, so anyone could open its pages and read the visitor logs, which include the IP addresses of people who visited. The reporter also showed that a parameter meant to name a config file could be aimed at files elsewhere on the server.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.