Miggo Logo

CVE-2017-15691: Improper Restriction of XML External Entity Reference in Apache uimaj

6.5

CVSS Score
3.0

Basic Information

EPSS Score
0.71952%
Published
5/14/2022
Updated
1/27/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.uima:uimafit-coremaven< 2.4.02.4.0
org.apache.uima:uimaj-coremaven< 2.10.22.10.2
org.apache.uima:uimaj-coremaven>= 3.0.0-alpha, <= 3.0.0-alpha023.0.0-beta
org.apache.uima:uimaj-as-coremaven< 2.10.22.10.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from XML parsers in UIMA components not properly restricting external entity expansion. While no direct patch diffs are provided, the CVE description and security reports indicate the issue exists in multiple XML processing points across UIMA's configuration handling. Standard XXE mitigation in Java XML parsers involves:

  1. Disabling DTD processing
  2. Enabling FEATURE_SECURE_PROCESSING
  3. Preventing external entity expansion

Key XML parsing entry points would be in configuration handlers for analysis engines, type systems, and component descriptors. The identified functions represent core XML processing locations that would need security configuration changes (as evidenced by the patched versions' release notes). Confidence is medium due to reliance on vulnerability patterns rather than direct patch analysis, but aligns with:

  • The CWE-611 classification
  • UIMA's XML-heavy configuration system
  • Standard Java XXE mitigation patterns
  • The distributed nature of fixes across multiple components (uimaj-core, uimafit, etc.)

Vulnerable functions

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

WAF Protection Rules

WAF Rule

In *p**** uim*j prior to *.**.*, *p**** uim*j *.*.*-xxx prior to *.*.*-**t*, *p**** uim*-*s prior to *.**.*, *p**** uim**IT prior to *.*.*, *p**** uim**U** prior to *.*.*, t*is vuln*r**ility r*l*t*s to *n XML *xt*rn*l *ntity *xp*nsion (XX*) **p**ilit

Reasoning

T** vuln*r**ility st*ms *rom XML p*rs*rs in UIM* *ompon*nts not prop*rly r*stri*tin* *xt*rn*l *ntity *xp*nsion. W*il* no *ir**t p*t** *i**s *r* provi***, t** *V* **s*ription *n* s**urity r*ports in*i**t* t** issu* *xists in multipl* XML pro**ssin* po