Bug 1203195 (CVE-2015-8856)

Summary: CVE-2015-8856 serve-index: persistant cross-site scripting flaw
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: tchollingsworth
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: serve-index 1.6.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:40:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1203198, 1203196, 1203197    
Bug Blocks:    

Description Martin Prpič 2015-03-18 11:38:26 UTC
When using serve-index middleware version < 1.6.3 file and directory names are not escaped in HTML output, remote users can influence file or directory names, and trigger a persistent XSS attack.

Upstream issue:

https://github.com/expressjs/serve-index/issues/28

External References:

https://nodesecurity.io/advisories/serve-static-xss

Comment 1 Martin Prpič 2015-03-18 11:39:00 UTC
Created nodejs-serve-index tracking bugs for this issue:

Affects: fedora-all [bug 1203196]
Affects: epel-6 [bug 1203197]
Affects: epel-7 [bug 1203198]

Comment 2 Andrej Nemec 2016-04-22 08:03:01 UTC
CVE assignment:

http://seclists.org/oss-sec/2016/q2/122

Comment 3 Product Security DevOps Team 2019-06-08 02:40:00 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.