what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

.NET 4 Remote Code Execution

.NET 4 Remote Code Execution
Posted May 31, 2012
Authored by James Forshaw, Context Information Security Ltd

.NET versions 1.0 through 4 suffer from a remote code execution vulnerability.

tags | advisory, remote, code execution
advisories | CVE-2012-0160, CVE-2012-0161
SHA-256 | 307f395b028ac122304fef534240c7e23084013f6280c7430f0e184b83090603

.NET 4 Remote Code Execution

Change Mirror Download
===============================ADVISORY===============================
Systems Affected: .NET 1.0 through .NET 4
Severity: High
Category: Remote Code Execution
Author: Context Information Security
Reported to vendor: 17th March 2011
Advisory Issued: 8th May 2012
Reference: CVE-2012-0160, CVE-2012-0161
===============================ADVISORY===============================

Description
-----------
The Microsoft .NET framework (in all released versions) is vulnerable to a number of attacks through the misuse of binary serialization which could be leveraged to disclose important information or to achieve remote code execution.

Analysis
--------
The .NET framework has a number of serialization mechanisms a developer can use to load and save object instances either to permanent storage locations or for use in the transport of objects across boundaries. Probably the most important of these is the IFormatter serializers, specifically BinaryFormatter which has existed in one form since the very first version of the framework.

It is common to see this used as a mechanism for data storage, object marshalling and object cloning. This can lead to situations where an attacker can introduce malicious objects into an application either remotely over a network or through a sandboxed environment.

Through the use of specific functionality an attacker can then leverage this situation to circumvent security mechanisms and gain remote code execution without user interaction or to disclosure important information.


Technologies Affected
---------------------
Microsoft .Net Frameworks 1.0 through 4.0

Vendor Response
---------------
Microsoft advises users to patch the .Net Framework to the latest version. See the following Microsoft security bulletin for more details:
http://technet.microsoft.com/en-us/security/bulletin/ms12-035

There are a number of mitigations which reduce the severity of the issues which are also detailed in Microsoft’s bulletin.

Disclosure Timeline
-------------------
13th March 2011 – Vendor Notification
8th May 2012 – Vendor Patch Released


Credits
--------
James Forshaw of Context Information Security


About Context Information Security
----------------------------------
Context was launched in 1998 and has a client base that includes some of the world’s most high profile blue chip companies, alongside government organisations. An exceptional level of technical expertise underpins all Context services, while a detailed and comprehensive approach helps clients to attain a deeper understanding of security vulnerabilities, threats or incidents. The company’s strong track record is based above all, on the technical skills, professionalism, independence and integrity of its consultants.

Many of the world's most successful organisations turn to Context for technical assurance, incident response and investigation services. Context is also at the forefront of research and development in security technology. As well as publishing white papers and blogs addressing current and emerging security threats and trends, Context consultants are frequently invited to present at open and closed industry events around the world. Context delivers a comprehensive portfolio of advanced technical services and with offices in the UK, Germany and Australia, is ideally placed to work with clients worldwide.

Web: www.contextis.com
Email: disclosure@contextis.com




Login or Register to add favorites

File Archive:

May 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    15 Files
  • 2
    May 2nd
    16 Files
  • 3
    May 3rd
    38 Files
  • 4
    May 4th
    15 Files
  • 5
    May 5th
    35 Files
  • 6
    May 6th
    0 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    8 Files
  • 9
    May 9th
    65 Files
  • 10
    May 10th
    19 Files
  • 11
    May 11th
    27 Files
  • 12
    May 12th
    8 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    1 Files
  • 15
    May 15th
    19 Files
  • 16
    May 16th
    66 Files
  • 17
    May 17th
    28 Files
  • 18
    May 18th
    32 Files
  • 19
    May 19th
    13 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    23 Files
  • 23
    May 23rd
    15 Files
  • 24
    May 24th
    49 Files
  • 25
    May 25th
    20 Files
  • 26
    May 26th
    13 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    11 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close