Secunia Logo  
 
V-webmail "CONFIG[pear_dir]" File Inclusion Vulnerability
Secunia Advisory: SA20297
Release Date: 2006-05-26
Last Update: 2006-06-07
Popularity: 7,390 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Unpatched

Software:V-webmail 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2665
CVE-2006-2666


Description:
beford has discovered a vulnerability in V-webmail, which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the "CONFIG[pear_dir]" parameter in "includes/mailaccess/pop3.php" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from external and local resources.

Successful exploitation requires that "register_globals" is enabled and that the "includes" directory is placed accessible inside the web root (the installation instructions recommends to place the "includes" directory outside the web root if possible)

NOTE: In version 1.3 then the affected script is reportedly named "includes/mailaccess/pop3/core.php".

The vulnerability has been confirmed in version 1.6.4, and has also been reported in versions 1.3 and 1.5.

Solution:
Ensure that only the "htdocs" directory is accessible inside the web root.

Provided and/or discovered by:
beford

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

Original Advisory:
http://milw0rm.com/exploits/1827


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. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 60 views
2. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 55 views
3. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 29 views
4. Symantec Mail Security for SMTP Response Handling Denial of Service // 25 views
5. Red Hat update for openssl // 24 views
6. Internet Explorer Data Binding Memory Corruption Vulnerability // 22 views
7. HP OpenView Network Node Manager Multiple Vulnerabilities // 21 views
8. BlogHelper "common_db.inc" Information Disclosure Security Issue // 20 views
9. Red Hat update for dbus // 19 views
10. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 18 views