CVE-2023-35147 Arbitrary file read vulnerability in Jenkins AWS CodeCommit Trigger Plugin
Attackers with Item/Read permission can read arbitrary files on the Jenkins controller via an unrestricted path parameter in the AWS CodeCommit Trigger Plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-35147?
CVE-2023-35147 is a medium-severity path traversal vulnerability in Jenkins AWS CodeCommit Trigger Plugin, published on 14 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins AWS CodeCommit Trigger Plugin 3.0.12 and earlier does not restrict the AWS SQS queue name path parameter in an HTTP endpoint, allowing attackers with Item/Read permission to obtain the contents of arbitrary files on the Jenkins controller file system.
Weakness: CWE-732
Which versions are affected by CVE-2023-35147?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:aws-codecommit-trigger. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:aws-codecommit-trigger Maven | All versions to 3.0.12 | None |
org.jenkins-ci.plugins:aws-codecommit-trigger Maven | All versions to 3.0.12 | None |
Products include Jenkins Aws Codecommit Trigger.
How do I fix CVE-2023-35147?
No fix has been published for CVE-2023-35147 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-35147 being exploited?
There is no known exploitation of CVE-2023-35147 in the wild and no public exploit code.
Other vulnerabilities in Jenkins AWS CodeCommit Trigger Plugin
- CVE-2023-41943 Missing permission check in Jenkins AWS CodeCommit Trigger Plugin
- CVE-2023-41944 HTML injection vulnerability in Jenkins AWS CodeCommit Trigger Plugin
- CVE-2023-41941 Missing permission check in Jenkins AWS CodeCommit Trigger Plugin allows enumerating credentials IDs
- CVE-2023-41942 CSRF vulnerability in Jenkins AWS CodeCommit Trigger Plugin
Sources
Also known as GHSA-whgj-6m78-2gg9.