#VU60638 UNIX symbolic link following in Pipeline: Shared Groovy Libraries


Published: 2022-02-16

Vulnerability identifier: #VU60638

Vulnerability risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-25178

CWE-ID: CWE-61

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Pipeline: Shared Groovy Libraries
Web applications / Modules and components for CMS

Vendor: Jenkins

Description

The vulnerability allows a remote attacker to gain access to sensitive information on the system.

The vulnerability exists due to the affected plugin does not restrict the names of resources passed to the "libraryResource" step. A remote user can create a specially crafted symbolic link to a critical file on the system and read arbitrary files on the Jenkins controller file system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Pipeline: Shared Groovy Libraries: 552.vd9cc05b8a2e1


External links
http://jenkins.io/security/advisory/2022-02-15/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability