Splunk Enterprise Security

XSS Vulnerability in 6.2.5 build 272645?

ddavenpo
Explorer

Our vulnerability scanner found the following "XSS vulnerability" - Can someone speak to the validity of this or why it might be a false positive? Any assistance would be greatly appreciated.

Injected into the "CiHiliteType" URL parameter (Using method GET) in https://[splunk_server_ip]/null.htw?CiWebHitsFile=/<script>xss</script>.aspx&CiRestriction=none&CiHiliteType=Full by changing the URL to https://[splunk_server_ip]/null.htw?CiWebHitsFile=/<script>xss</script>.aspx&CiRestriction=none&CiHiliteType=\"><script>248484113

1: <!doctype html><html><head><meta http-equiv="content-type" content=...
2: var hashTag = '', hashPos = document.location.href.indexOf('#');
3: if (hashPos > -1) { hashTag = document.location.href.substr(hashPos...
4: ...iHiliteType=\\"><script>248484113" + hashTag;

Tags (3)
0 Karma
1 Solution

chrisg_splunk
Splunk Employee
Splunk Employee

Good day!

In the future, please report security concerns via support if you have a support agreement or via the Splunk Product Security Portal http://www.splunk.com/page/securityportal

This is a false positive for 2 reasons:

  1. This request is generating a 303 redirection page and there are no supported browsers that we are aware of that interpret Javascript in this context.
  2. The context that the issue is a Javascript string parsing context. The input string cannot escape the context due to the presence of other encoding rules.

Thanks for the report and please use the portal in the future in case this isn't a false positive issue and we need to deliver a fix to you and other customers!

View solution in original post

chrisg_splunk
Splunk Employee
Splunk Employee

Good day!

In the future, please report security concerns via support if you have a support agreement or via the Splunk Product Security Portal http://www.splunk.com/page/securityportal

This is a false positive for 2 reasons:

  1. This request is generating a 303 redirection page and there are no supported browsers that we are aware of that interpret Javascript in this context.
  2. The context that the issue is a Javascript string parsing context. The input string cannot escape the context due to the presence of other encoding rules.

Thanks for the report and please use the portal in the future in case this isn't a false positive issue and we need to deliver a fix to you and other customers!

ddavenpo
Explorer

Thanks for the answer and pointing me to the right place!

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...