Vulnerabilities > CVE-2012-1876 - Code Injection vulnerability in Microsoft Internet Explorer
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Microsoft Internet Explorer 6 through 9, and 10 Consumer Preview, does not properly handle objects in memory, which allows remote attackers to execute arbitrary code by attempting to access a nonexistent object, leading to a heap-based buffer overflow, aka "Col Element Remote Code Execution Vulnerability," as demonstrated by VUPEN during a Pwn2Own competition at CanSecWest 2012.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 4 | |
OS | Microsoft
| 18 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leverage Executable Code in Non-Executable Files An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- Manipulating User-Controlled Variables This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Exploit-Db
description Microsoft Internet Explorer 8 - Fixed Col Span ID Full ASLR, DEP & EMET 5.1 Bypass (MS12-037). CVE-2012-1876. Remote exploit for windows platform id EDB-ID:35273 last seen 2016-02-04 modified 2014-11-17 published 2014-11-17 reporter ryujin & sickness source https://www.exploit-db.com/download/35273/ title Microsoft Internet Explorer 8 - Fixed Col Span ID Full ASLR, DEP & EMET 5.1 Bypass MS12-037 description Microsoft Internet Explorer Fixed Table Col Span Heap Overflow. CVE-2012-1876. Remote exploit for windows platform id EDB-ID:20174 last seen 2016-02-02 modified 2012-08-02 published 2012-08-02 reporter metasploit source https://www.exploit-db.com/download/20174/ title Microsoft Internet Explorer Fixed Table Col Span Heap Overflow description Microsoft Internet Explorer 8 - Fixed Col Span ID Full ASLR & DEP Bypass (MS12-037). CVE-2012-1876. Remote exploit for windows platform id EDB-ID:24017 last seen 2016-02-02 modified 2013-01-10 published 2013-01-10 reporter sickness source https://www.exploit-db.com/download/24017/ title Microsoft Internet Explorer 8 - Fixed Col Span ID Full ASLR & DEP Bypass MS12-037 description Microsoft Internet Explorer 8 - Fixed Col Span ID Full ASLR, DEP & EMET 5.0 Bypass (MS12-037). CVE-2012-1876. Remote exploit for windows platform id EDB-ID:34815 last seen 2016-02-03 modified 2014-09-29 published 2014-09-29 reporter ryujin & sickness source https://www.exploit-db.com/download/34815/ title Microsoft Internet Explorer 8 - Fixed Col Span ID Full ASLR, DEP & EMET 5.0 Bypass MS12-037 description Microsoft Internet Explorer 8 - Fixed Col Span ID Full ASLR, DEP & EMET 4.1.x Bypass (MS12-037). CVE-2012-1876. Remote exploit for windows platform id EDB-ID:33944 last seen 2016-02-03 modified 2014-07-01 published 2014-07-01 reporter sickness source https://www.exploit-db.com/download/33944/ title Microsoft Internet Explorer 8 - Fixed Col Span ID Full ASLR, DEP & EMET 4.1.x Bypass MS12-037
Metasploit
description | This module exploits a heap overflow vulnerability in Internet Explorer caused by an incorrect handling of the span attribute for col elements from a fixed table, when they are modified dynamically by javascript code. |
id | MSF:EXPLOIT/WINDOWS/BROWSER/MS12_037_IE_COLSPAN |
last seen | 2020-06-13 |
modified | 2017-10-05 |
published | 2012-07-31 |
references | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1876 |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/browser/ms12_037_ie_colspan.rb |
title | MS12-037 Microsoft Internet Explorer Fixed Table Col Span Heap Overflow |
Msbulletin
bulletin_id | MS12-037 |
bulletin_url | |
date | 2012-06-12T00:00:00 |
impact | Remote Code Execution |
knowledgebase_id | 2699988 |
knowledgebase_url | |
severity | Critical |
title | Cumulative Security Update for Internet Explorer |
Nessus
NASL family | Windows : Microsoft Bulletins |
NASL id | SMB_NT_MS12-037.NASL |
description | The remote host is missing Internet Explorer (IE) Security Update 2699988. The installed version of IE is affected by several vulnerabilities that could allow an attacker to execute arbitrary code on the remote host. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 59455 |
published | 2012-06-13 |
reporter | This script is Copyright (C) 2012-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/59455 |
title | MS12-037: Cumulative Security Update for Internet Explorer (2699988) |
code |
|
Oval
accepted | 2014-08-18T04:01:17.563-04:00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
contributors |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description | Microsoft Internet Explorer 6 through 9, and 10 Consumer Preview, does not properly handle objects in memory, which allows remote attackers to execute arbitrary code by attempting to access a nonexistent object, leading to a heap-based buffer overflow, aka "Col Element Remote Code Execution Vulnerability," as demonstrated by VUPEN during a Pwn2Own competition at CanSecWest 2012. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
family | windows | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id | oval:org.mitre.oval:def:15539 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | accepted | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
submitted | 2012-06-18T09:20:00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title | Col Element Remote Code Execution Vulnerability (CVE-2012-1876) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
version | 75 |
Packetstorm
data source https://packetstormsecurity.com/files/download/119467/ie8fixedcol-overflow.txt id PACKETSTORM:119467 last seen 2016-12-05 published 2013-01-11 reporter sickness source https://packetstormsecurity.com/files/119467/Internet-Explorer-8-Heap-Overflow.html title Internet Explorer 8 Heap Overflow data source https://packetstormsecurity.com/files/download/128476/ie8-bypass.txt id PACKETSTORM:128476 last seen 2016-12-05 published 2014-09-29 reporter sickness source https://packetstormsecurity.com/files/128476/Internet-Explorer-8-Fixed-Col-Span-ID-Full-ASLR-DEP-And-EMET-5.0-Bypass.html title Internet Explorer 8 Fixed Col Span ID Full ASLR, DEP, And EMET 5.0 Bypass data source https://packetstormsecurity.com/files/download/127316/iecolspan-bypass.txt id PACKETSTORM:127316 last seen 2016-12-05 published 2014-07-01 reporter sickness source https://packetstormsecurity.com/files/127316/Internet-Explorer-8-Bypass.html title Internet Explorer 8 Bypass data source https://packetstormsecurity.com/files/download/115155/ms12_037_ie_colspan.rb.txt id PACKETSTORM:115155 last seen 2016-12-05 published 2012-08-01 reporter Alexandre Pelletier source https://packetstormsecurity.com/files/115155/Microsoft-Internet-Explorer-Fixed-Table-Col-Span-Heap-Overflow.html title Microsoft Internet Explorer Fixed Table Col Span Heap Overflow
Saint
bid | 53848 |
description | Internet Explorer COL SPAN Heap Overflow |
id | win_patch_ie_v8 |
osvdb | 82866 |
title | ie_col_span_heap_overflow |
type | client |
Seebug
bulletinFamily exploit description No description provided by source. id SSV:74062 last seen 2017-11-19 modified 2014-07-01 published 2014-07-01 reporter Root source https://www.seebug.org/vuldb/ssvid-74062 title Microsoft Internet Explorer Fixed Table Col Span Heap Overflow bulletinFamily exploit description No description provided by source. id SSV:60566 last seen 2017-11-19 modified 2013-01-10 published 2013-01-10 reporter Root source https://www.seebug.org/vuldb/ssvid-60566 title Internet Explorer 8 Fixed Col Span ID full ASLR & DEP bypass bulletinFamily exploit description No description provided by source. id SSV:87309 last seen 2017-11-19 modified 2014-10-10 published 2014-10-10 reporter Root source https://www.seebug.org/vuldb/ssvid-87309 title Internet Explorer 8 - Fixed Col Span ID Full ASLR, DEP & EMET 5.0 Bypass (MS12-037) bulletinFamily exploit description No description provided by source. id SSV:87111 last seen 2017-11-19 modified 2014-07-02 published 2014-07-02 reporter Root source https://www.seebug.org/vuldb/ssvid-87111 title Internet Explorer 8 - Fixed Col Span ID Full ASLR, DEP & EMET 4.1.X Bypass
References
- http://pwn2own.zerodayinitiative.com/status.html
- http://twitter.com/vupen/statuses/177895844828291073
- http://arstechnica.com/business/news/2012/03/ie-9-on-latest-windows-gets-stomped-at-hacker-contest.ars
- http://www.zdnet.com/blog/security/pwn2own-2012-ie-9-hacked-with-two-0day-vulnerabilities/10621
- http://www.us-cert.gov/cas/techalerts/TA12-164A.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15539
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-037