SB2022011406 - Multiple vulnerabilities in Jenkins Publish Over SSH plugin



SB2022011406 - Multiple vulnerabilities in Jenkins Publish Over SSH plugin

Published: January 14, 2022

Security Bulletin ID SB2022011406
Severity
Medium
Patch available
NO
Number of vulnerabilities 5
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 40% Low 60%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 5 secuirty vulnerabilities.


1) Cross-site scripting (CVE-ID: CVE-2022-23110)

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data in the SSH server name. A remote autenticated attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


2) Cleartext storage of sensitive information (CVE-ID: CVE-2022-23114)

The vulnerability allows a local user to gain access to potentially sensitive information.

The vulnerability exists due to the affected plugin stores password unencrypted in its global configuration file jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml on the Jenkins controller as part of its configuration. A local user can retrieve sensitive information stored in cleartext.


3) Path traversal (CVE-ID: CVE-2022-23113)

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote authenticated attacker can send a specially crafted HTTP request and read arbitrary files on the system.


4) Permissions, Privileges, and Access Controls (CVE-ID: CVE-2022-23112)

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to application does not properly impose security restrictions in methods implementing connection tests. A remote authenticated attacker can connect to an attacker-specified SSH server using attacker-specified credentials. 


5) Cross-site request forgery (CVE-ID: CVE-2022-23111)

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.


Remediation

Cybersecurity Help is not aware of any official remediation provided by the vendor.