[27415] in bugtraq

home help back first fref pref prev next nref lref last post

Directory traversal in Daniel Arenz' Mini Server

daemon@ATHENA.MIT.EDU (Marc Ruef)
Mon Oct 14 18:28:48 2002

Message-ID: <3DA92F01.6EAC534F@computec.ch>
Date: Sun, 13 Oct 2002 10:29:53 +0200
From: Marc Ruef <marc.ruef@computec.ch>
MIME-Version: 1.0
To: bugtraq@securityfocus.com
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!

There is a directory traversal flaw in Daniel Arenz' Mini Server 2.1.6
(tested on Windows XP Professional). It could be that prior versions are
also affected.

It's possible to show every by the web server readable file on the
target system by using one of the following URLs:

http://192.168.0.2/../../windows\win.ini
http://192.168.0.2/..\..\windows\win.ini
http://192.168.0.2/AAA[...]AAA..\..\..\..\windows\win.ini

It should not be possible to hop through the file system by using some
metacharacters (e.g. "..").

Another problem is, that the log window has an upper limit for entries.
If the window is full, there could no more entries be added.

It would make sense to overwrite the first records or clear the whole
window after the overflow.

My email to Daniel was sent on 02/10/12. He acknowledged a day later the
vulnerability and wrote, that he'll fix the bug(s) in the upcoming
version 3.0.

Bye, Marc

-- 
Computer, Technik und Security
http://www.computec.ch

home help back first fref pref prev next nref lref last post