Coppermine Photo Gallery 1.0 PHP Code Injection Vulnerability

ID EDB-ID:22473
Type exploitdb
Reporter Berend-Jan Wever
Modified 2003-04-07T00:00:00


Coppermine Photo Gallery 1.0 PHP Code Injection Vulnerability. Webapps exploit for php platform


Coppermine Photo Gallery has been reported prone to PHP code injection attacks.

Due to a lack of sufficient sanitization performed on user-supplied filenames that are uploaded into the Photo Gallery, an attacker may upload a malicious JPEG. The attacker may craft it in such a way that PHP code execution will occur when the image is viewed.

This attack may result in arbitrary PHP code execution in the security context of the web server that is hosting the vulnerable application.[command]

Where command can be something like "id;uname%20-a" or "cat%20/etc/passwd"