Loading

Netsparker, Web Application Security Scanner

XSS, Cross Site Scripting, Javascript Injection, hosting.elihosting.net, CWE-79, CAPEC-86

Netsparker - Scan Report Summary
TARGET URL
http://hosting.elihosting.net/OS4/
SCAN DATE
3/4/2011 12:38:43 PM
REPORT DATE
3/4/2011 12:46:52 PM
SCAN DURATION
00:00:38

Total Requests

Average Speed

req/sec.
14
identified
8
confirmed
0
critical
1
informational

GHDB, DORK Tests

GHDB, DORK Tests
PROFILE
Previous Settings
ENABLED ENGINES
Cross-site Scripting
Authentication
Scheduled

VULNERABILITIES

Vulnerabilities
Netsparker - Web Application Security Scanner
IMPORTANT
36 %
MEDIUM
14 %
LOW
43 %
INFORMATION
7 %
Cross-site Scripting

Cross-site Scripting

4 TOTAL
IMPORTANT
CONFIRMED
4
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.

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

- /OS4/index.php

/OS4/index.php CONFIRMED

http://hosting.elihosting.net/OS4/index.php

Parameters

Parameter Type Value
option POST '"--></style></script><script>alert(0x000013)</script>
ActivePage POST Login
EULA_ID POST invalid
user POST 3
pass POST 3
login POST Login

Request

POST /OS4/index.php HTTP/1.1
Referer: http://hosting.elihosting.net/OS4/index.php
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: hosting.elihosting.net
Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885
Content-Length: 151
Accept-Encoding: gzip, deflate

option='%22--%3e%3c%2fstyle%3e%3c%2fscript%3e%3cscript%3enetsparker(0x000013)%3c%2fscript%3e&ActivePage=Login&EULA_ID=invalid&user=3&pass=3&login=Login

Response

