vendor:
Coppermine Photo Gallery
by:
girex
7,5
CVSS
HIGH
Remote Code Execution
89
CWE
Product Name: Coppermine Photo Gallery
Affected Version From: 1.4.22
Affected Version To: 1.4.22
Patch Exists: NO
Related CWE: N/A
CPE: a:coppermine-gallery:coppermine_photo_gallery
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2009
Coppermine Photo Gallery <= 1.4.22 Remote Exploit
This exploit is based on vulnerabilities discussed at http://www.milw0rm.org/exploits/8713. It requires register_globals = on and magic_quotes_gpc = off. It uses an SQL injection to retrieve the absolute path and then injects a malicious PHP code into a log file. The attacker can then execute commands with http://[host][path]logs/log_db.inc.php?cmd=COMMAND.
Mitigation:
Ensure that register_globals and magic_quotes_gpc are disabled.