|
Coppermine Photo Gallery SQL Injection and Clean-Up Bypass
|
|
Secunia Advisory:
|
SA20597
|
|
|
Release Date:
|
2006-06-13
|
|
Last Update:
|
2006-11-28
|
|
Popularity:
|
8,358 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Security Bypass Manipulation of data
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | Coppermine Photo Gallery 1.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-3064 CVE-2006-6123
|
|
Description: imei addmimistrator has discovered three vulnerabilities in Coppermine Photo Gallery, which can be exploited by malicious people to bypass certain security restrictions and conduct SQL injection attacks.
1) Input passed to the "referer" and "user-agent" HTTP headers isn't properly sanitised before being used in a SQL query in the "add_hit()" function. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation requires that "magic_quotes_gpc" is disabled and that the "Keep detailed hit statistics" setting is enabled (not enabled by default).
2) An error in the clean-up functionality in init.inc.php can be exploited to unset system arrays (e.g. "_GET" and "_POST").
This can further be exploited to bypass the security protection which undefines global variables if "register_globals" is enabled.
The vulnerabilities have been confirmed in version 1.4.8. Other versions may also be affected.
Solution: The vulnerabilities have been fixed in the SVN repository.
Provided and/or discovered by: imei addmimistrator
Changelog: 2006-06-20: Added CVE reference.
2006-06-26: Added additional vulnerability provided by imei addmimistrator.
2006-11-28: Added CVE reference.
Original Advisory: http://myimei.com/security/2006-06-11...hit-function-sqlinjection-attack.html
http://myimei.com/security/2006-06-20...ypassregistering-global-varables.html
|
|
|
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.
|