Zero-Day Advisory

Fortinet Discovers Jenkins Config File Provider Plugin Cross-Site Scripting Vulnerability

Summary

Fortinet's FortiGuard Labs has discovered a stored Cross-Site Scripting (XSS) vulnerability in Jenkins Config File Provider Plugin.

Jenkins is a self-contained Java-based program, ready to run out-of-the-box, with packages for Windows, Mac OS X and other Unix-like operating systems.


A stored XSS vulnerability has been discovered in Jenkins Config File Provider Plugin 2.18 and earlier versions. It is caused by inadequate filtering of the Comment parameter. It allows users to insert arbitrary HTML/Javascript into Jenkins pages.


Solutions

FortiGuard Labs released the following FortiGate IPS signature which covers this specific vulnerability:

Jenkins.ConfigFileProvider.Comment.XSS
Released Sep 25, 2018

Users should apply the solution provided by Jenkins.

Timeline

Fortinet reported the vulnerability to Jenkins on August 3, 2018.

Jenkins confirmed the vulnerability on August 21, 2018.

Jenkins patched the vulnerability on September 25, 2018.

Acknowledgement

This vulnerability was discovered by Zhouyuan Yang of Fortinet's FortiGuard Labs.

IPS Subscription

Fortinet customers who subscribe to Fortinet's intrusion prevention (IPS) service should be protected against this vulnerability with the appropriate configuration parameters in place. Fortinet's IPS service is one component of FortiGuard Subscription Services, which also offer comprehensive solutions such as antivirus, Web content filtering and antispam capabilities. These services enable protection against threats on both application and network layers. FortiGuard Services are continuously updated by FortiGuard Labs, which enables Fortinet to deliver a combination of multi-layered security intelligence and true zero-day protection from new and emerging threats. These updates are delivered to all FortiGate, FortiMail and FortiClient products. Fortinet strictly follows responsible disclosure guidelines to ensure optimum protection during a threat's lifecycle.