Spring LDAPのテスト用サーバーに脆弱性、修正版あり
Summary
Spring LDAPのテスト用ライブラリspring-ldap-testが起動する組み込みLDAPサーバーに、固定の管理者資格情報で誰でも接続できる脆弱性があります。CIや開発環境で使っているチームは、依存関係を確認して修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Spring LDAPのテスト用ライブラリspring-ldap-testが起動する組み込みLDAPサーバーに、固定の管理者資格情報で誰でも接続できる脆弱性があります。CIや開発環境で使っているチームは、依存関係を確認して修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpringSpring LDAP |
≥ 4.1.0, < 4.1.2.1→ 4.1.2.1 ≥ 4.0.0, < 4.0.6.1→ 4.0.6.1 ≥ 3.3.0, < 3.3.10→ 3.3.10 ≥ 3.2.0, < 3.2.20→ 3.2.20 < 2.4.7→ 2.4.7 ≥ 4.1.0, < 4.1.3→ 4.1.3 ≥ 4.0.0, < 4.0.7→ 4.0.7 |
4.1.2.1 4.0.6.1 3.3.10 3.2.20 2.4.7 4.1.3 4.0.7 |
Original description The description as published by the source.
The embedded LDAP server provided by the spring-ldap-test artifact listens on every network interface of the host and accepts a fixed, publicly known administrative credential.
EmbeddedLdapServer is intended as a test fixture for the machine that runs it. However, its listener is not restricted to the loopback interface, and its administrative bind credential is built into the library rather than supplied by the application. Anyone who can reach the listening port can therefore authenticate as the directory administrator.
Preconditions :
The application or test suite starts an EmbeddedLdapServer (directly or through Spring LDAP's test support)
The host running it is reachable over the network by an untrusted party, for example a shared CI agent, a shared development network, or a container with a published port
An attacker who can reach the port can read, add, modify, and delete entries in the embedded directory, and can disrupt tests that depend on its contents.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web spring.io
- web nvd.nist.gov
- web nvd.nist.gov
- web github.com