Analysis Information
Analysis Engine Version 1.0.3000.16340
Created by REDMOND\anilkr
Start time Thursday, October 30, 2008 2:46:19 PM
Stop time Thursday, October 30, 2008 2:46:23 PM
Elapsed time 00:00:03.9173917
Data flow graph 6752 nodes, 9286 edges
Targets C:\Work\Projects\AntiXss\Internal\V3.0\Source\AntiXSS\AntiXSSUnitTests\bin\Release\AntiXSSUnitTests.dll
C:\Work\Projects\AntiXss\Internal\V3.0\Source\AntiXSS\AntiXSSTestApp\bin\AntiXSSTestApp.dll
C:\Work\Projects\AntiXss\Internal\V3.0\Source\AntiXSS\SREUnitTests\bin\Release\UnitTests.dll
C:\Work\Projects\AntiXss\Internal\V3.0\Source\AntiXSS\TestAntiXssModule\bin\TestAntiXssModule.dll
C:\Work\Projects\AntiXss\Internal\V3.0\Source\AntiXSS\SampleApp\bin\SampleApp.dll
C:\Work\Projects\AntiXss\Internal\V3.0\Source\AntiXSS\AXSSModule\bin\Release\AntiXssModule.dll
C:\Work\Projects\AntiXss\Internal\V3.0\Source\AntiXSS\InstallerCustomAction\bin\Release\InstallerCustomAction.dll
C:\Work\Projects\AntiXss\Internal\V3.0\Source\AntiXSS\AntiXSSTestBench\bin\Release\AntiXSSTestBench.exe
C:\Work\Projects\AntiXss\Internal\V3.0\Source\AntiXSS\AntiXSSLibrary\bin\Release\AntiXSSLibrary.dll
C:\Work\Projects\AntiXss\Internal\V3.0\Source\AntiXSS\ConfigGen\bin\Release\ConfigGen.exe

