ASP.NET Padding Oracle Vulnerability
CVE-2010-3332 is an ASP.NET cryptographic error-handling flaw in Microsoft .NET Framework 1.1 SP1, 2.0 SP1/SP2, 3.5, 3.5 SP1, 3.5.1, and 4.0 when used for ASP.NET on IIS. The application exposes distinguishable error responses during decryption and padding verification of encrypted ASP.NET data, creating a padding oracle. A remote attacker can use these differences to iteratively decrypt protected values such as View State and to modify encrypted payloads so that the server accepts attacker-controlled data. On .NET Framework 3.5 SP1 and later, the flaw can also be leveraged to disclose arbitrary files within the ASP.NET application, including sensitive configuration files. Microsoft addressed the issue by changing ASP.NET to additionally sign encrypted data, preventing attackers from successfully tampering with ciphertext.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation enables information disclosure and integrity compromise of ASP.NET-protected data. An attacker can decrypt server-encrypted values such as View State, modify encrypted data and have it accepted by the application, and in affected later framework versions retrieve arbitrary files within the ASP.NET application, including configuration data that may contain secrets. The vulnerability does not directly provide code execution or privilege escalation, but it can expose sensitive material and enable application-level tampering that may facilitate further compromise.
If you can’t patch tonight, do this now.
If immediate patching is not possible, configure ASP.NET applications to return uniform custom error pages so decryption failures do not expose distinguishable error conditions. Block requests containing the aspxerrorpath query string using IIS Request Filtering or UrlScan, as recommended by Microsoft. For .NET Framework 3.5 SP1 and later, adding randomized delay behavior to the error page can further hinder timing-based exploitation. These measures only reduce exploitability and should not be treated as a substitute for the security update.
Patch, then assume compromise.
Apply the Microsoft security update associated with MS10-070 for all installed affected .NET Framework versions. Microsoft’s fix changes ASP.NET to additionally sign encrypted data, which prevents the padding-oracle-based decryption and tampering technique. Environments with multiple installed affected .NET Framework versions should install all applicable updates offered for those versions. Review Microsoft’s associated knowledge base guidance for package-specific installation considerations and known issues.
1 exploit validated by Mallory's analysis. Hidden: 3 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.