Miggo Logo

CVE-2022-25897: Eclipse Milo vulnerable to Resource Exhaustion (Denial of Service)

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.15846%
Published
9/15/2022
Updated
2/2/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.eclipse.milo:sdk-servermaven< 0.6.80.6.8

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing per-session limits for monitored items. The pre-patch version of createMonitoredItems in SubscriptionManager.java only checked the global server-wide limit (getMaxMonitoredItems), allowing attackers to create multiple sessions each allocating the maximum allowed global items. The patch added a new getMaxMonitoredItemsPerSession check and session-level tracking (monitoredItemCount), confirming this was the vulnerable point. The function's lack of session-level throttling enabled the resource exhaustion attack vector when combined with session reuse (deleteSubscriptions=False).

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Imp**t **ni*l o* S*rvi** ### **t*ils OP* U* sp**i*i**tion **s*ri**s * *on**pt n*m** _Su*s*riptions_. _Su*s*riptions_ monitor * s*t o* _Monitor** It*ms_ *or _Noti*i**tions_ *n* r*turn t**m to t** _*li*nt_ in r*spons* to _Pu*lis*_ r*qu*sts. T**

Reasoning

T** vuln*r**ility st*ms *rom missin* p*r-s*ssion limits *or monitor** it*ms. T** pr*-p*t** v*rsion o* *r**t*Monitor**It*ms in Su*s*riptionM*n***r.j*v* only ****k** t** *lo**l s*rv*r-wi** limit (**tM*xMonitor**It*ms), *llowin* *tt**k*rs to *r**t* mult