CVE Catalog

CVE-2006-3064

High
Published: Translated: NVD NIST

Summary

SQL injection vulnerability in the add_hit function in include/function.inc.php in Coppermine Photo Gallery (CPG) 1.4.8, when "Keep detailed hit statistics" is enabled. Remote attackers can execute arbitrary SQL commands via the referer and user-agent HTTP headers.

Risk Assessment

The vulnerability allows remote execution of arbitrary SQL queries, potentially leading to data leakage, modification, or deletion. Organizations using the vulnerable version are at risk of compromise.

Recommendation

Update Coppermine Photo Gallery to the latest version that fixes this vulnerability. If update is not possible, disable the "Keep detailed hit statistics" option or apply WAF rules filtering referer and user-agent headers.

Related vulnerabilities

Original NVD description (English source)

SQL injection vulnerability in the add_hit function in include/function.inc.php in Coppermine Photo Gallery (CPG) 1.4.8, when "Keep detailed hit statistics" is enabled, allows remote attackers to execute arbitrary SQL commands via the (1) referer and (2) user-agent HTTP headers.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS