Lucene search
K

Simple Directory Listing Cross Site Scripting

🗓️ 12 Oct 2009 00:00:00Reported by Amol NaikType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

Simple Directory Listing Cross Site Scripting flaw in SDL 2.1_beta

Code
`## Security Advisory : Cross-Site Scripting flaw in Simple Directory Listing  
##  
Discovered by ==> Amol Naik (amolnaik4_at_gmail_dot_com)  
  
## Overview ##  
--------------  
Quote from from http://simpledirectorylisting.net/ :  
"Simple Directory Listing is a single file php script which functions as  
directory listing in an apache http server. It provides many useful  
functions like copy, delete, read/write, etc.". There are 21,739,293  
downloads from sourceforge.net.  
  
  
## Vulnerability Description ##  
-----------------  
Simple Directory Listing is vulnerable to Cross-Site Scripting, allowing  
injection  
of malicious code in the context of the application.  
  
  
  
## Technical Details ##  
-------------  
Vulnerable Product : Simple Directory Listing 2.1_beta1  
Download :  
http://sourceforge.net/projects/simpledirectory/files/simpledirectorylisting/SDL2.1_beta1/SDL2.1_beta1.zip/download  
Vulnerability Type : Cross-Site Scripting (XSS)  
Affected page : SDL2.php  
Vulnerable parameters : cwdRelPath  
  
  
  
## Timeline ##  
--------------  
Bug Discovered : October 3rd, 2009  
Informed Vendor : October 3rd, 2009 but no response received till date.  
  
  
## Proof of concept ##  
----------------------  
  
http://localhost/simpledirectorylisting/SDL2.php?cwdRelPath=  
'><script>alert(1)</script>  
`

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