Tried, Tested and Proven

Security Advisory 06 – 059 – ImgSvr is vulnerable to
directory traversal

Vulnerability discovery and development:

Portcullis Security Testing Services discovered this vulnerability.

Credit for Discovery:

Tim Brown – Portcullis Computer Security Ltd.

Affected Systems:

All known versions of ImgSvr.

Details:

It is possible to pass a value in the template parameter of requests to ImgSvr which causes arbitrary files to be returned from outside of the web root as follows:

GET /?template=../../../../../../../../../../etc/passwd HTTP/1.0
Impact:

An attacker could cause access to arbitrary files.

Exploit:

Exploit code is not required.

Vendor Status:

Contacted frett27@userssourceforge.net and p.orbry@wanadoo.fr

e-mailed – 16th January 2007

e-mailed – 22nd January 2007

e-mailed – 14th February 2007

e-mailed – 15th March 2007

Copyright:

Copyright © Portcullis Computer Security Limited 2006, All rights reserved worldwide.
Permission is hereby granted for the electronic redistribution of this information.
It is not to be edited or altered in any way without the express written consent of Portcullis Computer Security Limited.

Disclaimer:

The information herein contained may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user’s risk. In no event shall the author/distributor (Portcullis Computer Security Limited) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.