Miggo Logo

CVE-2021-43578: Agent-to-controller security bypass in Jenkins Squash TM Publisher (Squash4Jenkins) Plugin allows writing arbitrary files

8.1

CVSS Score
3.1

Basic Information

EPSS Score
0.511%
Published
5/24/2022
Updated
10/27/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

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

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from insecure implementation of Jenkins' agent-to-controller communication pattern. The plugin's file writing functionality (1) lacks input validation on file paths, and (2) accepts arbitrary JSON content from untrusted agents. Based on Jenkins plugin architecture patterns and the CWE-693 description, these functions would typically be responsible for handling FileCallable operations that write results from agents to the controller. The high confidence comes from the direct match between the vulnerability description (unvalidated agent-controlled file writes) and common Jenkins Remoting implementation patterns in plugin code.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

J*nkins Squ*s* TM Pu*lis**r (Squ*s**J*nkins) Plu*in *.*.* *n* **rli*r impl*m*nts *n ***nt-to-*ontroll*r m*ss*** t**t *o*s not impl*m*nt *ny v*li**tion o* its input, *llowin* *tt**k*rs **l* to *ontrol ***nt pro**ss*s to r*pl*** *r*itr*ry *il*s on t**

Reasoning

T** vuln*r**ility st*ms *rom ins**ur* impl*m*nt*tion o* J*nkins' ***nt-to-*ontroll*r *ommuni**tion p*tt*rn. T** plu*in's *il* writin* *un*tion*lity (*) l**ks input v*li**tion on *il* p*t*s, *n* (*) ****pts *r*itr*ry JSON *ont*nt *rom untrust** ***nts