ID CVE-2022-25179
Summary Jenkins Pipeline: Multibranch Plugin 706.vd43c65dec013 and earlier follows symbolic links to locations outside of the checkout directory for the configured SCM when reading files using the readTrusted step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.
References
Vulnerable Configurations
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:1.11:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:1.11:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:1.12:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:1.12:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:1.13:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:1.13:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:1.14:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:1.14:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:1.14.1:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:1.14.1:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:1.14.2:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:1.14.2:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:1.15:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:1.15:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.0:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.0:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.1:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.1:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.2:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.2:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.3:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.3:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.4:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.4:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.5:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.5:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.6:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.6:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.7:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.7:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.8:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.8:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.9:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.9:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.9.1:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.9.1:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.9.2:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.9.2:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.10:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.10:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.11:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.11:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.12:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.12:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.13:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.13:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.14:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.14:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.15:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.15:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.16:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.16:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.17:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.17:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.18:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.18:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.19:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.19:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.20:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.20:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.21:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.21:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.22:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.22:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.23:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.23:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.23.1:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.23.1:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.24:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.24:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.25:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.25:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.26:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.26:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:2.26.1:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:2.26.1:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:696.698.v9b4218eea50f:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:696.698.v9b4218eea50f:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:696.v52535c46f4c9:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:696.v52535c46f4c9:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:704.v8f039a_e2e8cf:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:704.v8f039a_e2e8cf:*:*:*:*:jenkins:*:*
  • cpe:2.3:a:jenkins:pipeline\:_multibranch:706.vd43c65dec013:*:*:*:*:jenkins:*:*
    cpe:2.3:a:jenkins:pipeline\:_multibranch:706.vd43c65dec013:*:*:*:*:jenkins:*:*
CVSS
Base: 4.0 (as of 25-10-2023 - 18:16)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
Access
VectorComplexityAuthentication
NETWORK LOW SINGLE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
cvss-vector via4 AV:N/AC:L/Au:S/C:P/I:N/A:N
Last major update 25-10-2023 - 18:16
Published 15-02-2022 - 17:15
Last modified 25-10-2023 - 18:16
Back to Top