Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Less critical

ADOdb Insecure Test Scripts Security Issues

-

Release Date:  2006-01-09    Last Update:  2006-04-10    Views:  16,906

Secunia Advisory SA17418

Where:

From remote

Impact:

Security Bypass, Exposure of system information, System access

Solution Status:

Vendor Patch

Software:

CVE Reference(s):

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.

Further details available to Secunia VIM customers

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

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2005-64/advisory/

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: ADOdb Insecure Test Scripts Security Issues

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability