Miggo Logo

CVE-2023-35147:
Arbitrary file read vulnerability in Jenkins AWS CodeCommit Trigger Plugin

6.5

CVSS Score
3.1

Basic Information

EPSS Score
0.15213%
Published
6/14/2023
Updated
1/30/2024
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:aws-codecommit-triggermaven<= 3.0.12

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper handling of the AWS SQS queue name parameter in an HTTP endpoint. While exact method names aren't disclosed in available sources, the advisory explicitly states that the queue name path parameter wasn't restricted. This would manifest in code that takes user-supplied queue names and uses them directly in file system operations without path validation. The plugin's purpose (SQS integration) and CWE-732 context indicate the vulnerable function is likely the endpoint handler responsible for retrieving queue activity logs, where input sanitization was missing.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

J*nkins *WS *o***ommit Tri***r Plu*in *.*.** *n* **rli*r *o*s not r*stri*t t** *WS SQS qu*u* n*m* p*t* p*r*m*t*r in *n *TTP *n*point, *llowin* *tt**k*rs wit* It*m/R*** p*rmission to o*t*in t** *ont*nts o* *r*itr*ry *il*s on t** J*nkins *ontroll*r *il

Reasoning

T** vuln*r**ility st*ms *rom improp*r **n*lin* o* t** *WS SQS qu*u* n*m* p*r*m*t*r in *n `*TTP` *n*point. W*il* *x**t m*t*o* n*m*s *r*n't *is*los** in *v*il**l* sour**s, t** **visory *xpli*itly st*t*s t**t t** qu*u* n*m* p*t* p*r*m*t*r w*sn't r*stri*