Perl Web Server 0.x - Directory Traversal

Author: neme-dhc
type: remote
platform: multiple
port: 
date_added: 2001-04-24  
date_updated: 2012-08-25  
verified: 1  
codes: CVE-2001-0462;OSVDB-1802  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 20797.txt  
source: https://www.securityfocus.com/bid/2648/info

Perl Web Server, an experimental cross-platform web server project, does not prevent a remote user from requesting documents outside the ServerRoot (location of the virtual / directory).

This means that if an attacker knows the location of a sensitive file relative to the ServerRoot, he can retrieve the contents of the file by making an HTTP request containing the relative path.

o retrieve /etc/password from a vulnerable host, request:

http://www.server.com/../../../../etc/passwd

The number of ../ path characters will depend on the ServerRoot (location of the virtual / directory) setting.