Description: Some vulnerabilities have been discovered in Coppermine Photo Gallery, which can be exploited by malicious users to disclose sensitive information and to compromise vulnerable systems.
1) Input passed to the form fields "Path to custom header include" and "Path to custom footer include" in admin.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources and potentially also from external resources.
2) Input passed to the form field "Command line options for ImageMagick" in admin.php is not properly sanitised before being used as an option to ImageMagick's "convert" command. This can be exploited to inject arbitrary shell commands via the ";" character.
Successful exploitation of either vulnerability requires valid administrator credentials.
The vulnerabilities are confirmed in version 1.4.10. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly verified and sanitised.
Provided and/or discovered by: Site developer and an anonymous person
Changelog: 2007-02-09: Added CVE reference.
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
16 Related Secunia Security Advisories, displaying 10
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.