Netquery "host" Parameter Arbitrary Command Execution
Secunia Advisory: SA16523
Release Date: 2005-08-23
Last Update: 2006-11-14
Popularity: 4,634 views

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

Software:Netquery 3.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-2684
CVE-2006-5661


Description:
rgod has discovered a vulnerability in Netquery, which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the "host" parameter in nquser.php is not properly sanitised before being used as command line argument to the "dig" command. This can be exploited to inject arbitrary shell commands via the "|" character.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

The vulnerability has been confirmed in version 3.11. Other versions may also be affected.

Solution:
Update to version 3.2.
http://virtech.org/tools/index.html

Provided and/or discovered by:
rgod

Changelog:
2005-08-25: Added CVE reference.
2006-01-10: Fixed version released by vendor. Updated "Solution Status" and "Solution" sections.
2006-11-14: Added CVE reference.


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. Opera Multiple Vulnerabilities // 43 views
2. Microsoft Word Malformed Object Pointer Vulnerability // 40 views
3. Apple QuickTime Multiple Vulnerabilities // 39 views
4. Zeroboard Two Vulnerabilities // 37 views
5. Adobe Flash Player Multiple Vulnerabilities // 37 views
6. Subdreamer Light Global Variables SQL Injection Vulnerability // 35 views
7. Internet Explorer DHTML Edit ActiveX Control Cross-Site Scripting // 34 views
8. Zeroboard Multiple Script Insertion Vulnerabilities // 31 views
9. Cisco ASA and PIX Security Appliances Multiple Vulnerabilities // 28 views
10. phpBB "cur_password" Cross-Site Scripting Vulnerability // 27 views