Miggo Logo

CVE-2015-0263: Apache Camel XML External Entity vulnerability

5

CVSS Score

Basic Information

EPSS Score
0.87293%
Published
10/16/2018
Updated
12/19/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.camel:camel-coremaven< 2.13.42.13.4
org.apache.camel:camel-coremaven>= 2.14.0, < 2.14.22.14.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from the absence of the 'setFeature("http://xml.org/sax/features/external-general-entities", false)' call in the SAXParserFactory configuration within toSAXSourceFromStream. The GitHub patch explicitly adds this security measure to disable external entity processing. The CWE-611 mapping and commit message confirming the XXE fix further validate() this as the root cause. The test file modification in XsltDTDTest.java appears to validate() the fix rather than introduce vulnerability.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

XML *xt*rn*l *ntity (XX*) vuln*r**ility in t** XML *onv*rt*r s*tup in *onv*rt*r/j*xp/Xml*onv*rt*r.j*v* in *p**** **m*l ***or* *.**.* *n* *.**.x ***or* *.**.* *llows r*mot* *tt**k*rs to r*** *r*itr*ry *il*s vi* *n *xt*rn*l *ntity in *n S*XSour**.

Reasoning

T** vuln*r**ility st*ms *rom t** **s*n** o* t** 's*t***tur*("*ttp://xml.or*/s*x/***tur*s/*xt*rn*l-**n*r*l-*ntiti*s", **ls*)' **ll in t** `S*XP*rs*r***tory` *on*i*ur*tion wit*in `toS*XSour***romStr**m`. T** *it*u* p*t** *xpli*itly ***s t*is s**urity m