J-Security Center

Title: Network Query Tool Remote Command Execution Vulnerability

Severity: HIGH

Description:

Network Query Tool is a PHP tool allowing the user to collect a variety of information about a given domain or IP address, such as DNS lookup and traceroute. An input validation error in the script allows a remote user to pass an arbitrary shell command which will be executed by the script.

The script nqt.php accepts a parameter called 'target'. The value of this variable is passed directly to the shell. It is possible to embed shell commands in this variable that will be executed when the command is executed.

It may be possible for remote attackers to gain interactive access to the host by exploiting this vulnerability. It is significantly easier to gain superuser privileges if interactive (or 'local') access can be obtained.

Affected Products:

  • shaun@shat.net Network Query Tool 1.0.0
  • shaun@shat.net Network Query Tool adapted for PHPNuke 1.0.0

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.