Contact | Site en Français               

 


 

Vulnerabilities & Threats

 
  VUPEN Security Advisories
  Linux Security Advisories

  Malware Advisories

  Security Research
  Threat Watch Blog
  Zero-Day Monitor
  Search Engine
  Mailing List & RSS
 
   

>> Coppermine Photo Gallery Code Execution and SQL Injection Issues

Title : Coppermine Photo Gallery Code Execution and SQL Injection Issues
VUPEN ID : VUPEN/ADV-2008-0367
CVE ID : CVE-2008-0504 - CVE-2008-0505 - CVE-2008-0506
Rated as : High Risk 
Remotely Exploitable : Yes
Locally Exploitable : Yes
Release Date : 2008-01-31


Technical Description    Receive VUPEN Security alerts in a Text format  Receive VUPEN Security alerts in a PDF format  Receive VUPEN Security alerts in an XML format  Receive VUPEN Security notifications by SMS 

Multiple vulnerabilities have been identified in Coppermine Photo Gallery, which could be exploited by remote attackers to execute arbitrary scripting code, manipulate SQL queries, or compromise a vulnerable web server.

The first issue is caused by an input validation error in the "include/imageObjectIM.class.php" script that does not validate the "quality", "angle" and "clipval" parameters before being passed as arguments to "exec()" calls, which could be exploited by remote attackers to inject and execute arbitrary code with the privileges of the web server. Note: This issue is not exploitable when ImageMagick is not used as the image library.

The second vulnerability is caused by input validation errors in the "docs/showdoc.php" script when processing the "t" and "h" parameters, which could be exploited by attackers to cause arbitrary scripting code to be executed by the user's browser in the security context of an affected Web site.

The third issue is caused by input validation errors in the "util.php" and "reviewcom.php" scripts when processing the "albumid", "startpic", "numpics" and "cid_array" parameters, which could be exploited by malicious administrators to conduct SQL injection attacks.

The fourth weakness is caused by errors in the "update.php" and "include/slideshow.inc.php" scripts, which could be exploited by attackers to gain knowledge of sensitive information (e.g. database table prefix or installation path).

Affected Products

Coppermine Photo Gallery version 1.4.4 and prior

Solution

Upgrade to Coppermine Photo Gallery version 1.4.5 :
http://downloads.sourceforge.net/coppermine/cpg1.4.15.zip

References

http://www.vupen.com/english/advisories/2008/0367
http://coppermine-gallery.net/forum/index.php?topic=50103.0
http://www.waraxe.us/advisory-65.html
http://www.waraxe.us/advisory-66.html

Credits

Vulnerabilities reported by Janek Vind (waraxe).

ChangeLog

2008-01-31 : Initial release

Vulnerability Management

Subscribe to VUPEN VNS and receive real-time e-mail and SMS alerts when new advisories or patches relevant to your systems and network configurations are available.

Feedback

If you have additional information or corrections for this security advisory please submit them via our contact form.

 

Vulnerability Alerting

Free 14-Day Trial

 
  Latest News

 

  >> 2009-06-10

     

  VUPEN Security Research
  Discovered Critical Flaws
  in Adobe Acrobat and MS

  Office Word


  >> 2009-06-02

     

  VUPEN Security Research
  Discovered Critical Flaws
  in ACDSee Products


  >> 2009-05-22

     

  VUPEN Discovered Two
  Critical Vulnerabilities in
  Novell GroupWise 8 / 7


  >> 2009-05-12

     

  Microsoft Patched 14
  Office PowerPoint Flaws

 

  >> 2009-04-28

     

  Adobe Reader / Acrobat
  Vulnerabilities
Disclosed

 

 

More Informations    
    








Copyright 2003-2009 © VUPEN.COM - Privacy Policy