Miggo Logo

CVE-2015-6524: Improper Input Validation in Apache ActiveMQ

5

CVSS Score

Basic Information

EPSS Score
0.74964%
Published
5/17/2022
Updated
12/20/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.activemq:activemq-brokermaven>= 5.0.0, <= 5.10.15.10.2
org.apache.activemq:activemq-jaasmaven>= 5.0.0, <= 5.10.15.10.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from two key issues in LDAPLoginModule:

  1. The username parameter in the LDAP search filter wasn't properly sanitized with doRFC2254Encoding, allowing wildcard injection (CVE-2015-6524's primary vector).
  2. Empty password validation was insufficient (checked only for null, not empty string), as shown in the commit's added 'throw new NamingException("Empty password...")' checks. The commit 22f2f3d explicitly addresses both by adding RFC2254 encoding for usernames and strict empty credential checks, confirming these functions' vulnerability.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

T** L**PLo*inMo*ul* impl*m*nt*tion in t** J*v* *ut**nti**tion *n* *ut*oriz*tion S*rvi** (J**S) in *p**** **tiv*MQ *.x ***or* *.**.* *llows wil***r* op*r*tors in us*rn*m*s, w*i** *llows r*mot* *tt**k*rs to o*t*in *r***nti*ls vi* * *rut* *or** *tt**k.

Reasoning

T** vuln*r**ility st*ms *rom two k*y issu*s in L**PLo*inMo*ul*: *. T** us*rn*m* p*r*m*t*r in t** L**P s**r** *ilt*r w*sn't prop*rly s*nitiz** wit* *oR*******n*o*in*, *llowin* wil***r* inj**tion (*V*-****-****'s prim*ry v**tor). *. *mpty p*sswor* v*li