Lucene search
K

uhttp Server 0.1.0-alpha - Directory Traversal

🗓️ 23 Mar 2010 00:00:00Reported by Salvatore FrestaType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 35 Views

uhttp Server 0.1.0-alpha - Directory Traversal vulnerability in ultra lightweight webserve

Code
uhttp Server Path Traversal Vulnerability

 Name              uhttp Server
 Vendor            http://uhttps.sourceforge.net
 Versions Affected 0.1.0-alpha

 Author            Salvatore Fresta aka Drosophila
 Website           http://www.salvatorefresta.net
 Contact           salvatorefresta [at] gmail [dot] com
 Date              2010-03-10

X. INDEX

 I.    ABOUT THE APPLICATION
 II.   DESCRIPTION
 III.  ANALYSIS
 IV.   SAMPLE CODE
 V.    FIX
 VI.   DISCLOSURE TIMELINE
 

I. ABOUT THE APPLICATION

An ultra lightweight webserver with  a very  small  memory
usage.


II. DESCRIPTION

Bad chars are not properly sanitised.


III. ANALYSIS

Summary:

 A) Path Traversal

A) Path Traversal

The problem is in the management of the bad chars that can
be  used  to  launch  some attacks,  such as the directory
traversal.
The path traversal sequence ('../') is not checked, so  it
can be used for seeking the  directories  of the  affected
system.


IV. SAMPLE CODE

The following is a simple example:

GET /../../../../../../etc/passwd HTTP/1.1

In this example, the daemon has been started in the follows
path: /home/drosophila/downloads/uhttps/src


V. FIX

No patch.


VIII. DISCLOSURE TIMELINE

2010-03-10 Bug discovered
2009-03-10 Advisory Release

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