Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Coppermine Photo Gallery File Inclusion and Command Execution Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA24019  
Release Date: 2007-02-05
Last Update: 2007-02-09

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

CVE reference:CVE-2007-0836 (Secunia mirror)
CVE-2007-0835 (Secunia mirror)

This advisory is currently marked as unpatched!
- Companies can be alerted when a patch is released!


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

1. Coppermine Photo Gallery "upload.php" SQL Injection
2. Coppermine Photo Gallery "bridge/coppermine.inc.php" SQL Injection
3. Coppermine Photo Gallery Multiple Vulnerabilities
4. Coppermine Photo Gallery "data" Cross-Site Scripting
5. Coppermine Photo Gallery Cross-Site Scripting and Local File Inclusion
6. Coppermine Photo Gallery Two SQL Injection Vulnerabilities
7. Coppermine Photo Gallery "aid" SQL Injection Vulnerability
8. Coppermine Photo Gallery SQL Injection and Clean-Up Bypass
9. Coppermine Photo Gallery usermgr.php Unspecified Vulnerability
10. Coppermine Photo Gallery Multiple File Extensions Vulnerability

Show all related 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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Apple Safari Cross-Domain Cookie Injection Vulnerability
2.
YouTube Blog Multiple Vulnerabilities
3.
dnsmasq Denial of Service and DNS Cache Poisoning
4.
Moodle Script Insertion and Cross-Site Request Forgery
5.
Asterisk Two Denial of Service Vulnerabilities
6.
IPCop update for various packages
7.
SocialEngine SQL Injection and Code Execution
8.
Geeklog Forum Plugin Search Cross-Site Scripting Vulnerability
9.
Ubuntu update for dnsmasq
10.
Claroline Multiple Cross-Site Scripting Vulnerabilities





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia