Secunia Logo  
 
SQuery "libpath" Multiple File Inclusion Vulnerabilities
Secunia Advisory: SA19482
Release Date: 2006-04-03
Last Update: 2006-04-13
Popularity: 6,958 views

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

Software:SQuery 4.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-1610
CVE-2006-1688


Description:
uid0 has discovered some vulnerabilities in SQuery, which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the "libpath" parameter in multiple files in "lib/" is not properly verfied before being used to include files. This can be exploited to execute arbitrary PHP code by including PHP scripts from external or local resources.

The following files in "lib/" are affected:
armygame.php
ase.php
devi.php
doom3.php
et.php
flashpoint.php
gameSpy.php
gameSpy2.php
gore.php
gsvari.php
halo.php
hlife.php
hlife2.php
igi2.php
main.lib.php
netpanzer.php
old_hlife.php
pkill.php
q2a.php
q3a.php
qworld.php
rene.php
rvbshld.php
savage.php
simracer.php
sof1.php
sof2.php
unreal.php
ut2004.php
vietcong.php

Successful exploitation requires that "register_globals" is enabled.

The vulnerabilities have been confirmed in version 4.5. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly verfied.

Provided and/or discovered by:
uid0

Changelog:
2006-04-06: Added CVE reference.
2006-04-13: Added CVE reference.

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


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. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 62 views
2. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 58 views
3. Red Hat update for openssl // 38 views
4. HP OpenView Network Node Manager Multiple Vulnerabilities // 36 views
5. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 35 views
6. Symantec Mail Security for SMTP Response Handling Denial of Service // 35 views
7. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 35 views
8. ComponentOne SizerOne CTab ActiveX Control Caption List Buffer Overflow // 32 views
9. Red Hat update for dbus // 31 views
10. BlogHelper "common_db.inc" Information Disclosure Security Issue // 31 views