Secunia Logo  
 
Coppermine Photo Gallery File Inclusion and Command Execution
Secunia Advisory: SA24019
Release Date: 2007-02-05
Last Update: 2007-02-09
Popularity: 7,580 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

Today
New advisories: 6
New vulnerabilities: 18
Updated advisories: 9

Less // 160 views
Red Hat update for kernel
Less // 150 views
Ubuntu update for bind9
Less // 143 views
Ubuntu update for ntp
Less // 146 views
Red Hat update for bind

8th Jan, 2009
New advisories: 24
New vulnerabilities: 99
Updated advisories: 26


Solutions | More...  


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. XOOPS "mydirname" PHP Code Injection Vulnerability // 86 views
2. Red Hat update for kernel // 79 views
3. CuteNews Cross-Site Scripting and PHP Code Execution Vulnerabilities // 73 views
4. Ubuntu update for bind9 // 71 views
5. Ubuntu update for ntp // 69 views
6. Red Hat update for bind // 69 views
7. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 38 views
8. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 31 views
9. ISC BIND "EVP_VerifyFinal()" and "DSA_do_verify()" Spoofing Vulnerability // 31 views
10. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 25 views