Miggo Logo

CVE-2022-28732: Apache JSPWiki XSS due to crafted request in WeblogPlugin

6.1

CVSS Score
3.1

Basic Information

EPSS Score
0.97184%
Published
8/5/2022
Updated
1/31/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.jspwiki:jspwiki-mainmaven< 2.11.32.11.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper input sanitization in the WeblogPlugin, as indicated by the CWE-79 classification. XSS vulnerabilities typically occur when untrusted input is reflected in output without proper encoding. Given that the vulnerability is specifically in WeblogPlugin and fixed in 2.11.3, the most probable location is the plugin's main execution method execute() where request parameters are processed. This aligns with JSPWiki plugin architecture where plugins implement execute() to handle functionality, and insufficient output encoding in this method would directly lead to XSS.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

* **r**ully *r**t** r*qu*st on W**lo*Plu*in *oul* tri***r *n XSS vuln*r**ility on *p**** JSPWiki, w*i** *oul* *llow t** *tt**k*r to *x**ut* j*v*s*ript in t** vi*tim's *rows*r *n* **t som* s*nsitiv* in*orm*tion **out t** vi*tim. *p**** JSPWiki us*rs s

Reasoning

T** vuln*r**ility st*ms *rom improp*r input s*nitiz*tion in t** W**lo*Plu*in, *s in*i**t** *y t** *W*-** *l*ssi*i**tion. XSS vuln*r**iliti*s typi**lly o**ur w**n untrust** input is r**l**t** in output wit*out prop*r *n*o*in*. *iv*n t**t t** vuln*r**i