Miggo Logo

CVE-2012-0393: Apache Struts's ParameterInterceptor component does not prevent access to public constructors

N/A

CVSS Score

Basic Information

EPSS Score
0.99507%
CWE
-
Published
5/4/2022
Updated
3/14/2024
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
-
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.struts.xwork:xwork-coremaven< 2.2.3.12.2.3.1
org.apache.struts:struts2-coremaven< 2.3.1.12.3.1.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from insufficient input sanitization in parameter handling components. The ParametersInterceptor's loose regex allowed malicious parameter names to bypass security checks, while ConversionErrorInterceptor and RepopulateConversionErrorFieldValidatorSupport lacked proper OGNL escaping in error handling paths. The commit patches explicitly address these points by tightening regex patterns and adding escaping, confirming these functions' roles in the vulnerability.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

T** P*r*m*t*rInt*r**ptor *ompon*nt in *p**** Struts ***or* *.*.*.* *o*s not pr*v*nt ****ss to pu*li* *onstru*tors, w*i** *llows r*mot* *tt**k*rs to *r**t* or ov*rwrit* *r*itr*ry *il*s vi* * *r**t** p*r*m*t*r t**t tri***rs t** *r**tion o* * J*v* o*j**

Reasoning

T** vuln*r**ility st*ms *rom insu**i*i*nt input s*nitiz*tion in p*r*m*t*r **n*lin* *ompon*nts. T** `P*r*m*t*rsInt*r**ptor`'s loos* r***x *llow** m*li*ious p*r*m*t*r n*m*s to *yp*ss s**urity ****ks, w*il* `*onv*rsion*rrorInt*r**ptor` *n* `R*popul*t**o