Coppermine Photo Gallery File Inclusion and Command Execution

Posted on Monday, February 05, 2007 @ 11:32:57 CET in Security
by Raven

SECUNIA ADVISORY ID: SA24019

VERIFY ADVISORY: http://secunia.com/advisories/24019/

CRITICAL: Less critical

IMPACT: Exposure of system information, Exposure of sensitive information, System access

SOFTWARE: Coppermine Photo Gallery 1.x - http://secunia.com/product/1427/

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
 
 
click Related        click Share
 
 

Re: Coppermine Photo Gallery File Inclusion and Command Execution (Score: 1)
by hitwalker on Monday, February 05, 2007 @ 18:45:23 CET
  
(User Info | Send a Message)

again ?

 
News ©

Site Info v2.2.2

Last SeenLast Seen
Server TrafficServer Traffic
  • Total: 373,440,407
  • Today: 46,432
Server InfoServer Info
  • Dec 16, 2018
  • 10:35 pm CET