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.
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.
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 firstname.lastname@example.org
Subject: ADOdb Insecure Test Scripts Security Issues
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.