Miggo Logo

CVE-2022-41235: Jenkins WildFly Deployer Plugin vulnerable to path traversal

6.5

CVSS Score
3.1

Basic Information

EPSS Score
0.73271%
Published
9/22/2022
Updated
2/2/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.jenkins-ci.plugins:wildfly-deployermaven<= 1.0.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper path validation when handling agent requests to read files. The WildFlyDeployerPlugin's deployment functionality (WildFlyDeployerPublisher) would be responsible for processing file paths during deployment. Since the advisory explicitly states agents can read arbitrary controller files, the perform method (common entry point for Jenkins plugin operations) is a strong candidate. The lack of path sanitization/validation here would directly enable traversal attacks. The confidence is high due to the plugin's purpose and the CWE-22/CWE-693 mapping.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

J*nkins Wil**ly **ploy*r Plu*in *.*.* *n* **rli*r impl*m*nts *un*tion*lity t**t *llows ***nt pro**ss*s to r*** *r*itr*ry *il*s on t** J*nkins *ontroll*r *il* syst*m. T*is vuln*r**ility is only *xploit**l* in J*nkins *.*** *n* **rli*r, LTS *.***.* *n

Reasoning

T** vuln*r**ility st*ms *rom improp*r p*t* v*li**tion w**n **n*lin* ***nt r*qu*sts to r*** *il*s. T** Wil**ly**ploy*rPlu*in's **ploym*nt *un*tion*lity (Wil**ly**ploy*rPu*lis**r) woul* ** r*sponsi*l* *or pro**ssin* *il* p*t*s *urin* **ploym*nt. Sin**