Secunia Logo
Netsikker nu! 2008
 
Coppermine Photo Gallery File Inclusion and Command Execution
Secunia Advisory: SA24019
Release Date: 2007-02-05
Last Update: 2007-02-09
Popularity: 7,196 views

Critical:
Less critical
Impact: Exposure of system information
Exposure of sensitive information
System access
Where: From remote
Solution Status: Unpatched

Software:Coppermine Photo Gallery 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-0836
CVE-2007-0835


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.


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest Advisories

Send Feedback to Secunia
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.

Most Popular - 3 Hours

1. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 34 views
2. Subdreamer Light Global Variables SQL Injection Vulnerability // 32 views
3. PluggedOut Blog "index.php" SQL Injection Vulnerabilities // 28 views
4. CA ARCserve Backup Multiple Vulnerabilities // 26 views
5. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 25 views
6. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 20 views
7. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 20 views
8. Gentoo Portage Insecure Python Module Search Path Security Issue // 20 views
9. PHP Real Estate Classifieds "id" SQL Injection // 19 views
10. Journalness "last_module" PHP Code Execution // 19 views