Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Mailing Lists RSS Blog New entry Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)
  - NEW -

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


AWStats "configdir" Arbitrary Configuration File Loading Advisory Available in Danish 

Secunia Advisory: SA20164  
Release Date: 2006-05-26
Last Update: 2006-06-07

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

Software:AWStats 6.x

CVE reference:CVE-2006-2644 (Secunia mirror)

This advisory is currently marked as unpatched!
- Companies can be alerted when a patch is released!


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



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.

4 Related Secunia Security Advisories

1. AWStats "migrate" Shell Command Injection Vulnerability
2. AWStats Cross-Site Scripting and Full Path Disclosure
3. AWStats Multiple Vulnerabilities
4. AWStats "configdir" Parameter Arbitrary Command Execution


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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Debian OpenSSL Predictable Random Number Generator and Update
2.
Microsoft Malware Protection Engine File Parsing Denial of Service
3.
Ubuntu update for openssl
4.
Microsoft Windows XP I2O Utility Filter Driver Privilege Escalation
5.
Build A Niche Store "q" Cross-Site Scripting
6.
ZyXEL ZyWALL 100 "Referer" Cross-Site Scripting Vulnerability
7.
Microsoft Word Two Code Execution Vulnerabilities
8.
Novell Client Login Long Username/Contex t Buffer Overflow
9.
cPanel Cross-Site Scripting and Request Forgery Vulnerabilities
10.
Microsoft Publisher Object Handler Validation Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia