Org.openidentityplatform.opendj:opendj dsml servlet: OpenDJ unauthenticated SSRF, local file read and unbounded-read DoS in the DSMLv2 gateway
OpenDJ DSMLv2 SOAP gateway versions prior to 5.1.2 allow unauthenticated remote attackers to perform server-side request forgery (SSRF), local file reads, and unbounded memory consumption leading to denial of service (DoS). This is due to dereferencing attacker-supplied anyURI values without proper allowlisting, egress filtering, or size limits. The vulnerability is fixed in version 5.1.2 by disabling anyURI dereferencing by default, enforcing an http/https allowlist, blocking loopback and private addresses, refusing redirects, capping read sizes, and requiring authentication by default.
AI Analysis
Technical Summary
The DSMLv2 SOAP gateway (opendj-dsml-servlet) in OpenIdentityPlatform OpenDJ through version 5.1.1 is vulnerable to unauthenticated SSRF, local file read, and unbounded-read DoS attacks. This occurs because the gateway dereferences attacker-controlled xsd:anyURI values server-side without a scheme allowlist, egress filtering, or size caps, and is accessible without authentication by default. An attacker can submit DSML add/modify requests with URIs that trigger SSRF against internal services and cloud metadata endpoints, read local files via file: URIs, or cause memory exhaustion by unbounded response reads. The issue is resolved in version 5.1.2 by disabling anyURI dereferencing by default, restricting allowed URI schemes to http/https, blocking loopback, link-local, private, and reserved IP targets, refusing HTTP redirects, capping bytes read, and enforcing container-managed authentication by default.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to perform server-side request forgery (SSRF), potentially accessing internal services and cloud metadata endpoints. They can also read local files on the server and cause denial of service by exhausting memory through unbounded reads. The confidentiality and availability of the affected system are impacted, with high confidentiality impact and high availability impact as per the CVSS vector.
Mitigation Recommendations
A fixed version 5.1.2 of OpenDJ DSMLv2 SOAP gateway is available that disables anyURI dereferencing by default, enforces an http/https allowlist, blocks loopback and private IP addresses, refuses HTTP redirects, caps the bytes read, and requires container-managed authentication by default. Users should upgrade to version 5.1.2 or later to remediate this vulnerability. No additional mitigation is required if running the fixed version.
Org.openidentityplatform.opendj:opendj dsml servlet: OpenDJ unauthenticated SSRF, local file read and unbounded-read DoS in the DSMLv2 gateway
Description
OpenDJ DSMLv2 SOAP gateway versions prior to 5.1.2 allow unauthenticated remote attackers to perform server-side request forgery (SSRF), local file reads, and unbounded memory consumption leading to denial of service (DoS). This is due to dereferencing attacker-supplied anyURI values without proper allowlisting, egress filtering, or size limits. The vulnerability is fixed in version 5.1.2 by disabling anyURI dereferencing by default, enforcing an http/https allowlist, blocking loopback and private addresses, refusing redirects, capping read sizes, and requiring authentication by default.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The DSMLv2 SOAP gateway (opendj-dsml-servlet) in OpenIdentityPlatform OpenDJ through version 5.1.1 is vulnerable to unauthenticated SSRF, local file read, and unbounded-read DoS attacks. This occurs because the gateway dereferences attacker-controlled xsd:anyURI values server-side without a scheme allowlist, egress filtering, or size caps, and is accessible without authentication by default. An attacker can submit DSML add/modify requests with URIs that trigger SSRF against internal services and cloud metadata endpoints, read local files via file: URIs, or cause memory exhaustion by unbounded response reads. The issue is resolved in version 5.1.2 by disabling anyURI dereferencing by default, restricting allowed URI schemes to http/https, blocking loopback, link-local, private, and reserved IP targets, refusing HTTP redirects, capping bytes read, and enforcing container-managed authentication by default.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to perform server-side request forgery (SSRF), potentially accessing internal services and cloud metadata endpoints. They can also read local files on the server and cause denial of service by exhausting memory through unbounded reads. The confidentiality and availability of the affected system are impacted, with high confidentiality impact and high availability impact as per the CVSS vector.
Mitigation Recommendations
A fixed version 5.1.2 of OpenDJ DSMLv2 SOAP gateway is available that disables anyURI dereferencing by default, enforces an http/https allowlist, blocks loopback and private IP addresses, refuses HTTP redirects, caps the bytes read, and requires container-managed authentication by default. Users should upgrade to version 5.1.2 or later to remediate this vulnerability. No additional mitigation is required if running the fixed version.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-68r5-9hpg-7qw9
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["Maven"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6a6542219c2644c7f80884e9
Added to database: 07/25/2026, 23:09:21 UTC
Last enriched: 07/25/2026, 23:52:51 UTC
Last updated: 07/26/2026, 04:52:02 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.