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

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


ADOdb Insecure Test Scripts Security Issues Advisory Available in Danish 

Secunia Advisory: SA17418  
Release Date: 2006-01-09
Last Update: 2006-04-10

Critical:
Less critical
Impact: Security Bypass
Exposure of system information
System access
Where: From remote
Solution Status: Vendor Patch

Software:ADOdb 4.x

CVE reference:CVE-2006-0146 (Secunia mirror)
CVE-2006-0147 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


Description:
Secunia Research has discovered two security issues in ADOdb, which can be exploited by malicious people to disclose system information, execute arbitrary SQL code, and potentially compromise a vulnerable system.

1) The problem is caused due to the presence of the insecure "server.php" test script. This can be exploited to execute arbitrary SQL code with full MySQL database privileges via the "sql" parameter.

Example:
http://[victim]/server.php?sql=SELECT '[content]' INTO OUTFILE '[file]'

This can further be exploited to create an arbitrary PHP script in a directory inside the web root writable by the MySQL user.

Successful exploitation requires that the MySQL password for the root user is empty and that the affected script is placed accessible inside the web root.

2) The problem is caused due to the presence of the insecure "tests/tmssql.php" test script. This can be exploited to call an arbitrary PHP function via the "do" parameter.

Example:
http://[victim]/tests/tmssql.php?do=phpinfo

Successful exploitation requires that the affected script is placed accessible inside the web root.

The security issues have been confirmed in versions 4.66 and 4.68 for PHP. Other versions may also be affected.

Solution:
Update to version 4.70 for PHP.
http://sourceforge.net/project/showfiles.php?group_id=42718

Provided and/or discovered by:
Andreas Sandblad, Secunia Research

Changelog:
2006-04-10: Added CVE references.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2005-64/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.

2 Related Secunia Security Advisories

1. ADOdb Cross-Site Scripting Vulnerabilities
2. ADOdb PostgreSQL SQL Injection Vulnerability


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.
Novell eDirectory Multiple Vulnerabilities
2.
dotProject SQL Injection and Cross-Site Scripting
3.
phpBB BBcode Script Insertion Vulnerability
4.
geo-* Insecure Temporary Files
5.
phpJobScheduler "installed_conf ig_file" File Inclusion Vulnerabilities
6.
Blogn Cross-Site Scripting and Cross-Site Request Forgery
7.
HP TCP/IP Services for OpenVMS Finger Format String Vulnerability
8.
GpsDrive "geo-code" Insecure Temporary Files
9.
Adium MSN SLP Message Integer Overflow Vulnerabilities
10.
Acoustica Mixcraft ".mx4" File Processing Buffer Overflow





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