Redirection to User Controlled Site (ACESEC06)
1 results
Result #1
Summary
Problem A cross-site redirection vulnerability was found through a user controlled variable that enters the application at login.aspx.cs:64 through the variable stack0 which eventually leads to a cross-site redirection issue at login.aspx.cs:65.
Resolution Do not allow off-site redirections to absolute URLs that can be specified by the user.
Entry Variable stack0
Confidence High
Source Context Line Input Variable Statement
login.aspx.cs 64 string tempUrl = AntiXss.UrlEncode(Request.QueryString["RedirectUrl"]);
login.aspx.cs 64 Return from HttpRequest.get_QueryString string tempUrl = AntiXss.UrlEncode(Request.QueryString["RedirectUrl"]);
login.aspx.cs 64 Return from NameValueCollection.get_Item string tempUrl = AntiXss.UrlEncode(Request.QueryString["RedirectUrl"]);
login.aspx.cs 65 tempUrl Response.Redirect(tempUrl);
Cross-Site Scripting (ACESEC05)
22 results
Result #2
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at TestMe.aspx.cs:22 through the variable strInputText which eventually leads to a cross-site scripting issue at TestMe.aspx.cs:24.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable strInputText
Confidence High
Source Context Line Input Variable Statement
TestMe.aspx.cs 22 string strInputText = txtBox1.Text;
TestMe.aspx.cs 24 strInputText Response.Write(AntiXss.HtmlAttributeEncode(strInputText, 932));
TestMe.aspx.cs 24 Return from AntiXss.HtmlAttributeEncode Response.Write(AntiXss.HtmlAttributeEncode(strInputText, 932));
Result #3
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at TestMe.aspx.cs:22 through the variable strInputText which eventually leads to a cross-site scripting issue at TestMe.aspx.cs:25.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable strInputText
Confidence High
Source Context Line Input Variable Statement
TestMe.aspx.cs 22 string strInputText = txtBox1.Text;
TestMe.aspx.cs 25 strInputText Response.Write(AntiXss.UrlEncode(strInputText, 932));
TestMe.aspx.cs 25 Return from AntiXss.UrlEncode Response.Write(AntiXss.UrlEncode(strInputText, 932));
Result #4
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at summary.aspx.cs:48 through the variable stack1 which eventually leads to a cross-site scripting issue at summary.aspx.cs:48.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
summary.aspx.cs 48 lblSessionName.Text = Request.QueryString["sname"];
summary.aspx.cs 48 Return from HttpRequest.get_QueryString lblSessionName.Text = Request.QueryString["sname"];
summary.aspx.cs 48 Return from NameValueCollection.get_Item lblSessionName.Text = Request.QueryString["sname"];
Result #5
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at summary.aspx.cs:116 through the variable stack1 which eventually leads to a cross-site scripting issue at summary.aspx.cs:116.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
summary.aspx.cs 116 ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 116 Return from DataRow.get_Item ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 116 Return from Object.ToString ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 116 Return from AntiXss.HtmlEncode ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
Result #6
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at summary.aspx.cs:117 through the variable stack1 which eventually leads to a cross-site scripting issue at summary.aspx.cs:116.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
summary.aspx.cs 117 ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 117 Return from DataRow.get_Item ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 116 Return from DataRowView.get_Row ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 116 Return from DataRow.get_Item ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 116 Return from Object.ToString ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 116 Return from AntiXss.HtmlEncode ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
Result #7
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at summary.aspx.cs:118 through the variable stack1 which eventually leads to a cross-site scripting issue at summary.aspx.cs:116.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
summary.aspx.cs 118 ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 118 Return from DataRow.get_Item ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 116 Return from DataRowView.get_Row ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 116 Return from DataRow.get_Item ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 116 Return from Object.ToString ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 116 Return from AntiXss.HtmlEncode ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
Result #8
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at summary.aspx.cs:116 through the variable stack1 which eventually leads to a cross-site scripting issue at summary.aspx.cs:117.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
summary.aspx.cs 116 ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 116 Return from DataRow.get_Item ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 117 Return from DataRowView.get_Row ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 117 Return from DataRow.get_Item ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 117 Return from Object.ToString ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 117 Return from AntiXss.HtmlEncode ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
Result #9
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at summary.aspx.cs:117 through the variable stack1 which eventually leads to a cross-site scripting issue at summary.aspx.cs:117.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
summary.aspx.cs 117 ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 117 Return from DataRow.get_Item ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 117 Return from Object.ToString ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 117 Return from AntiXss.HtmlEncode ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
Result #10
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at summary.aspx.cs:118 through the variable stack1 which eventually leads to a cross-site scripting issue at summary.aspx.cs:117.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
summary.aspx.cs 118 ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 118 Return from DataRow.get_Item ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 117 Return from DataRowView.get_Row ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 117 Return from DataRow.get_Item ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 117 Return from Object.ToString ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 117 Return from AntiXss.HtmlEncode ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
Result #11
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at summary.aspx.cs:116 through the variable stack1 which eventually leads to a cross-site scripting issue at summary.aspx.cs:118.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
summary.aspx.cs 116 ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 116 Return from DataRow.get_Item ((Label)e.Item.FindControl("CommentsLabel")).Text = AntiXss.HtmlEncode(dr["Comments"].ToString());
summary.aspx.cs 118 Return from DataRowView.get_Row ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 118 Return from DataRow.get_Item ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 118 Return from Object.ToString ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 118 Return from AntiXss.HtmlEncode ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
Result #12
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at summary.aspx.cs:117 through the variable stack1 which eventually leads to a cross-site scripting issue at summary.aspx.cs:118.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
summary.aspx.cs 117 ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 117 Return from DataRow.get_Item ((Label)e.Item.FindControl("NameLabel")).Text = AntiXss.HtmlEncode(dr["Name"].ToString());
summary.aspx.cs 118 Return from DataRowView.get_Row ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 118 Return from DataRow.get_Item ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 118 Return from Object.ToString ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 118 Return from AntiXss.HtmlEncode ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
Result #13
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at summary.aspx.cs:118 through the variable stack1 which eventually leads to a cross-site scripting issue at summary.aspx.cs:118.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
summary.aspx.cs 118 ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 118 Return from DataRow.get_Item ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 118 Return from Object.ToString ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
summary.aspx.cs 118 Return from AntiXss.HtmlEncode ((Label)e.Item.FindControl("EmailLabel")).Text = AntiXss.HtmlEncode(dr["Email"].ToString());
Result #14
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at login.aspx.cs:40 through the variable stack1 which eventually leads to a cross-site scripting issue at login.aspx.cs:40.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
login.aspx.cs 40 lblVenue.Text = AntiXss.HtmlEncode(Request.QueryString["location"]);
login.aspx.cs 40 Return from HttpRequest.get_QueryString lblVenue.Text = AntiXss.HtmlEncode(Request.QueryString["location"]);
login.aspx.cs 40 Return from NameValueCollection.get_Item lblVenue.Text = AntiXss.HtmlEncode(Request.QueryString["location"]);
login.aspx.cs 40 Return from AntiXss.HtmlEncode lblVenue.Text = AntiXss.HtmlEncode(Request.QueryString["location"]);
Result #15
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at ExcludedPage.aspx.cs:20 through the variable stack1 which eventually leads to a cross-site scripting issue at ExcludedPage.aspx.cs:20.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
ExcludedPage.aspx.cs 20 Label1.Text = Request.QueryString["q"];
ExcludedPage.aspx.cs 20 Return from HttpRequest.get_QueryString Label1.Text = Request.QueryString["q"];
ExcludedPage.aspx.cs 20 Return from NameValueCollection.get_Item Label1.Text = Request.QueryString["q"];
Result #16
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at Default.aspx.cs:27 through the variable stack1 which eventually leads to a cross-site scripting issue at Default.aspx.cs:27.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
Default.aspx.cs 27 Label1.Text = Request.QueryString["q"];
Default.aspx.cs 27 Return from HttpRequest.get_QueryString Label1.Text = Request.QueryString["q"];
Default.aspx.cs 27 Return from NameValueCollection.get_Item Label1.Text = Request.QueryString["q"];
Result #17
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at ExcludedPage.aspx.cs:20 through the variable stack1 which eventually leads to a cross-site scripting issue at ExcludedPage.aspx.cs:20.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
ExcludedPage.aspx.cs 20 Label1.Text = Request.QueryString["q"];
ExcludedPage.aspx.cs 20 Return from HttpRequest.get_QueryString Label1.Text = Request.QueryString["q"];
ExcludedPage.aspx.cs 20 Return from NameValueCollection.get_Item Label1.Text = Request.QueryString["q"];
Result #18
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at MultipleControls.aspx.cs:20 through the variable stack1 which eventually leads to a cross-site scripting issue at MultipleControls.aspx.cs:20.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
MultipleControls.aspx.cs 20 Label1.Text = Request.QueryString["q"];
MultipleControls.aspx.cs 20 Return from HttpRequest.get_QueryString Label1.Text = Request.QueryString["q"];
MultipleControls.aspx.cs 20 Return from NameValueCollection.get_Item Label1.Text = Request.QueryString["q"];
Result #19
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at SubClassedLabel.aspx.cs:20 through the variable stack1 which eventually leads to a cross-site scripting issue at SubClassedLabel.aspx.cs:20.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
SubClassedLabel.aspx.cs 20 RedLabel1.Text = Request.QueryString["q"];
SubClassedLabel.aspx.cs 20 Return from HttpRequest.get_QueryString RedLabel1.Text = Request.QueryString["q"];
SubClassedLabel.aspx.cs 20 Return from NameValueCollection.get_Item RedLabel1.Text = Request.QueryString["q"];
Result #20
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at login.aspx.cs:42 through the variable stack0 which eventually leads to a cross-site scripting issue at login.aspx.cs:46.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack0
Confidence High
Source Context Line Input Variable Statement
login.aspx.cs 42 venueStyle = Request.QueryString["style"];
login.aspx.cs 42 Return from HttpRequest.get_QueryString venueStyle = Request.QueryString["style"];
login.aspx.cs 46 venueStyle lblVenue.Attributes["class"] = AntiXss.HtmlAttributeEncode(venueStyle);
login.aspx.cs 46 Return from AntiXss.HtmlAttributeEncode lblVenue.Attributes["class"] = AntiXss.HtmlAttributeEncode(venueStyle);
Result #21
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at MultipleControls.aspx.cs:21 through the variable stack1 which eventually leads to a cross-site scripting issue at MultipleControls.aspx.cs:21.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
MultipleControls.aspx.cs 21 LinkButton1.Text = Request.QueryString["q"];
MultipleControls.aspx.cs 21 Return from HttpRequest.get_QueryString LinkButton1.Text = Request.QueryString["q"];
MultipleControls.aspx.cs 21 Return from NameValueCollection.get_Item LinkButton1.Text = Request.QueryString["q"];
Result #22
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at MultipleControls.aspx.cs:24 through the variable stack1 which eventually leads to a cross-site scripting issue at MultipleControls.aspx.cs:24.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
MultipleControls.aspx.cs 24 RadioButton1.Text = Request.QueryString["q"];
MultipleControls.aspx.cs 24 Return from HttpRequest.get_QueryString RadioButton1.Text = Request.QueryString["q"];
MultipleControls.aspx.cs 24 Return from NameValueCollection.get_Item RadioButton1.Text = Request.QueryString["q"];
Result #23
Summary
Problem A cross-site scripting vulnerability was found through a user controlled variable that enters the application at MultipleControls.aspx.cs:25 through the variable stack1 which eventually leads to a cross-site scripting issue at MultipleControls.aspx.cs:25.
Resolution Use the Anti-XSS library to properly encode the data before rendering it
Entry Variable stack1
Confidence High
Source Context Line Input Variable Statement
MultipleControls.aspx.cs 25 CheckBox1.Text = Request.QueryString["q"];
MultipleControls.aspx.cs 25 Return from HttpRequest.get_QueryString CheckBox1.Text = Request.QueryString["q"];
MultipleControls.aspx.cs 25 Return from NameValueCollection.get_Item CheckBox1.Text = Request.QueryString["q"];