Forms Authentication: Remember Me? Its Hard Not Too!

Posted by on April 4, 2012 · Comments Off on Forms Authentication: Remember Me? Its Hard Not Too!
Filed under: Development, Security 

ASP.Net Forms Authentication is a great way to authenticate users for the application.  Microsoft has done a really good job at implementing this to make it simple and straightforward for developers.  Forms Authentication allows for a user to enter their user name / password combination for an application and have that validated against a backend ...

.Net Validators – Don’t Forget Page.IsValid

Posted by on March 31, 2012 · Comments Off on .Net Validators – Don’t Forget Page.IsValid
Filed under: Development, Security 

ASP.net does a good job of providing a simple way to provide input validation.  Just about any security presentation or class will put a lot of emphasis on the concept of input validation.  One of the techniques that you can use with web forms is the built in validator controls.  In general, these controls automatically ...

WCSA – Web.Config Security Analyzer

Posted by on March 31, 2012 · Comments Off on WCSA – Web.Config Security Analyzer
Filed under: Development 

In an ASP.Net application, the web.config file contains a lot of security settings that shouldn’t be overlooked.  There has been no real easy way to review the file without manually looking at each setting or running an expensive tool.  To fill this gap, WCSA was born.  This initial release is relatively simple and by no ...

ASP.Net: Tampering with Event Validation – Part 2

Posted by on February 10, 2012 · 1 Comment
Filed under: Development, Security, Testing 

In part 1 of this series I demonstrated how to modify the values of a list box and access data I was not given access to by manipulating the view state and event validation parameters.  Remember, the key to this is that ViewStateMac must be disabled.  In this post, I will be demonstrating ...

ASP.Net: Tampering with Event Validation – Part 1

Posted by on February 6, 2012 · Comments Off on ASP.Net: Tampering with Event Validation – Part 1
Filed under: Development, Security 

UPDATED 12/13/2012 - This post was updated to include a video demonstration of tampering with data with Event Validation enabled.  The video is embedded at the bottom of the post. My last post brought up the topic of tampering with Event Validation (__EVENTVALIDATION) and how it is protected with the ViewStateMAC property.  This post, and the ...

ViewStateMAC: Seriously, Enable It!

Posted by on February 1, 2012 · Comments Off on ViewStateMAC: Seriously, Enable It!
Filed under: Development, Security 

I have been doing a lot of research lately around event validation and view state.  I have always been interested in how Event Validation worked under the covers and if it could be tampered with.  I will attempt to explain that it is, in fact, possible to tamper with the Event Validation field in a ...

ASP.Net Insecure Redirect

Posted by on January 9, 2012 · Comments Off on ASP.Net Insecure Redirect
Filed under: Development, Security 

It was recently discovered that there was a vulnerability within the ASP.Net Forms Authentication process that could allow an attacker to force a user to visit a malicious web site upon success authentication.  Until this vulnerability was found, it was thought that the only way to allow the Forms Authentication redirect (managed by the ReturnUrl ...

ASP.Net 4: Change the Default Encoder

Posted by on July 9, 2011 · Comments Off on ASP.Net 4: Change the Default Encoder
Filed under: Development, Security 

In ASP.Net 4.0, Microsoft added the ability to override the default encoder.  This is specifically focused on the HTMLEncode, HTMLAttributeEncode, and URLEncode functionality.  These functions are used, in the eyes of security, to help mitigate cross-site scripting (XSS).  The problem with the built in .Net routines is that they are built on a black-list methodology, ...

Microsoft’s SDL Process Guidance 5.1 Released

Posted by on April 20, 2011 · Comments Off on Microsoft’s SDL Process Guidance 5.1 Released
Filed under: Development, Security 

April 14th, Microsoft released their annual update to the SDL Process Guidance. The updated document can be downloaded from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e5ff2f9d-7e72-485a-9ec0-5d6d076a8807&displaylang=en. Microsoft has done a good job of updating their SDL documentation to help cover the most important items. Here are some of the changes made in this release (Not all updates ...

Enhancing the UI with Greasemonkey

Posted by on November 27, 2010 · Comments Off on Enhancing the UI with Greasemonkey
Filed under: Development 

Have you ever used a web application and wished that it would act a little differently to make your day easier? I recently ran into this with an external application. There were sever sets of data (tables and list boxes) that would be much more useful if they were sortable. Unfortunately, since ...

« Previous PageNext Page »