Skip to content
Info disclosure Disclosed report Beginner

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.

m7mdharoun Follow

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.

The original report as published on HackerOne, by m7mdharoun. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Open the AWStats page on the subdomain with the month and year set to all.
  2. Add the unknownip output option to list visitor IP addresses.
  3. 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.

More by m7mdharoun

View all

9 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.