CVE-2018-1000134: Unboundid ldapsdk Weak Password Requirements Vulnerability
CRITICALCVE-2018-1000134 is a CRITICAL (CVSS 9.8) weak password requirements vulnerability (CWE-521: Weak Password Requirements) affecting Unboundid ldapsdk libraries in the Maven ecosystem. The issue involves weak password requirements in unboundid ldap sdk. Remediation is available by upgrading affected packages to version 4.0.5.
CVE-2018-1000134 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2018-1000134
To remediate this vulnerability, upgrade all affected Unboundid ldapsdk dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.unboundid</groupId>
<artifactId>unboundid-ldapsdk</artifactId>
<version>4.0.5</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.unboundid
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2018-1000134, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.unboundid
Analyze the terminal output to locate any version of Unboundid ldapsdk in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.5), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.unboundid command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-521: Weak Password Requirements, where the product does not require that users should have strong passwords. In Unboundid ldapsdk, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-1000134 Affected Unboundid ldapsdk Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.unboundid:unboundid-ldapsdk
|
Maven |
≥ 1.1.0
< 4.0.5
|
4.0.5
|
References
Frequently Asked Questions
What is CVE-2018-1000134?
Which Unboundid ldapsdk versions are affected?
What version fixes CVE-2018-1000134?
Is unboundid-ldapsdk affected?
What is the CVSS score of CVE-2018-1000134?
What CWE is associated with CVE-2018-1000134?
How can I check Maven dependencies for CVE-2018-1000134?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qwq9-8rpf-8mp7",
"modified" : "2022-06-30T18:01:12Z",
"published" : "2022-05-13T01:48:32Z",
"aliases" : [ "CVE-2018-1000134" ],
"summary" : "Weak Password Requirements in UnboundID LDAP SDK",
"details" : "UnboundID LDAP SDK version from commit 801111d8b5c732266a5dbd4b3bb0b6c7b94d7afb up to commit 8471904a02438c03965d21367890276bc25fa5a6, where the issue was reported and fixed contains an Incorrect Access Control vulnerability in process function in SimpleBindRequest class doesn't check for empty password when running in synchronous mode. The issue can result in ability to impersonate any valid user. This attack appear to be exploitable via Providing valid username and empty password against servers that do not do additional validation as per https://tools.ietf.org/html/rfc4513#section-5.1.1. This vulnerability appears to have been fixed in commit 8471904a02438c03965d21367890276bc25fa5a6.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.unboundid:unboundid-ldapsdk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "4.0.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000134"
}, {
"type" : "WEB",
"url" : "https://github.com/pingidentity/ldapsdk/issues/40"
}, {
"type" : "WEB",
"url" : "https://github.com/pingidentity/ldapsdk/commit/801111d8b5c732266a5dbd4b3bb0b6c7b94d7afb"
}, {
"type" : "WEB",
"url" : "https://github.com/pingidentity/ldapsdk/commit/8471904a02438c03965d21367890276bc25fa5a6#diff-f6cb23b459be1ec17df1da33760087fd"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:1713"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pingidentity/ldapsdk"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/103458"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-521" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-30T18:01:12Z",
"nvd_published_at" : "2018-03-16T14:29:00Z"
}
}