J-Security Center

Title: Drummon Miles A1Stats Directory Traversal Vulnerability

Severity: HIGH

Description:

A1Stats is a CGI product by Drummon Miles used to report on a website's visitor traffic.

Versions of this product fail to properly validate user-supplied input submitted as querystrings to the A1Stats script.

An attacker can compose a long path including '/../' sequences, and submit it as a file request. The server will not filter 'dot-dot' sequences from the path, permitting the attacker to specify files outside the directory tree normally available to users.

This can permit disclosure of confidential data and sensitive system files which, if properly exploited, could lead to further compromises of the host's security.

Additionally, by appending a properly formatted echo command argumented by a filename writable by the webserver, this flaw allows the attacker to overwrite this file with A1Stats' output.

Affected Products:

  • Drummond Miles A1Stats 1.0.0

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.