Miggo Logo

CVE-2017-15683: XML injection in Crafter CMS

8.6

CVSS Score
3.1

Basic Information

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

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.craftercms:crafter-coremaven>= 3.0.0, < 3.0.13.0.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The patch adds @ResponseBody annotations to exception handlers in RestControllerBase. This indicates the vulnerability stemmed from improper response formatting in error handling. Attackers could trigger these exceptions with malicious input during site creation operations, causing the system to return unescaped XML responses. The missing annotations likely allowed raw error data to be interpreted as XML, enabling XML injection attacks. All four exception handlers would appear in runtime profiles when attackers trigger exceptions through crafted site creation requests.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

In *r**t*r *MS *r**t*r Stu*io *.* prior to *.*.* *n un*ut**nti**t** *tt**k*r is **l* to *r**t* * sit* wit* sp**i*lly *r**t** XML t**t *llows t** r*tri*v*l o* OS *il*s out-o*-**n*.

Reasoning

T** p*t** ***s @R*spons**o*y *nnot*tions to *x**ption **n*l*rs in R*st*ontroll*r**s*. T*is in*i**t*s t** vuln*r**ility st*mm** *rom improp*r r*spons* *orm*ttin* in *rror **n*lin*. *tt**k*rs *oul* tri***r t**s* *x**ptions wit* m*li*ious input *urin* s