Miggo Logo

CVE-2008-5720: Mayaa Cross-site Scripting vulnerability

4.3

CVSS Score

Basic Information

EPSS Score
0.63933%
Published
5/17/2022
Updated
2/9/2024
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
com.github.seasarorg.mayaa:mayaamaven< 1.1.231.1.23

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from the default error page for PageNotFoundException (and possibly other exceptions) not sanitizing user input. The EngineUtil class in Mayaa's codebase is a core component responsible for engine operations, and the handlePageNotFoundException() method would logically be involved in exception handling. Since the advisory explicitly implicates the default error page rendering for this exception, the function responsible for generating this page (which includes unsanitized user/exception data) is the most likely candidate. The lack of output encoding in this error rendering pathway directly enables the XSS vulnerability.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*ross-sit* s*riptin* (XSS) vuln*r**ility in M*y** ***or* *.*.** *llows r*mot* *tt**k*rs to inj**t *r*itr*ry w** s*ript or *TML vi* unsp**i*i** v**tors involvin* t** ****ult *rror p*** *or t** `or*.s**s*r.m*y**.impl.*n*in*.P***Not*oun**x**ption` *x**p

Reasoning

T** vuln*r**ility st*ms *rom t** ****ult *rror p*** *or `P***Not*oun**x**ption` (*n* possi*ly ot**r *x**ptions) not s*nitizin* us*r input. T** `*n*in*Util` *l*ss in M*y**'s *o****s* is * *or* *ompon*nt r*sponsi*l* *or *n*in* op*r*tions, *n* t** `**n*