pdirl PHP Directory Listing 1.0.4 - Cross Site Scripting Web Vulnerabilities
Vulnerability Laboratory ID (VL-ID):
Common Vulnerability Scoring System:
Product & Service Introduction:
pdirl (PHPDirListing) is a tiny directory listing program. It is meant to be better looking and more useful than the
directory listings produced by Apache. I didn`t want to reinvent the wheel so I looked for an existing PHP script and
I ve found PHPDL by Greg Johnson, I added some features to it. (1.0.x is no longer based on PHPDL.)
(Copy of the Vendor Homepage: http://pdirl.newroots.de/ )
Abstract Advisory Information:
An independent Vulnerability Laboratory Researcher discovered multiple web vulnerabilities in the pdirl PHP Listing v1.0.4 web-application.
Vulnerability Disclosure Timeline:
2013-11-01: Public Disclosure (Vulnerability Laboratory)
Product: pdirl PHP Listing - Web Application 1.0.4
Technical Details & Description:
Multiple client-side cross site scripting vulnerabilities are detected in the official pdirl PHP Directory Listing web-application.
The vulnerability allows remote attackers to manipulate via GET method web-application to browser requests (client-side).
The client-side cross site scripting web vulnerability is located in the vulnerable index.php file and the id path value.
Remote attackers can manipulate the `index.php` file GET method request with the vulnerable ./pdirl path value to compromise
client-side web application context.
Successful exploitation of the client-side cross site scripting web vulnerability results in session hijacking, client-side
phishing, client-side unauthorized external redirects and client-side manipulation of the contact formular module context.
Proof of Concept (PoC):
The client-side cross site scripting web vulnerabilities can be exploited by remote attackers without privileged web application user
account but with low user interaction. For demonstration or to reproduce ...
PoC: CS Cross Site Scripting
GET /[PATH]/?"onmouseover='prompt(7331)'bad="> HTTP/1.1
PoC: CRLF injection/HTTP Response Splitting
PoC: Full Path Disclosure Links
GET /[PATH]/index.php?directory=./?directory=./&search=..%c0%af HTTP/1.1
The security risk of the client-side cross site scripting web vulnerabilities are estimated as medium.
The security risk of the client-side cross site request forgery web vulnerability is estimated as medium(-).
The security risk of the full path disclosure issue is estimated as low.
Credits & Authors:
lincoln.dll ([email protected]) [www.hackinq.pl]
Disclaimer & Information:
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases
or trade with fraud/stolen material.
Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Contact: [email protected] - [email protected] - [email protected]
Section: www.vulnerability-lab.com/dev - forum.vulnerability-db.com - magazine.vulnerability-db.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed),
modify, use or edit our material contact ([email protected] or [email protected]) to get a permission.
Copyright © 2013 | Vulnerability Laboratory [Evolution Security]
-- VULNERABILITY LABORATORY RESEARCH TEAM DOMAIN: www.vulnerability-lab.com CONTACT: [email protected]