CVE-2022-36904 Jenkins Repository Connector Plugin does not perform a permission check in a method implementing form validation
Attackers with Read permission can check for the existence of arbitrary files on the Jenkins controller file system due to missing permission checks.
- 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-2022-36904?
CVE-2022-36904 is a medium-severity missing authorization vulnerability in Jenkins Repository Connector Plugin, published on 27 Jul 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins Repository Connector Plugin 2.2.0 and earlier does not perform a permission check in a method implementing form validation, allowing attackers with Overall/Read permission to check for the existence of an attacker-specified file path on the Jenkins controller file system.
Weakness: CWE-862
Which versions are affected by CVE-2022-36904?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:repository-connector. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:repository-connector Maven | All versions to 2.2.0 | None |
org.jenkins-ci.plugins:repository-connector Maven | All versions to 2.2.0 | None |
Products include Jenkins Repository Connector.
How do I fix CVE-2022-36904?
No fix has been published for CVE-2022-36904 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-36904 being exploited?
There is no known exploitation of CVE-2022-36904 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Repository Connector Plugin
- CVE-2019-1003038 Jenkins Repository Connector Plugin has insufficiently protected credentials
- CVE-2022-34195 Cross-site Scripting in Jenkins Repository Connector Plugin
- CVE-2021-21618 Stored XSS vulnerability in Jenkins Repository Connector Plugin
- CVE-2020-2149 Credentials transmitted in plain text by Repository Connector Plugin
- CVE-2022-36903 Jenkins Repository Connector Plugin allows attackers with Overall/Read permission to enumerate credentials IDs
Sources
Also known as GHSA-fjpq-f574-jc45.