Jenkins Security Advisory 2012-11-20

This advisory announces two security vulnerabilities that were found in Jenkins core.


  • The first vulnerability is commonly known as HTTP response splitting vulnerability, which can act as a cross-site scripting vulnerability. This allows an anonymous attacker to inject malicious HTMLs to pages served by Jenkins. This in turn allows an attacker to escalate his privileges by hijacking sessions of other users. To mount this attack, the attacker needs to know the exact URL of your Jenkins installation. This vulnerability affects those who run Jenkins on its built-in servlet container (this includes all the native packages.) (CVE-2012-6072)

  • The second vulnerability is so-called open redirect vulnerability. This allows an anonymous attacker to create an URL that looks as if it’s pointing to Jenkins, yet it actually lands on the site that the attacker controls. This can be therefore used as a basis for phishing. (CVE-2012-6073)

  • The third vulnerability is a cross-site scripting vulnerability that allows an attacker with some degree of write access in Jenkins to embed malicious JavaScript into pages generated by Jenkins. (CVE-2012-6074)

These vulnerabilities are discovered by Soroush Dalili, and we’d like to thank him.


These combined vulnerabilities are rated as high, as they allow malicious users to gain unauthorized access to the information and impersonate the administrator of the system. On the other hands, this attack can be only mounted passively, and the attacker needs to know the URL of your Jenkins installations.


  • Main line users should upgrade to Jenkins 1.491

  • LTS users should upgrade to 1.480.1

All the prior versions are affected by these vulnerabilities.

Other resources