DNN Blog

Oracle Padding Vulnerability in ASP.NET

by Shaun Walker on Saturday, September 18, 2010 1:00 AM

Earlier this week, news surfaced about a possible security vulnerability in the default encryption mechanism used to protect the cookies normally used to implement Forms Authentication in Microsoft ASP.NET. 

A couple of security ‘researchers’, Thai Duong and Juliano Rizzo, publicly claimed that their attack could ‘compromise’ millions of applications that are built on the ASP.NET platform.  One of them even did a Twitter post asking for which ASP.NET application should be used as a demonstration, and given our reputation as the most widely deployed web application for ASP.NET, DotNetNuke was chosen as the "lucky" target.

Utilizing the extremely limited information which was provided, the DotNetNuke Security Team led by Cathal Connolly and Brandon Haynes immediately set to work trying to pinpoint the attack vector and determine the magnitude and severity of the vulnerability. Unfortunately, the lack of technical details and tools made it impossible to reproduce the issue. Initially we even suspected that DotNetNuke may be immune because of our default configuration settings; however this later proved to be incorrect ( Cathal managed to get in touch with the ‘researchers’ directly and they confirmed DotNetNuke was vulnerable but were unwilling to share details ). Regardless by mid-day Friday, Brandon and Cathal had come up with a few potential solutions which they felt would theoretically mitigate the ASP.NET forms authentication vulnerability. But rather than rush out a solution to a problem which was not yet fully defined, we decided it would be wise to wait for more details to emerge. On Friday afternoon we were contacted by a program manager from Microsoft Vulnerability Research (MSVR) who provided us with a few more details and assured us that Microsoft was taking the issue very seriously and would keep us in the loop.

Late Friday afternoon, in a security conference in Buenos Aires, Argentina, the security ‘researchers’ demonstrated how to exploit the vulnerability, using DotNetNuke as the target application. They created a YouTube video of the steps involved, and even threw 3 pen drives containing the tools to accomplish this exploit into the crowd.

We take the privacy of our users very seriously, and based on the potential threat that this vulnerability demonstrated to our community, we decided to take immediate and extreme action. We took our main websites offline, including www.dotnetnuke.com. Such drastic action obviously has an effect on our business, but we thought it was the safest approach as we needed some time to fully assess the severity of the situation. We did not expect that the sites would need to be down for an extended period, as we had faith that Microsoft would move quickly to issue a workaround.

The actual exploit utilized a few techniques which nobody had previously anticipated. But once the details were out in the open, it was then possible to come up with an effective mitigation strategy. Microsoft moved quickly to make information available to the community - in fact many of the principals in the Web Platform & Tools team, including Scott Guthrie himself, were up almost all night providing feedback and working in real-time to provide utilities to expedite the patching of affected systems ( I know this because I am on the ASPInsiders mailing list and there was plenty of activity from 1AM - 5AM PST this morning ).

The official advisory can be viewed at:

http://www.microsoft.com/technet/security/advisory/2416728.mspx

And a more understandable version written by Scott Guthrie can be viewed at:

http://weblogs.asp.net/scottgu/archive/2010/09/18/important-asp-net-security-vulnerability.aspx

Cathal has posted a detailed blog on how to apply a workaround to ensure your DotNetNuke web sites are protected immediately.

http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2798/ASP-NET-Security-Vulnerability-workaround-for-DotNetNuke-sites.aspx

We have already followed these workaround steps for our own web properties and brought them back on-line early Saturday morning. We encourage other folks to do the same ( Microsoft will likely push out a server level patch at some point in the future through Windows Update but the exact timing is still not known ).

We will also be expediting the release of a 5.5.1 version this week which will include the patch as well as a seamless upgrade mechanism to ensure your web assets are protected. We will also create a utility which would enable people to apply the patch on legacy versions without requiring an upgrade to the latest DotNetNuke product - however this should utilized with caution as the only way to be assured of the integrity of your site is to keep up with all security patches.If you do not feel comfortable making technical changes such as this to your sites, there is also the ability to opt for a commercial edition of DotNetNuke , where our expert support technicians can provide direct assistance.

We appreciate your patience and will keep you informed as further information becomes available.

Shaun Walker
Author

I am the Co-Founder and CTO for DotNetNuke Corporation. I am also the original creator of DotNetNuke, the most successful open source project native to the Microsoft platform. I have 20 years professional experience in architecting and implementing large-scale software solutions for private and public organizations. I am a frequent speaker at conferences and a contributing author to a variety of DotNetNuke publications including the WROX Press book titled Professional DotNetNuke 5 - Open Source Web Application Framework. I was a founding member of the Board of Directors for the OuterCurve Foundation, a non-profit organization created by Microsoft whose goal is to enable the exchange of code and understanding among software companies and open source communities.

4 comment(s) so far...

Duane Sims 9/22/2010

I updated my site with the info provided here and Scot's blog yesterday when I first learned about this; unfortunately it looks like I was too late, today at 4:50 PM my site had several content modules disappeared from the site. Still digging but if someone could contact me offline what to look for would be appreciated.

 
Rune Bentsen 9/22/2010

So when all the steps are followed and the dotnetnuke server is safe and secure (even if it's temporary since it's not a wanted feature to have 1 error-message for every type of error), how do we get the "Critical Updates Available" link away? We wouldn't like to scare our customers :-)

 
Shaun Walker 9/22/2010

@Rune Bentsen - the update service does not know anything about the configuration of your DotNetNuke site, other than the version it is running. If you upgrade to the 5.5.1 version which is now available, the Critical Updates Available message will no longer be displayed. If you are unable to upgrade, you could disable the update service via Host Settings to get rid of the message - but this means that if any security vulnerabilities are identified in the future, it would be solely your responsibility to monitor DNN channels on a regular basis to ensure you are protected.

 
Shaun Walker 9/22/2010

@Duane Sims - content modules disapearing from your site may not be a symptom of the Oracle Padding vulnerability - it may be related to a configuration issue in your DotNetNuke site, or perhaps related to a previously identified vulnerability ( the only way to ensure the integrity of your site is to ensure it is upgraded to the latest release which contains all security patches ). After performing your own diagnosis, if you still believe you are the victim of the Oracle Padding vulnerability - or a previously unknown security issue, I would encourage you to send a message to our security alias ( security@dotnetnuke.com ) including all details which you believe are relevant.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.