YaPiG 0.9x - 'upload.php' Directory Traversal
Author: anonymous
type: webapps
platform: php
port:
date_added: 2005-06-06
date_updated: 2013-05-29
verified: 1
codes: CVE-2005-1884;OSVDB-17120
tags:
aliases:
screenshot_url:
application_url:
source: https://www.securityfocus.com/bid/13877/info
YaPiG is prone to a directory traversal vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.
An authorized user can add and delete arbitrary directories outside of the gallery directory by supplying directory traversal strings '../' to the vulnerable parameter. Exploitation of this vulnerability could lead to a loss of integrity and possibly loss of availability.
This issue is reported to affect YaPiG versions 0.92b, 0.93u and 0.94u; earlier versions may also be affected.
Arbitrary Directory Removal:
http://www.example.com/upload.php?step=rmdir&dir=../folder
Arbitrary Directory Creation:
http://www.example.com/upload.php?step=mkdir&dir=../folder