Vulnerabilities > CVE-2009-0609 - Improper Input Validation vulnerability in SUN Java System Directory Server
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Sun Java System Directory Proxy Server in Sun Java System Directory Server Enterprise Edition 6.0 through 6.3, when a JDBC data source is used, does not properly handle (1) a long value in an ADD or (2) long string attributes, which allows remote attackers to cause a denial of service (JDBC backend outage) via crafted LDAP requests.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 4 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Server Side Include (SSI) Injection An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
- Cross Zone Scripting An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
- Cross Site Scripting through Log Files An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
- Command Line Execution through SQL Injection An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.
Nessus
NASL family Denial of Service NASL id SUN_DIRECTORY_SERVER_LDAP_REQ_DOS.NASL description The remote host is running the Sun Java System Directory Server, an LDAP server from Sun Microsystems. The installed version is older than 6.3.1, and the proxy server included with such versions is reportedly affected by a denial of service vulnerability. By sending a specially crafted request to the JDBC backend through the proxy server, an unauthenticated, remote attacker may be able to trigger a denial of service condition. last seen 2020-06-01 modified 2020-06-02 plugin id 35688 published 2009-02-13 reporter This script is Copyright (C) 2009-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/35688 title Sun Java System Directory Server 6.x < 6.3.1 LDAP JDBC Backend DoS code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(35688); script_version("1.13"); script_cve_id("CVE-2009-0609"); script_bugtraq_id(33761); script_xref(name:"Secunia", value:"33923"); script_name(english:"Sun Java System Directory Server 6.x < 6.3.1 LDAP JDBC Backend DoS"); script_summary(english:"Checks the version of Sun Java System Directory Server"); script_set_attribute(attribute:"synopsis", value: "The remote LDAP server is affected by a denial of service vulnerability." ); script_set_attribute(attribute:"description", value: "The remote host is running the Sun Java System Directory Server, an LDAP server from Sun Microsystems. The installed version is older than 6.3.1, and the proxy server included with such versions is reportedly affected by a denial of service vulnerability. By sending a specially crafted request to the JDBC backend through the proxy server, an unauthenticated, remote attacker may be able to trigger a denial of service condition." ); script_set_attribute(attribute:"see_also", value: "https://download.oracle.com/sunalerts/1020026.1.html" ); script_set_attribute(attribute:"solution", value: "Upgrade to Sun Java System Directory Server version 6.3.1." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"exploit_available", value:"false"); script_cwe_id(20); script_set_attribute(attribute:"patch_publication_date", value: "2009/02/12"); script_set_attribute(attribute:"plugin_publication_date", value: "2009/02/13"); script_cvs_date("Date: 2018/11/15 20:50:21"); script_set_attribute(attribute:"plugin_type", value:"remote"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Denial of Service"); script_copyright(english:"This script is Copyright (C) 2009-2018 Tenable Network Security, Inc."); script_dependencies("ldap_search.nasl"); script_require_ports("Services/ldap", 389); exit(0); } include("global_settings.inc"); port = get_kb_item("Services/ldap"); if (!port) port = 389; ver = get_kb_item(string("LDAP/",port,"/vendorVersion")); if (!ver) exit(0); if (ereg(pattern:"^Sun-Java\(tm\)-System-Directory/6.([0-2]($|\.)|3$)",string:ver)) { if (report_verbosity > 0) { ver = ver - "Sun-Java(tm)-System-Directory/"; report = string( "\n", "Sun Java System Directory Server version ",ver, " is installed on\n", "the remote host.\n" ); security_warning(port:port, extra:report); } else security_warning(port); }
NASL family Solaris Local Security Checks NASL id SOLARIS9_125276.NASL description Directory Server Enterprise Edition 6.3.1 : SunOS 5.9/5.10 Sparc N. Date this patch was last updated by Sun : Feb/09/09 last seen 2017-10-29 modified 2011-12-27 plugin id 25544 published 2007-06-18 reporter Tenable source https://www.tenable.com/plugins/index.php?view=single&id=25544 title Solaris 5.9 (sparc) : 125276-08 code #%NASL_MIN_LEVEL 999999 # @DEPRECATED@ # # This script has been deprecated as the associated patch is not # currently a recommended security fix. # # Disabled on 2011/12/27. # # # (C) Tenable Network Security, Inc. # # if ( ! defined_func("bn_random") ) exit(0); include("compat.inc"); if(description) { script_id(25544); script_version("1.18"); script_name(english: "Solaris 5.9 (sparc) : 125276-08"); script_cve_id("CVE-2009-0609"); script_set_attribute(attribute: "synopsis", value: "The remote host is missing Sun Security Patch number 125276-08"); script_set_attribute(attribute: "description", value: 'Directory Server Enterprise Edition 6.3.1 : SunOS 5.9/5.10 Sparc N. Date this patch was last updated by Sun : Feb/09/09'); script_set_attribute(attribute: "solution", value: "You should install this patch for your system to be up-to-date."); script_set_attribute(attribute: "see_also", value: "https://getupdates.oracle.com/readme/125276-08"); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C"); script_cwe_id(20); script_set_attribute(attribute: "patch_publication_date", value: "2009/02/09"); script_set_attribute(attribute: "cpe", value: "cpe:/o:sun:solaris"); script_set_attribute(attribute: "plugin_type", value: "local"); script_set_attribute(attribute:"plugin_publication_date", value: "2007/06/18"); script_cvs_date("Date: 2018/08/13 14:32:38"); script_end_attributes(); script_summary(english: "Check for patch 125276-08"); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2007-2018 Tenable Network Security, Inc."); family["english"] = "Solaris Local Security Checks"; script_family(english:family["english"]); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/Solaris/showrev"); exit(0); } # Deprecated. exit(0, "The associated patch is not currently a recommended security fix."); include("solaris.inc"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-console-agent", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-console-cli", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-console-common", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-console-gui-help", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-console-gui", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-directory-client", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-directory-config", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-directory-dev", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-directory-ha", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-directory-man", version:"6.0,REV=2006.11.06.18.13"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-directory", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-proxy-client", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-proxy-config", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-proxy-man", version:"6.0,REV=2006.11.06.18.13"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-proxy", version:"6.0,REV=2007.01.25"); e += solaris_check_patch(release:"5.9", arch:"sparc", patch:"125276-08", obsoleted_by:"", package:"SUNWldap-shared", version:"6.0,REV=2007.01.25"); if ( e < 0 ) { if ( NASL_LEVEL < 3000 ) security_hole(0); else security_hole(port:0, extra:solaris_get_report()); exit(0); } exit(0, "Host is not affected");
NASL family Solaris Local Security Checks NASL id SOLARIS10_125276.NASL description Directory Server Enterprise Edition 6.3.1.1.2 : SunOS 5.10 Sparc N. Date this patch was last updated by Sun : Jul/15/13 This plugin has been deprecated and either replaced with individual 125276 patch-revision plugins, or deemed non-security related. last seen 2019-02-21 modified 2018-07-30 plugin id 26986 published 2007-10-12 reporter Tenable source https://www.tenable.com/plugins/index.php?view=single&id=26986 title Solaris 10 (sparc) : 125276-10 (deprecated)
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 33761 CVE(CAN) ID: CVE-2009-0609 Sun Java系统目录服务器是Java企业系统的一个组件,为企业管理大量用户信息提供用户管理基础架构。 Sun Java系统目录服务器企业版的Sun Java系统目录代理服务器组件中存在拒绝服务漏洞,本地或远程非特权用户可以通过发送特制的LDAP请求导致服务器不响应某些表示JDBC后端的请求。 Sun Java System Directory Server 企业版6.3 Sun Java System Directory Server 企业版6.2 Sun Java System Directory Server 企业版6.1 Sun Java System Directory Server 企业版6.0 Sun --- Sun已经为此发布了一个安全公告(Sun-Alert-251086)以及相应补丁: Sun-Alert-251086:A Security Vulnerability in the Sun Java System Server, Related to the Directory Proxy Server, May Lead to a Denial of Service (DoS) Condition 链接:<a href=http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-251086-1 target=_blank rel=external nofollow>http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-251086-1</a> |
id | SSV:4788 |
last seen | 2017-11-19 |
modified | 2009-02-19 |
published | 2009-02-19 |
reporter | Root |
title | Sun Java系统目录服务器目录代理服务器组件JDBC后端拒绝服务漏洞 |
References
- http://secunia.com/advisories/33923
- http://secunia.com/advisories/33923
- http://sunsolve.sun.com/search/document.do?assetkey=1-21-125276-08-1
- http://sunsolve.sun.com/search/document.do?assetkey=1-21-125276-08-1
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-251086-1
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-251086-1
- http://www.securityfocus.com/bid/33761
- http://www.securityfocus.com/bid/33761