MS10-070 OOB Patch for ASP.NET vulnerability
Last Updated: 2010-09-30 00:20:37 UTC
by Daniel Wesemann (Version: 5)
Microsoft Bulletin MS10-070 has been released. An update is now available that addresses the ASP.NET "information disclosure" vulnerability (CVE-2010-3332) that we reported on earlier
The core pieces in the advisory are probably in the sections that read
"In Microsoft .NET Framework 3.5 Service Pack 1 and above, this vulnerability can be used by an attacker to retrieve the contents of any file within the ASP.NET application, including web.config" and "This vulnerability can also be used for data tampering, which, if successfully exploited, could be used to decrypt and tamper with the data encrypted by the server."
Translated, this means that the vulnerability undermines basic web application security. I suspect that online shops and such might rate the risk that "an attacker can read any file" on their web application server a bit higher than just "important".
According to the bulletin, MSFT are aware of "active attacks".
In combination, this sure sounds like PATCH NOW! to me.
Update 1800UTC: If you're wondering what a "Padding Oracle" is, the original attack is described very well in this research paper .
Update 1830UTC: Changing InfoCon to YELLOW, to raise awareness for this problem and patch. We'll go back to GREEN in 24hrs unless significant new information develops.
Update 00:13 UTC: Changing InfoCon back to Green. Most people should be well and truly aware of the issue. We may raise it again if we receive reports of widespread use or other changes.
Comments
Where did you get your information about needing to push out the patch all at once or having your farm break? Anyone else know if this is true?.. Trying to decided if should implement this patch or wait for reports of broken farms.
Thank you for the link.
"Another video may prove it all, but I'm tired. So believe it or not, Microsoft workarounds can't prevent the attack. Ask them for the patch!"
In http://netifera.com/research/poet//PaddingOraclesEverywhereEkoparty2010.pdf Thai Duong and Juliano Rizzo wrote:
"POET -> remote code execution -> Cesar’s Token Kidnapping -> ROOT privilege on Windows"
The POET version that supposedly does this, has not yet been released, but if it is true then Microsoft flagging this vuln as "Important" seems not entirely appropriate to me.
Cesar Cerrudo's Token Kidnapping Revenge (privilege escalations and some fixes) are described in this document: http://www.argeniss.com/research/TokenKidnappingRevengePaper.pdf
Hopefully MS10-070 properly fixes this ASP.NET vulnerability...
According to microsoft you need to apply kb2416447
And it says that this is supported on the download page:
http://www.microsoft.com/downloads/en/details.aspx?familyid=a7990e61-21fd-4942-9dfe-af7961cb0282&displaylang=en
But it won't run on 2008, and the kb page itself ( http://support.microsoft.com/?kbid=2416447 )has no mention of 2008 support!
Also, the filename says x86, no clarity if there is a seperate x64 version or not.
If you use database passwords, then you also has a problem already that needs to be fixed. Windows Integrated authentication has been Microsofts recommendation for 10 years by now (Since SQL Server 2000).
I would say, that this is a patch now only for bad websites. Well designed websites does not have any secret information inside webroot, does not rely on client side data being untampered and information disclosure is only of public available information anyway.
Viewstate is IMHO not any better than a form or cookie where the client can change data at his will. If the stake is high enough, the encryption can always be broken.
But if you click on the download for .NET 3.5 SP1, a separate download appears, targeted at only 3.5 SP1.
That's what I hate about manual downloads, we have to make assumptions about the patch logic. I have a server that has both 2.0 SP2 and 3.5 SP1 installed. My assumption is I install the first patch, then the second...
http://www.example.com/WebResource.axd?d=zt87v2JeCPKYzqUfGEffpA2
Before patching, if publicly disclosing errors was _not_ disabled (which seems typical), you'll see:
____"Error: Padding is invalid and cannot be removed"____
accompanied by a lot of error-message-chatter mentioning "rijndael", "encrypt", "decrypt" etc. In that case, _after_ patching, you'll see:
____"Error: This is an invalid webresource request"____
and nothing that refers to crypto.
Obviously you'll not be the only one firing such URL's at your webshop. Anxious customers might, and perhaps a couple of scriptkiddies (so expect some extra log lines)...
BTW an ASP.NET server (W2K3) I patched today (.NET 1.1, 2.0 and 3.5) behaved exactly as described above, without any reboots after installing the applicable patches.
If you still think your ASP.NET site (in particular DotNetNuke-based) doesn't need patching, check this out:
Title: POET vs ASP.NET: don't waste time implementing useless workarounds - you should patch ;-)
Movie: http://www.youtube.com/watch?v=mP6mKLh1FBw
Although the POET version that attacks ASP.NET has (AFAIK) not yet been publicly released, others are building similar exploits, some of which _are_ publicly released. For example, see http://www.immunityinc.com/ceu-index.shtml (source: http://twitter.com/nicowaisman) and http://www.gdssecurity.com/l/b/2010/09/28/new-version-of-padbuster-available-for-download/
Personally I wouldn't have changed InfoCon back to green. This might get messy soon...
In that case he says order is not relevant; I imagine that applies to all issues of patching order for disparate .NET versions, but it's not perfectly clear.
New Comments closed for all Diaries older than two(2) weeks
Please send your comments to our Contact Form

Diary Archives