Miggo Logo

CVE-2013-6348: Apache Struts is vulnerable to Cross-site Scripting

4.3

CVSS Score

Basic Information

EPSS Score
0.90864%
Published
5/17/2022
Updated
8/15/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.struts:struts2-coremaven< 2.3.162.3.16

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability documentation explicitly identifies actionNames.action and showConfig.action in the config-browser plugin as entry points. These actions correspond to execute() methods in Struts Action classes. The JIRA ticket WW-4213 confirms the fix involved sanitizing input parameters in the Config Browser plugin, and the CVE describes improper neutralization of the 'namespace' parameter. The functions handling these actions would be responsible for processing the vulnerable parameter and rendering it unsafely in responses.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

Multipl* *ross-sit* s*riptin* (XSS) vuln*r**iliti*s in *p**** Struts *.*.**.* *llow r*mot* *tt**k*rs to inj**t *r*itr*ry w** s*ript or *TML vi* t** n*m*sp*** p*r*m*t*r to (*) **tionN*m*s.**tion *n* (*) s*ow*on*i*.**tion in `*on*i*-*rows*r/`.

Reasoning

T** vuln*r**ility *o*um*nt*tion *xpli*itly i**nti*i*s `**tionN*m*s.**tion` *n* `s*ow*on*i*.**tion` in t** `*on*i*-*rows*r` plu*in *s *ntry points. T**s* **tions *orr*spon* to `*x**ut*()` m*t*o*s in Struts **tion *l*ss*s. T** JIR* ti*k*t WW-**** *on*i