Jenkins Dependency Graph View 0.13 Cross Site Scripting

2019.07.12
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-79


Ogólna skala CVSS: 3.5/10
Znaczenie: 2.9/10
Łatwość wykorzystania: 6.8/10
Wymagany dostęp: Zdalny
Złożoność ataku: Średnia
Autoryzacja: Jednorazowa
Wpływ na poufność: Brak
Wpływ na integralność: Częściowy
Wpływ na dostępność: Brak

# Exploit Title: Persistent XSS - Dependency Graph View Plugin(v0.13) # Vendor Homepage: https://wiki.jenkins.io/display/JENKINS/Dependency+Graph+View+Plugin # Exploit Author: Ishaq Mohammed # Contact: https://twitter.com/security_prince # Website: https://about.me/security-prince # Category: webapps # Platform: Java # CVE: CVE-2019-10349 # Jenkins issue: #SECURITY-1177 1. Description: The "Display Name" field in General Options of the Configure module in Jenkins was found to be accepting arbitrary value which when loaded in the Dependency Graph View module gets execute which makes it vulnerable to a Stored/Persistent XSS. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10349 2. Proof of Concept: Vulnerable Source http://{jenkins-hostname:port}/jobs/{projectname}/configure Steps to Reproduce: Login to Jenkins Server with valid credentials and ensure that the dependency graph plugin is installed. 1. Click on configure the Jenkins plugin. 2. Select advanced options 3. Enter the XSS payload in the "Display Name" field 4. Navigate to Dependency Graph module 5. Observe the Executed Payload 6. Payload used for the demo: <img src="a" onerror="alert('jenkinsxss')"> 3. Solution: As of publication of this advisory, there is no fix. The plugin hsa been abandoned by the maintainer Reference https://jenkins.io/security/advisory/2019-07-11/#SECURITY-1177 -- Best Regards, Ishaq Mohammed https://about.me/security-prince


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top