Miggo Logo

CVE-2007-4724: Apache Tomcat Example Application CSRF and XSS Vulnerabilities

4.3

CVSS Score

Basic Information

EPSS Score
0.70675%
Published
5/1/2022
Updated
9/22/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.tomcat:tomcatmaven<= 4.1.31

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability explicitly references cal2.jsp as the entry point for both CSRF (via parameter-driven event creation) and XSS (via unescaped parameter output). The lack of CSRF tokens in requests and absence of output encoding for user-controlled parameters like 'time' and 'description' directly enable these attacks. While no specific Java functions are named in advisories, the JSP's parameter handling logic is the clear vulnerable component.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*ross-sit* r*qu*st *or**ry (*SR*) vuln*r**ility in **l*.jsp in t** **l*n**r *x*mpl*s *ppli**tion in *p**** Tom**t *.*.** *llows r*mot* *tt**k*rs to *** *v*nts *s *r*itr*ry us*rs vi* t** tim* *n* **s*ription p*r*m*t*rs.

Reasoning

T** vuln*r**ility *xpli*itly r***r*n**s `**l*.jsp` *s t** *ntry point *or *ot* *SR* (vi* p*r*m*t*r-*riv*n *v*nt *r**tion) *n* XSS (vi* un*s**p** p*r*m*t*r output). T** l**k o* *SR* tok*ns in r*qu*sts *n* **s*n** o* output *n*o*in* *or us*r-*ontroll**