HTTP/1.1 200 OK
Date: Fri, 04 Mar 2011 18:38:34 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
X-Powered-By: PHP/5.2.13
P3P: CP="NOI DSP COR CURa ADMa DEVa OUR IND COM NAV PRE"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML DIR="LTR" LANG="en"><HEAD><STYLE TYPE="text/css"><!--TD { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000;}INPUT { font-size: 11px; font-family: courier new,courier,monospace;}SELECT { font-size: 11px; font-family: courier new,courier,monospace;}TEXTAREA { font-size: 11px; font-family: courier new,courier,monospace;}A.tablnk { text-decoration: none; font: 11px ms sans serif,geneva,arial,helvetica; color: #0000FF;} A.winlnk { color: blue; text-decoration: none;}A.winlnk:hover { color: blue; text-decoration: underline;}.Desktop { font: 11px verdana, trebuchet ms, arial, helvetica; color: #000000;}.DisabledText { color: #575757;}.BevelPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px ridge #606060;}.InsetPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px groove #606060;}.AltPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000; background-color: #B0B0CC; border: 1px solid #505050;}--></STYLE><TITLE>WebsiteOS 4.1 Login</TITLE><SCRIPT LANGUAGE="JAVASCRIPT" SRC="/OS4/index.php/Util/Javascript?app=Login&ver=current&js=Login.js"></SCRIPT></HEAD><BODY BGPROPERTIES="fixed" BACKGROUND="" BGCOLOR="#ffffff" TEXT="#000000" LINK="#000000" ALINK="#000000" VLINK="#000000" ONLOAD="if (top.location != self.location) top.location=self.location;" ><SPAN STYLE="font: 11px verdana, trebuchet ms, arial, helvetica"><FORM METHOD="POST" ACCEPT-CHARSET="UTF-8"><INPUT TYPE="HIDDEN" NAME="option" VALUE="\'\"--></style></script><script>netsparker(0x000013)</script>"><INPUT TYPE="HIDDEN" NAME="ActivePage" VALUE="Login"><INPUT TYPE="HIDDEN" NAME="EULA_ID" VALUE="invalid"><SCRIPT LANGUAGE="JavaScript1.1" SRC="/OS4/jscache/sys/en/appkit.js"></SCRIPT><INPUT TYPE="HIDDEN" ID="OS_URI" VALUE="/OS4/index.php"><BR CLEAR="ALL"><TABLE ID="AppWin" BORDER="0" CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER" HEIGHT="100" WIDTH="300"><TR><TD HEIGHT="1" WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD NOWRAP WIDTH="300" VALIGN="MIDDLE" ALIGN="LEFT" BACKGROUND="" BGCOLOR="#aa9cca" TITLE="WebsiteOS Login"><SPAN STYLE="color: #000000; font: bold 11px tahoma, arial, helvetica"><NOBR>WebsiteOS Login</NOBR></SPAN></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><A HREF="javascript:appHelp('en','managing_your_website')"><IMG ALT="Help" WIDTH="16" HEIGHT="14" SRC="/OS4/resources/0/themes/Default/help.gif" BORDER="0" HSPACE="1"></A></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD></TR><TR><TD HEIGHT="100" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD><TD COLSPAN="7" BACKGROUND="" BGCOLOR="#d4d3d7" ALIGN="LEFT" VALIGN="TOP"> <BR> <TABLE BORDER="0" CELLPADDING="2" CELLSPACING="1" ALIGN="CENTER" WIDTH="95%"> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Domain </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="TEXT" NAME="user" SIZE="15"> </TD> </TR> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Password </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="PASSWORD" NAME="pass" SIZE="15"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <BR> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="IMAGE" SRC="/OS4/resources/cache/hosting.elihosting.net.Default_Theme.osButton.en.LANG_CORE_login.system.gif" BORDER="0" STYLE="{cursor:default;}" NAME="login" VALUE="Login"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="RIGHT" VALIGN="BOTTOM" CLASS="DisabledText"> <A HREF="javascript:lookup()">Forgot your password?</A>&nbsp; 4.1 </TD> </TR> </TABLE></TD><TD WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD></TR><TR><TD VALIGN="TOP" HEIGHT="1" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD COLSPAN="7" BACKGROUND="/OS4/resources/0/images/spacer1026.gif" NOWRAP ALIGN="CENTER" VALIGN="TOP"></TD><TD VALIGN="TOP" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0" ONLOAD="appLoaded('Login')"/></TD></TR></TABLE></FORM><!-- RENDERING ENGINE: MSIE --></SPAN></BODY></HTML>
- /OS4/

/OS4/ CONFIRMED

http://hosting.elihosting.net/OS4/

Parameters

Parameter Type Value
option POST '"--></style></script><script>alert(0x000012)</script>
ActivePage POST Login
EULA_ID POST invalid
user POST 3
pass POST 3
login POST Login

Request

POST /OS4/ HTTP/1.1
Referer: http://hosting.elihosting.net/OS4/
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: hosting.elihosting.net
Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885
Content-Length: 151
Accept-Encoding: gzip, deflate

option='%22--%3e%3c%2fstyle%3e%3c%2fscript%3e%3cscript%3enetsparker(0x000012)%3c%2fscript%3e&ActivePage=Login&EULA_ID=invalid&user=3&pass=3&login=Login

Response

HTTP/1.1 200 OK
Date: Fri, 04 Mar 2011 18:38:34 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
X-Powered-By: PHP/5.2.13
P3P: CP="NOI DSP COR CURa ADMa DEVa OUR IND COM NAV PRE"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML DIR="LTR" LANG="en"><HEAD><STYLE TYPE="text/css"><!--TD { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000;}INPUT { font-size: 11px; font-family: courier new,courier,monospace;}SELECT { font-size: 11px; font-family: courier new,courier,monospace;}TEXTAREA { font-size: 11px; font-family: courier new,courier,monospace;}A.tablnk { text-decoration: none; font: 11px ms sans serif,geneva,arial,helvetica; color: #0000FF;} A.winlnk { color: blue; text-decoration: none;}A.winlnk:hover { color: blue; text-decoration: underline;}.Desktop { font: 11px verdana, trebuchet ms, arial, helvetica; color: #000000;}.DisabledText { color: #575757;}.BevelPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px ridge #606060;}.InsetPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px groove #606060;}.AltPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000; background-color: #B0B0CC; border: 1px solid #505050;}--></STYLE><TITLE>WebsiteOS 4.1 Login</TITLE><SCRIPT LANGUAGE="JAVASCRIPT" SRC="/OS4/index.php/Util/Javascript?app=Login&ver=current&js=Login.js"></SCRIPT></HEAD><BODY BGPROPERTIES="fixed" BACKGROUND="" BGCOLOR="#ffffff" TEXT="#000000" LINK="#000000" ALINK="#000000" VLINK="#000000" ONLOAD="if (top.location != self.location) top.location=self.location;" ><SPAN STYLE="font: 11px verdana, trebuchet ms, arial, helvetica"><FORM METHOD="POST" ACCEPT-CHARSET="UTF-8"><INPUT TYPE="HIDDEN" NAME="option" VALUE="\'\"--></style></script><script>netsparker(0x000012)</script>"><INPUT TYPE="HIDDEN" NAME="ActivePage" VALUE="Login"><INPUT TYPE="HIDDEN" NAME="EULA_ID" VALUE="invalid"><SCRIPT LANGUAGE="JavaScript1.1" SRC="/OS4/jscache/sys/en/appkit.js"></SCRIPT><INPUT TYPE="HIDDEN" ID="OS_URI" VALUE="/OS4/index.php"><BR CLEAR="ALL"><TABLE ID="AppWin" BORDER="0" CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER" HEIGHT="100" WIDTH="300"><TR><TD HEIGHT="1" WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD NOWRAP WIDTH="300" VALIGN="MIDDLE" ALIGN="LEFT" BACKGROUND="" BGCOLOR="#aa9cca" TITLE="WebsiteOS Login"><SPAN STYLE="color: #000000; font: bold 11px tahoma, arial, helvetica"><NOBR>WebsiteOS Login</NOBR></SPAN></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><A HREF="javascript:appHelp('en','managing_your_website')"><IMG ALT="Help" WIDTH="16" HEIGHT="14" SRC="/OS4/resources/0/themes/Default/help.gif" BORDER="0" HSPACE="1"></A></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD></TR><TR><TD HEIGHT="100" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD><TD COLSPAN="7" BACKGROUND="" BGCOLOR="#d4d3d7" ALIGN="LEFT" VALIGN="TOP"> <BR> <TABLE BORDER="0" CELLPADDING="2" CELLSPACING="1" ALIGN="CENTER" WIDTH="95%"> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Domain </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="TEXT" NAME="user" SIZE="15"> </TD> </TR> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Password </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="PASSWORD" NAME="pass" SIZE="15"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <BR> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="IMAGE" SRC="/OS4/resources/cache/hosting.elihosting.net.Default_Theme.osButton.en.LANG_CORE_login.system.gif" BORDER="0" STYLE="{cursor:default;}" NAME="login" VALUE="Login"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="RIGHT" VALIGN="BOTTOM" CLASS="DisabledText"> <A HREF="javascript:lookup()">Forgot your password?</A>&nbsp; 4.1 </TD> </TR> </TABLE></TD><TD WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD></TR><TR><TD VALIGN="TOP" HEIGHT="1" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD COLSPAN="7" BACKGROUND="/OS4/resources/0/images/spacer1026.gif" NOWRAP ALIGN="CENTER" VALIGN="TOP"></TD><TD VALIGN="TOP" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0" ONLOAD="appLoaded('Login')"/></TD></TR></TABLE></FORM><!-- RENDERING ENGINE: MSIE --></SPAN></BODY></HTML>
- /OS4/

/OS4/ CONFIRMED

http://hosting.elihosting.net/OS4/?ActivePage=Login&EULA_ID=invalid&login=Login&option=3&pass=3&user=3

Parameters

Parameter Type Value
ActivePage GET Login
EULA_ID GET invalid
login GET Login
option GET 3
pass GET 3
user GET 3
option POST '"--></style></script><script>alert(0x0002F4)</script>
ActivePage POST Login
EULA_ID POST invalid
user POST 3
pass POST 3
login POST Login

Request

POST /OS4/?ActivePage=Login&EULA_ID=invalid&login=Login&option=3&pass=3&user=3 HTTP/1.1
Referer: http://hosting.elihosting.net/OS4/?ActivePage=Login&EULA_ID=invalid&login=Login&option=&pass=&user=
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: hosting.elihosting.net
Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885
Content-Length: 151
Accept-Encoding: gzip, deflate

option='%22--%3e%3c%2fstyle%3e%3c%2fscript%3e%3cscript%3enetsparker(0x0002F4)%3c%2fscript%3e&ActivePage=Login&EULA_ID=invalid&user=3&pass=3&login=Login

Response

HTTP/1.1 200 OK
Date: Fri, 04 Mar 2011 18:39:10 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
X-Powered-By: PHP/5.2.13
P3P: CP="NOI DSP COR CURa ADMa DEVa OUR IND COM NAV PRE"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML DIR="LTR" LANG="en"><HEAD><STYLE TYPE="text/css"><!--TD { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000;}INPUT { font-size: 11px; font-family: courier new,courier,monospace;}SELECT { font-size: 11px; font-family: courier new,courier,monospace;}TEXTAREA { font-size: 11px; font-family: courier new,courier,monospace;}A.tablnk { text-decoration: none; font: 11px ms sans serif,geneva,arial,helvetica; color: #0000FF;} A.winlnk { color: blue; text-decoration: none;}A.winlnk:hover { color: blue; text-decoration: underline;}.Desktop { font: 11px verdana, trebuchet ms, arial, helvetica; color: #000000;}.DisabledText { color: #575757;}.BevelPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px ridge #606060;}.InsetPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px groove #606060;}.AltPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000; background-color: #B0B0CC; border: 1px solid #505050;}--></STYLE><TITLE>WebsiteOS 4.1 Login</TITLE><SCRIPT LANGUAGE="JAVASCRIPT" SRC="/OS4/index.php/Util/Javascript?app=Login&ver=current&js=Login.js"></SCRIPT></HEAD><BODY BGPROPERTIES="fixed" BACKGROUND="" BGCOLOR="#ffffff" TEXT="#000000" LINK="#000000" ALINK="#000000" VLINK="#000000" ONLOAD="if (top.location != self.location) top.location=self.location;" ><SPAN STYLE="font: 11px verdana, trebuchet ms, arial, helvetica"><FORM METHOD="POST" ACCEPT-CHARSET="UTF-8"><INPUT TYPE="HIDDEN" NAME="option" VALUE="\'\"--></style></script><script>netsparker(0x0002F4)</script>"><INPUT TYPE="HIDDEN" NAME="ActivePage" VALUE="Login"><INPUT TYPE="HIDDEN" NAME="EULA_ID" VALUE="invalid"><SCRIPT LANGUAGE="JavaScript1.1" SRC="/OS4/jscache/sys/en/appkit.js"></SCRIPT><INPUT TYPE="HIDDEN" ID="OS_URI" VALUE="/OS4/index.php"><BR CLEAR="ALL"><TABLE ID="AppWin" BORDER="0" CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER" HEIGHT="100" WIDTH="300"><TR><TD HEIGHT="1" WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD NOWRAP WIDTH="300" VALIGN="MIDDLE" ALIGN="LEFT" BACKGROUND="" BGCOLOR="#aa9cca" TITLE="WebsiteOS Login"><SPAN STYLE="color: #000000; font: bold 11px tahoma, arial, helvetica"><NOBR>WebsiteOS Login</NOBR></SPAN></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><A HREF="javascript:appHelp('en','managing_your_website')"><IMG ALT="Help" WIDTH="16" HEIGHT="14" SRC="/OS4/resources/0/themes/Default/help.gif" BORDER="0" HSPACE="1"></A></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD></TR><TR><TD HEIGHT="100" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD><TD COLSPAN="7" BACKGROUND="" BGCOLOR="#d4d3d7" ALIGN="LEFT" VALIGN="TOP"> <BR> <TABLE BORDER="0" CELLPADDING="2" CELLSPACING="1" ALIGN="CENTER" WIDTH="95%"> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Domain </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="TEXT" NAME="user" SIZE="15"> </TD> </TR> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Password </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="PASSWORD" NAME="pass" SIZE="15"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <BR> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="IMAGE" SRC="/OS4/resources/cache/hosting.elihosting.net.Default_Theme.osButton.en.LANG_CORE_login.system.gif" BORDER="0" STYLE="{cursor:default;}" NAME="login" VALUE="Login"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="RIGHT" VALIGN="BOTTOM" CLASS="DisabledText"> <A HREF="javascript:lookup()">Forgot your password?</A>&nbsp; 4.1 </TD> </TR> </TABLE></TD><TD WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD></TR><TR><TD VALIGN="TOP" HEIGHT="1" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD COLSPAN="7" BACKGROUND="/OS4/resources/0/images/spacer1026.gif" NOWRAP ALIGN="CENTER" VALIGN="TOP"></TD><TD VALIGN="TOP" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0" ONLOAD="appLoaded('Login')"/></TD></TR></TABLE></FORM><!-- RENDERING ENGINE: MSIE --></SPAN></BODY></HTML>
- /OS4/index.php

/OS4/index.php CONFIRMED

http://hosting.elihosting.net/OS4/index.php?ActivePage=Login&EULA_ID=invalid&login=Login&option=3&pa..

Parameters

Parameter Type Value
ActivePage GET Login
EULA_ID GET invalid
login GET Login
option GET 3
pass GET 3
user GET 3
option POST '"--></style></script><script>alert(0x0002F9)</script>
ActivePage POST Login
EULA_ID POST invalid
user POST 3
pass POST 3
login POST Login

Request

POST /OS4/index.php?ActivePage=Login&EULA_ID=invalid&login=Login&option=3&pass=3&user=3 HTTP/1.1
Referer: http://hosting.elihosting.net/OS4/index.php?ActivePage=Login&EULA_ID=invalid&login=Login&option=&pass=&user=
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: hosting.elihosting.net
Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885
Content-Length: 151
Accept-Encoding: gzip, deflate

option='%22--%3e%3c%2fstyle%3e%3c%2fscript%3e%3cscript%3enetsparker(0x0002F9)%3c%2fscript%3e&ActivePage=Login&EULA_ID=invalid&user=3&pass=3&login=Login

Response

HTTP/1.1 200 OK
Date: Fri, 04 Mar 2011 18:39:10 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
X-Powered-By: PHP/5.2.13
P3P: CP="NOI DSP COR CURa ADMa DEVa OUR IND COM NAV PRE"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML DIR="LTR" LANG="en"><HEAD><STYLE TYPE="text/css"><!--TD { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000;}INPUT { font-size: 11px; font-family: courier new,courier,monospace;}SELECT { font-size: 11px; font-family: courier new,courier,monospace;}TEXTAREA { font-size: 11px; font-family: courier new,courier,monospace;}A.tablnk { text-decoration: none; font: 11px ms sans serif,geneva,arial,helvetica; color: #0000FF;} A.winlnk { color: blue; text-decoration: none;}A.winlnk:hover { color: blue; text-decoration: underline;}.Desktop { font: 11px verdana, trebuchet ms, arial, helvetica; color: #000000;}.DisabledText { color: #575757;}.BevelPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px ridge #606060;}.InsetPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px groove #606060;}.AltPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000; background-color: #B0B0CC; border: 1px solid #505050;}--></STYLE><TITLE>WebsiteOS 4.1 Login</TITLE><SCRIPT LANGUAGE="JAVASCRIPT" SRC="/OS4/index.php/Util/Javascript?app=Login&ver=current&js=Login.js"></SCRIPT></HEAD><BODY BGPROPERTIES="fixed" BACKGROUND="" BGCOLOR="#ffffff" TEXT="#000000" LINK="#000000" ALINK="#000000" VLINK="#000000" ONLOAD="if (top.location != self.location) top.location=self.location;" ><SPAN STYLE="font: 11px verdana, trebuchet ms, arial, helvetica"><FORM METHOD="POST" ACCEPT-CHARSET="UTF-8"><INPUT TYPE="HIDDEN" NAME="option" VALUE="\'\"--></style></script><script>netsparker(0x0002F9)</script>"><INPUT TYPE="HIDDEN" NAME="ActivePage" VALUE="Login"><INPUT TYPE="HIDDEN" NAME="EULA_ID" VALUE="invalid"><SCRIPT LANGUAGE="JavaScript1.1" SRC="/OS4/jscache/sys/en/appkit.js"></SCRIPT><INPUT TYPE="HIDDEN" ID="OS_URI" VALUE="/OS4/index.php"><BR CLEAR="ALL"><TABLE ID="AppWin" BORDER="0" CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER" HEIGHT="100" WIDTH="300"><TR><TD HEIGHT="1" WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD NOWRAP WIDTH="300" VALIGN="MIDDLE" ALIGN="LEFT" BACKGROUND="" BGCOLOR="#aa9cca" TITLE="WebsiteOS Login"><SPAN STYLE="color: #000000; font: bold 11px tahoma, arial, helvetica"><NOBR>WebsiteOS Login</NOBR></SPAN></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><A HREF="javascript:appHelp('en','managing_your_website')"><IMG ALT="Help" WIDTH="16" HEIGHT="14" SRC="/OS4/resources/0/themes/Default/help.gif" BORDER="0" HSPACE="1"></A></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD></TR><TR><TD HEIGHT="100" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD><TD COLSPAN="7" BACKGROUND="" BGCOLOR="#d4d3d7" ALIGN="LEFT" VALIGN="TOP"> <BR> <TABLE BORDER="0" CELLPADDING="2" CELLSPACING="1" ALIGN="CENTER" WIDTH="95%"> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Domain </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="TEXT" NAME="user" SIZE="15"> </TD> </TR> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Password </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="PASSWORD" NAME="pass" SIZE="15"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <BR> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="IMAGE" SRC="/OS4/resources/cache/hosting.elihosting.net.Default_Theme.osButton.en.LANG_CORE_login.system.gif" BORDER="0" STYLE="{cursor:default;}" NAME="login" VALUE="Login"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="RIGHT" VALIGN="BOTTOM" CLASS="DisabledText"> <A HREF="javascript:lookup()">Forgot your password?</A>&nbsp; 4.1 </TD> </TR> </TABLE></TD><TD WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD></TR><TR><TD VALIGN="TOP" HEIGHT="1" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD COLSPAN="7" BACKGROUND="/OS4/resources/0/images/spacer1026.gif" NOWRAP ALIGN="CENTER" VALIGN="TOP"></TD><TD VALIGN="TOP" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0" ONLOAD="appLoaded('Login')"/></TD></TR></TABLE></FORM><!-- RENDERING ENGINE: MSIE --></SPAN></BODY></HTML>
Password Transmitted Over HTTP

Password Transmitted Over HTTP

1 TOTAL
IMPORTANT
CONFIRMED
1
Netsparker identified that password data is sent over HTTP.

Impact

If an attacker can intercept network traffic he/she can steal users credentials.

Actions to Take

  1. See the remedy for solution.
  2. Move all of your critical forms and pages to HTTPS and do not serve them over HTTP.

Remedy

All sensitive data should be transferred over HTTPS rather than HTTP. Forms should be served over HTTPS. All aspects of the application that accept user input starting from the login process should only be served over HTTPS.
- /OS4/

/OS4/ CONFIRMED

http://hosting.elihosting.net/OS4/

Form target action

Request

GET /OS4/ 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: hosting.elihosting.net
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Fri, 04 Mar 2011 18:38:24 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
X-Powered-By: PHP/5.2.13
P3P: CP="NOI DSP COR CURa ADMa DEVa OUR IND COM NAV PRE"
Set-Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML DIR="LTR" LANG="en"><HEAD><STYLE TYPE="text/css"><!--TD { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000;}INPUT { font-size: 11px; font-family: courier new,courier,monospace;}SELECT { font-size: 11px; font-family: courier new,courier,monospace;}TEXTAREA { font-size: 11px; font-family: courier new,courier,monospace;}A.tablnk { text-decoration: none; font: 11px ms sans serif,geneva,arial,helvetica; color: #0000FF;} A.winlnk { color: blue; text-decoration: none;}A.winlnk:hover { color: blue; text-decoration: underline;}.Desktop { font: 11px verdana, trebuchet ms, arial, helvetica; color: #000000;}.DisabledText { color: #575757;}.BevelPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px ridge #606060;}.InsetPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px groove #606060;}.AltPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000; background-color: #B0B0CC; border: 1px solid #505050;}--></STYLE><TITLE>WebsiteOS 4.1 Login</TITLE><SCRIPT LANGUAGE="JAVASCRIPT" SRC="/OS4/index.php/Util/Javascript?app=Login&ver=current&js=Login.js"></SCRIPT></HEAD><BODY BGPROPERTIES="fixed" BACKGROUND="" BGCOLOR="#ffffff" TEXT="#000000" LINK="#000000" ALINK="#000000" VLINK="#000000" ONLOAD="if (top.location != self.location) top.location=self.location;" ><SPAN STYLE="font: 11px verdana, trebuchet ms, arial, helvetica"><FORM METHOD="POST" ACCEPT-CHARSET="UTF-8"><INPUT TYPE="HIDDEN" NAME="option" VALUE=""><INPUT TYPE="HIDDEN" NAME="ActivePage" VALUE="Login"><INPUT TYPE="HIDDEN" NAME="EULA_ID" VALUE="invalid"><SCRIPT LANGUAGE="JavaScript1.1" SRC="/OS4/jscache/sys/en/appkit.js"></SCRIPT><INPUT TYPE="HIDDEN" ID="OS_URI" VALUE="/OS4/index.php"><BR CLEAR="ALL"><TABLE ID="AppWin" BORDER="0" CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER" HEIGHT="100" WIDTH="300"><TR><TD HEIGHT="1" WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD NOWRAP WIDTH="300" VALIGN="MIDDLE" ALIGN="LEFT" BACKGROUND="" BGCOLOR="#aa9cca" TITLE="WebsiteOS Login"><SPAN STYLE="color: #000000; font: bold 11px tahoma, arial, helvetica"><NOBR>WebsiteOS Login</NOBR></SPAN></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><A HREF="javascript:appHelp('en','managing_your_website')"><IMG ALT="Help" WIDTH="16" HEIGHT="14" SRC="/OS4/resources/0/themes/Default/help.gif" BORDER="0" HSPACE="1"></A></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD></TR><TR><TD HEIGHT="100" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD><TD COLSPAN="7" BACKGROUND="" BGCOLOR="#d4d3d7" ALIGN="LEFT" VALIGN="TOP"> <BR> <TABLE BORDER="0" CELLPADDING="2" CELLSPACING="1" ALIGN="CENTER" WIDTH="95%"> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Domain </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="TEXT" NAME="user" SIZE="15"> </TD> </TR> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Password </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="PASSWORD" NAME="pass" SIZE="15"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <BR> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="IMAGE" SRC="/OS4/resources/cache/hosting.elihosting.net.Default_Theme.osButton.en.LANG_CORE_login.system.gif" BORDER="0" STYLE="{cursor:default;}" NAME="login" VALUE="Login"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="RIGHT" VALIGN="BOTTOM" CLASS="DisabledText"> <A HREF="javascript:lookup()">Forgot your password?</A>&nbsp; 4.1 </TD> </TR> </TABLE></TD><TD WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD></TR><TR><TD VALIGN="TOP" HEIGHT="1" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD COLSPAN="7" BACKGROUND="/OS4/resources/0/images/spacer1026.gif" NOWRAP ALIGN="CENTER" VALIGN="TOP"></TD><TD VALIGN="TOP" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0" ONLOAD="appLoaded('Login')"/></TD></TR></TABLE></FORM><!-- RENDERING ENGINE: MSIE --></SPAN></BODY></HTML>
[Possible] Cross-site Scripting

[Possible] Cross-site Scripting

2 TOTAL
MEDIUM
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.

Netsparker believes that there is a XSS (Cross-site Scripting) in here it could not confirm it. We strongly recommend investigating the issue manually to ensure that it is an XSS (Cross-site Scripting) and needs to be addressed.

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.

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 / encoded. Output should be filtered / encoded according to the output format and location.

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

- /OS4/index.php/Util/Javascript

/OS4/index.php/Util/Javascript

http://hosting.elihosting.net/OS4/index.php/Util/Javascript?app='%22--%3E%3C/style%3E%3C/script%3E%3..

Parameters

Parameter Type Value
app GET '"--></style></script><script>alert(0x000155)</script>
ver GET current
js GET Login.js

Notes

Due to content-type of the response exploitation of this vulnerability might not be possible in all browsers or might not be possible at all. Content-type indicates that there is a possibility of exploitation by changing the attack however Netsparker does not support confirming these issues. You need to manually confirm this problem. Generally lack of filtering in the response can cause Cross-site Scripting vulnerabilities in browsers with auto mime sniffing such as Internet Explorer.

Request

GET /OS4/index.php/Util/Javascript?app='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x000155)%3C/script%3E&ver=current&js=Login.js HTTP/1.1
Referer: http://hosting.elihosting.net/OS4/
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: hosting.elihosting.net
Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Fri, 04 Mar 2011 18:38:43 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
X-Powered-By: PHP/5.2.13
P3P: CP="NOI DSP COR CURa ADMa DEVa OUR IND COM NAV PRE"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: application/x-javascript


/* Error: Unable to load: applications/code/'"--></style></script><script>netsparker(0x000155)</script>/current/Login.js */
- /OS4/index.php/Util/Javascript

/OS4/index.php/Util/Javascript

http://hosting.elihosting.net/OS4/index.php/Util/Javascript?app=Login&ver='%22--%3E%3C/style%3E%3C/s..

Parameters

Parameter Type Value
app GET Login
ver GET '"--></style></script><script>alert(0x0001C6)</script>
js GET Login.js

Notes

Due to content-type of the response exploitation of this vulnerability might not be possible in all browsers or might not be possible at all. Content-type indicates that there is a possibility of exploitation by changing the attack however Netsparker does not support confirming these issues. You need to manually confirm this problem. Generally lack of filtering in the response can cause Cross-site Scripting vulnerabilities in browsers with auto mime sniffing such as Internet Explorer.

Request

GET /OS4/index.php/Util/Javascript?app=Login&ver='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x0001C6)%3C/script%3E&js=Login.js HTTP/1.1
Referer: http://hosting.elihosting.net/OS4/
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: hosting.elihosting.net
Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Fri, 04 Mar 2011 18:38:50 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
X-Powered-By: PHP/5.2.13
P3P: CP="NOI DSP COR CURa ADMa DEVa OUR IND COM NAV PRE"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: application/x-javascript


/* Error: Unable to load: applications/code/Login/'"--></style></script><script>netsparker(0x0001C6)</script>/Login.js */
Auto Complete Enabled

Auto Complete Enabled

1 TOTAL
LOW
CONFIRMED
1
"Auto Complete" was enabled in one or more of the form fields. These were either "password" fields or important fields such as "Credit Card".

Impact

Data entered in these fields will be cached by the browser. An attacker who can access the victim's browser could steal this information. This is especially important if the application is commonly used in shared computers such as cyber cafes or airport terminals.

Remedy

Add the attribute autocomplete="off" to the form tag or to individual "input" fields.

Actions to Take

  1. See the remedy for the solution.
  2. Find all instances of inputs which store private data and disable autocomplete. Fields which contain data such as "Credit Card" or "CCV" type data should not be cached. You can allow the application to cache usernames and remember passwords, however, in most cases this is not recommended.
  3. Re-scan the application after addressing the identified issues to ensure that all of the fixes have been applied properly.

Required Skills for Successful Exploitation

Dumping all data from a browser can be fairly easy and there exist a number of automated tools to undertake this. Where the attacker cannot dump the data, he/she could still browse the recently visited websites and activate the auto-complete feature to see previously entered values.

External References

- /OS4/

/OS4/ CONFIRMED

http://hosting.elihosting.net/OS4/

Identified Field Name

pass

Request

GET /OS4/ 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: hosting.elihosting.net
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Fri, 04 Mar 2011 18:38:24 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
X-Powered-By: PHP/5.2.13
P3P: CP="NOI DSP COR CURa ADMa DEVa OUR IND COM NAV PRE"
Set-Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML DIR="LTR" LANG="en"><HEAD><STYLE TYPE="text/css"><!--TD { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000;}INPUT { font-size: 11px; font-family: courier new,courier,monospace;}SELECT { font-size: 11px; font-family: courier new,courier,monospace;}TEXTAREA { font-size: 11px; font-family: courier new,courier,monospace;}A.tablnk { text-decoration: none; font: 11px ms sans serif,geneva,arial,helvetica; color: #0000FF;} A.winlnk { color: blue; text-decoration: none;}A.winlnk:hover { color: blue; text-decoration: underline;}.Desktop { font: 11px verdana, trebuchet ms, arial, helvetica; color: #000000;}.DisabledText { color: #575757;}.BevelPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px ridge #606060;}.InsetPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px groove #606060;}.AltPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000; background-color: #B0B0CC; border: 1px solid #505050;}--></STYLE><TITLE>WebsiteOS 4.1 Login</TITLE><SCRIPT LANGUAGE="JAVASCRIPT" SRC="/OS4/index.php/Util/Javascript?app=Login&ver=current&js=Login.js"></SCRIPT></HEAD><BODY BGPROPERTIES="fixed" BACKGROUND="" BGCOLOR="#ffffff" TEXT="#000000" LINK="#000000" ALINK="#000000" VLINK="#000000" ONLOAD="if (top.location != self.location) top.location=self.location;" ><SPAN STYLE="font: 11px verdana, trebuchet ms, arial, helvetica"><FORM METHOD="POST" ACCEPT-CHARSET="UTF-8"><INPUT TYPE="HIDDEN" NAME="option" VALUE=""><INPUT TYPE="HIDDEN" NAME="ActivePage" VALUE="Login"><INPUT TYPE="HIDDEN" NAME="EULA_ID" VALUE="invalid"><SCRIPT LANGUAGE="JavaScript1.1" SRC="/OS4/jscache/sys/en/appkit.js"></SCRIPT><INPUT TYPE="HIDDEN" ID="OS_URI" VALUE="/OS4/index.php"><BR CLEAR="ALL"><TABLE ID="AppWin" BORDER="0" CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER" HEIGHT="100" WIDTH="300"><TR><TD HEIGHT="1" WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD NOWRAP WIDTH="300" VALIGN="MIDDLE" ALIGN="LEFT" BACKGROUND="" BGCOLOR="#aa9cca" TITLE="WebsiteOS Login"><SPAN STYLE="color: #000000; font: bold 11px tahoma, arial, helvetica"><NOBR>WebsiteOS Login</NOBR></SPAN></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><A HREF="javascript:appHelp('en','managing_your_website')"><IMG ALT="Help" WIDTH="16" HEIGHT="14" SRC="/OS4/resources/0/themes/Default/help.gif" BORDER="0" HSPACE="1"></A></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD></TR><TR><TD HEIGHT="100" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD><TD COLSPAN="7" BACKGROUND="" BGCOLOR="#d4d3d7" ALIGN="LEFT" VALIGN="TOP"> <BR> <TABLE BORDER="0" CELLPADDING="2" CELLSPACING="1" ALIGN="CENTER" WIDTH="95%"> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Domain </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="TEXT" NAME="user" SIZE="15"> </TD> </TR> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Password </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="PASSWORD" NAME="pass" SIZE="15"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <BR> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="IMAGE" SRC="/OS4/resources/cache/hosting.elihosting.net.Default_Theme.osButton.en.LANG_CORE_login.system.gif" BORDER="0" STYLE="{cursor:default;}" NAME="login" VALUE="Login"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="RIGHT" VALIGN="BOTTOM" CLASS="DisabledText"> <A HREF="javascript:lookup()">Forgot your password?</A>&nbsp; 4.1 </TD> </TR> </TABLE></TD><TD WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD></TR><TR><TD VALIGN="TOP" HEIGHT="1" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD COLSPAN="7" BACKGROUND="/OS4/resources/0/images/spacer1026.gif" NOWRAP ALIGN="CENTER" VALIGN="TOP"></TD><TD VALIGN="TOP" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0" ONLOAD="appLoaded('Login')"/></TD></TR></TABLE></FORM><!-- RENDERING ENGINE: MSIE --></SPAN></BODY></HTML>
Cookie Not Marked As HttpOnly

Cookie Not Marked As HttpOnly

1 TOTAL
LOW
CONFIRMED
1
Cookie was not marked as HTTPOnly. HTTPOnly cookies can not be read by client-side scripts therefore marking a cookie as HTTPOnly can provide an additional layer of protection against Cross-site Scripting attacks..

Impact

During a Cross-site Scripting attack an attacker might easily access cookies and hijack the victim's session.

Actions to Take

  1. See the remedy for solution
  2. Consider marking all of the cookies used by the application as HTTPOnly (After these changes javascript code will not able to read cookies.

Remedy

Mark the cookie as HTTPOnly. This will be an extra layer of defence against XSS. However this is not a silver bullet and will not protect the system against Cross-site Scripting attacks. An attacker can use a tool such as XSS Tunnel to bypass HTTPOnly protection.

External References

- /OS4/

/OS4/ CONFIRMED

http://hosting.elihosting.net/OS4/

Identified Cookie

PHPSESSID

Request

GET /OS4/ 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: hosting.elihosting.net
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Fri, 04 Mar 2011 18:38:24 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
X-Powered-By: PHP/5.2.13
P3P: CP="NOI DSP COR CURa ADMa DEVa OUR IND COM NAV PRE"
Set-Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML DIR="LTR" LANG="en"><HEAD><STYLE TYPE="text/css"><!--TD { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000;}INPUT { font-size: 11px; font-family: courier new,courier,monospace;}SELECT { font-size: 11px; font-family: courier new,courier,monospace;}TEXTAREA { font-size: 11px; font-family: courier new,courier,monospace;}A.tablnk { text-decoration: none; font: 11px ms sans serif,geneva,arial,helvetica; color: #0000FF;} A.winlnk { color: blue; text-decoration: none;}A.winlnk:hover { color: blue; text-decoration: underline;}.Desktop { font: 11px verdana, trebuchet ms, arial, helvetica; color: #000000;}.DisabledText { color: #575757;}.BevelPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px ridge #606060;}.InsetPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: black; background-color: silver; border: 1px groove #606060;}.AltPanel { font: 11px ms sans serif,geneva,arial,helvetica; color: #000000; background-color: #B0B0CC; border: 1px solid #505050;}--></STYLE><TITLE>WebsiteOS 4.1 Login</TITLE><SCRIPT LANGUAGE="JAVASCRIPT" SRC="/OS4/index.php/Util/Javascript?app=Login&ver=current&js=Login.js"></SCRIPT></HEAD><BODY BGPROPERTIES="fixed" BACKGROUND="" BGCOLOR="#ffffff" TEXT="#000000" LINK="#000000" ALINK="#000000" VLINK="#000000" ONLOAD="if (top.location != self.location) top.location=self.location;" ><SPAN STYLE="font: 11px verdana, trebuchet ms, arial, helvetica"><FORM METHOD="POST" ACCEPT-CHARSET="UTF-8"><INPUT TYPE="HIDDEN" NAME="option" VALUE=""><INPUT TYPE="HIDDEN" NAME="ActivePage" VALUE="Login"><INPUT TYPE="HIDDEN" NAME="EULA_ID" VALUE="invalid"><SCRIPT LANGUAGE="JavaScript1.1" SRC="/OS4/jscache/sys/en/appkit.js"></SCRIPT><INPUT TYPE="HIDDEN" ID="OS_URI" VALUE="/OS4/index.php"><BR CLEAR="ALL"><TABLE ID="AppWin" BORDER="0" CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER" HEIGHT="100" WIDTH="300"><TR><TD HEIGHT="1" WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD NOWRAP WIDTH="300" VALIGN="MIDDLE" ALIGN="LEFT" BACKGROUND="" BGCOLOR="#aa9cca" TITLE="WebsiteOS Login"><SPAN STYLE="color: #000000; font: bold 11px tahoma, arial, helvetica"><NOBR>WebsiteOS Login</NOBR></SPAN></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><A HREF="javascript:appHelp('en','managing_your_website')"><IMG ALT="Help" WIDTH="16" HEIGHT="14" SRC="/OS4/resources/0/themes/Default/help.gif" BORDER="0" HSPACE="1"></A></TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca">&nbsp;</TD><TD WIDTH="1" BACKGROUND="" BGCOLOR="#aa9cca"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD></TR><TR><TD HEIGHT="100" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD><TD COLSPAN="7" BACKGROUND="" BGCOLOR="#d4d3d7" ALIGN="LEFT" VALIGN="TOP"> <BR> <TABLE BORDER="0" CELLPADDING="2" CELLSPACING="1" ALIGN="CENTER" WIDTH="95%"> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Domain </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="TEXT" NAME="user" SIZE="15"> </TD> </TR> <TR> <TD ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP="TRUE"> &nbsp; &nbsp; &nbsp; Password </TD> <TD ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="PASSWORD" NAME="pass" SIZE="15"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <BR> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER" VALIGN="MIDDLE" NOWRAP="TRUE"> <INPUT TYPE="IMAGE" SRC="/OS4/resources/cache/hosting.elihosting.net.Default_Theme.osButton.en.LANG_CORE_login.system.gif" BORDER="0" STYLE="{cursor:default;}" NAME="login" VALUE="Login"> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="RIGHT" VALIGN="BOTTOM" CLASS="DisabledText"> <A HREF="javascript:lookup()">Forgot your password?</A>&nbsp; 4.1 </TD> </TR> </TABLE></TD><TD WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1010.gif" BGCOLOR="#d4d3d7">&nbsp;</TD></TR><TR><TD VALIGN="TOP" HEIGHT="1" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0"/></TD><TD COLSPAN="7" BACKGROUND="/OS4/resources/0/images/spacer1026.gif" NOWRAP ALIGN="CENTER" VALIGN="TOP"></TD><TD VALIGN="TOP" WIDTH="1" BACKGROUND="/OS4/resources/0/images/spacer1026.gif"><IMG SRC="/OS4/resources/0/images/spacer1026.gif" BORDER="0" HSPACE="0" VSPACE="0" ONLOAD="appLoaded('Login')"/></TD></TR></TABLE></FORM><!-- RENDERING ENGINE: MSIE --></SPAN></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.
- /OS4/jscache/

/OS4/jscache/

http://hosting.elihosting.net/OS4/jscache/

Extracted Version

Apache/2.2.15 (Unix)

Request

GET /OS4/jscache/ HTTP/1.1
Referer: http://hosting.elihosting.net/OS4/jscache/sys/en/appkit.js
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: hosting.elihosting.net
Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 403 Forbidden
Date: Fri, 04 Mar 2011 18:38:25 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
Content-Length: 214
Content-Type: text/html; charset=iso-8859-1


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1><p>You don't have permission to access /OS4/jscache/on this server.</p></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.
- /OS4/jscache/

/OS4/jscache/

http://hosting.elihosting.net/OS4/jscache/

Extracted Version

PHP/5.2.13

Request

GET /OS4/jscache/ HTTP/1.1
Referer: http://hosting.elihosting.net/OS4/jscache/sys/en/appkit.js
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: hosting.elihosting.net
Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 403 Forbidden
Date: Fri, 04 Mar 2011 18:38:25 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
Content-Length: 214
Content-Type: text/html; charset=iso-8859-1


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1><p>You don't have permission to access /OS4/jscache/on this server.</p></body></html>
OpenSSL Version Disclosure

OpenSSL Version Disclosure

1 TOTAL
LOW
Netsparker identified that the target web server is disclosing OpenSSL version in the HTTP response. This information can help an attacker to develop further attacks and also the system can become an easier target for automated attacks.

Impact

An attacker can look for specific security vulnerabilities for the identified version. Also the attacker can use this information in conjunction with the other vulnerabilities in the application or the web server.

Remedy

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

/OS4/jscache/

http://hosting.elihosting.net/OS4/jscache/

Extracted Version

OpenSSL/1.0.0a

Request

GET /OS4/jscache/ HTTP/1.1
Referer: http://hosting.elihosting.net/OS4/jscache/sys/en/appkit.js
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: hosting.elihosting.net
Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 403 Forbidden
Date: Fri, 04 Mar 2011 18:38:25 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
Content-Length: 214
Content-Type: text/html; charset=iso-8859-1


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1><p>You don't have permission to access /OS4/jscache/on this server.</p></body></html>
Apache Module Version Disclosure

Apache Module Version Disclosure

1 TOTAL
LOW
Netsparker identified that the target web server is disclosing one of the Apache modules version. 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 look for specific security vulnerabilities for the identified Apache module version. The attacker can also use this information in conjunction with the other vulnerabilities in the application or the web server.

Remedy

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

/OS4/jscache/

http://hosting.elihosting.net/OS4/jscache/

Extracted Version

mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13

Request

GET /OS4/jscache/ HTTP/1.1
Referer: http://hosting.elihosting.net/OS4/jscache/sys/en/appkit.js
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: hosting.elihosting.net
Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 403 Forbidden
Date: Fri, 04 Mar 2011 18:38:25 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
Content-Length: 214
Content-Type: text/html; charset=iso-8859-1


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1><p>You don't have permission to access /OS4/jscache/on this server.</p></body></html>
Forbidden Resource

Forbidden Resource

1 TOTAL
INFORMATION
CONFIRMED
1
Access to this resource has been denied by the web server. This is generally not a security issue, and is reported here for information purposes.

Impact

There is no impact resulting from this issue.
- /OS4/jscache/

/OS4/jscache/ CONFIRMED

http://hosting.elihosting.net/OS4/jscache/

Request

GET /OS4/jscache/ HTTP/1.1
Referer: http://hosting.elihosting.net/OS4/jscache/sys/en/appkit.js
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: hosting.elihosting.net
Cookie: PHPSESSID=ba814b293ab944746f8c7271cf42d885
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 403 Forbidden
Date: Fri, 04 Mar 2011 18:38:25 GMT
Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a PHP/5.2.13
Content-Length: 214
Content-Type: text/html; charset=iso-8859-1


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1><p>You don't have permission to access /OS4/jscache/on this server.</p></body></html>