Miggo Logo

CVE-2025-27497:
OpenDJ Denial of Service (DoS) using alias loop

8.7

CVSS Score

Basic Information

EPSS Score
-
Published
3/5/2025
Updated
3/5/2025
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.openidentityplatform.opendj:opendj-server-legacymaven< 4.9.34.9.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from the alias dereferencing logic in processSearch method. The pre-patch code (shown in the diff) recursively calls processSearch() when encountering aliases without tracking visited entries. This allows infinite recursion when alias loops exist. The fix adds a dereferencingDNs set to track visited DNs and prevent cycles, confirming this was the vulnerable code path. The CWE-835 mapping and stack overflow error in the description further validate this as the root cause.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Summ*ry * **ni*l-o*-s*rvi** (*oS) vuln*r**ility in Op*n*J **s ***n *is*ov*r** t**t **us*s t** s*rv*r to ***om* unr*sponsiv* to *ll L**P r*qu*sts wit*out *r*s*in* or r*st*rtin*. T*is issu* o**urs w**n *n *li*s loop *xists in t** L**P **t***s*. I*

Reasoning

T** vuln*r**ility st*ms *rom t** *li*s **r***r*n*in* lo*i* in pro**ssS**r** m*t*o*. T** pr*-p*t** *o** (s*own in t** *i**) r**ursiv*ly **lls pro**ssS**r**() w**n *n*ount*rin* *li*s*s wit*out tr**kin* visit** *ntri*s. T*is *llows in*init* r**ursion w*