Secunia Logo
 
AWStats "configdir" Arbitrary Configuration File Loading
Secunia Advisory: SA20164
Release Date: 2006-05-26
Last Update: 2006-06-07
Popularity: 8,452 views

Critical:
Less critical
Impact: Security Bypass
System access
Where: From remote
Solution Status: Unpatched

Software:AWStats 6.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2644


Description:
Hendrik Weimer has discovered a security issue in AWStats, which can be exploited by malicious people to bypass certain security restrictions.

Input passed to the "configdir" parameter in awstats.pl isn't properly verified, before it is used to load configuration files. This can be exploited to load a configuration file with an arbitrary filename from an arbitrary directory by setting the "configdir" and "config" parameters.

This can further be exploited to inject and execute arbitrary shell commands via the "LogFile" configuration directive and the "|" pipe character.

The loading of an arbitrary configuration file in itself is not a vulnerability and should not pose any direct risk to the system. However, combined with other third-party applications, which allow files to be uploaded to the system by untrusted users, this can be exploited to compromise a vulnerable system.

The problem has been confirmed in version 6.5. Other versions may also be affected.

Solution:
Do not allow untrusted users to upload files to affected systems.

Provided and/or discovered by:
Hendrik Weimer

Changelog:
2006-06-07: Added CVE reference.

Original Advisory:
http://www.debian.org/security/2006/dsa-1075


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Microsoft Office Communications Server SIP INVITE Denial of Service // 146 views
2. Bluo CMS "id" SQL Injection Vulnerability // 86 views
3. Basic PHP CMS "id" SQL Injection Vulnerability // 80 views
4. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 73 views
5. Zeroboard Multiple Vulnerabilities // 66 views
6. Lito Lite CMS "cid" SQL Injection Vulnerability // 65 views
7. BlackBerry Desktop Software FlexNET Connect ActiveX Control Vulnerability // 60 views
8. Active eWebquiz "useremail" and "password" SQL Injection Vulnerabilities // 59 views
9. Minimal Ablog Multiple Vulnerabilities // 48 views
10. Active Newsletter "email" and "password" SQL Injection Vulnerabilities // 46 views