Miggo Logo

CVE-2024-32656: Ant Media Server vulnerable to a local privilege escalation

7.8

CVSS Score
3.1

Basic Information

EPSS Score
0.11584%
Published
4/22/2024
Updated
4/23/2024
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
io.antmedia:ant-media-servermaven>= 2.6.0, < 2.9.02.9.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from insecure JMX configuration parameters in the systemd service file (antmedia.service), not from specific code functions. The Java process was started with JMX enabled (-Dcom.sun.management.jmxremote) without authentication (-Dcom.sun.management.jmxremote.authenticate=false) or SSL (-Dcom.sun.management.jmxremote.ssl=false). While the MLet bean in JMX is the exploitation mechanism, it's part of the Java platform rather than Ant Media Server's codebase. The root cause is the insecure configuration in the service definition, not a specific function in the application code. No application-layer functions were modified in the patch - the fix involved removing JVM flags from the service template.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Imp**t W* **v* i**nti*i** * lo**l privil*** *s**l*tion vuln*r**ility in *nt M**i* S*rv*r w*i** *llows *ny unprivil**** op*r*tin* syst*m us*r ***ount to *s**l*t* privil***s to t** root us*r ***ount on t** syst*m. T*is vuln*r**ility *ris*s *rom *nt

Reasoning

T** vuln*r**ility st*ms *rom ins**ur* JMX *on*i*ur*tion p*r*m*t*rs in t** syst*m* s*rvi** *il* (`*ntm**i*.s*rvi**`), not *rom sp**i*i* *o** *un*tions. T** J*v* pro**ss w*s st*rt** wit* JMX *n**l** (`-**om.sun.m*n***m*nt.jmxr*mot*`) wit*out *ut**nti**