CVE-2008-6647

Ktools PhotoStore 3.4.3 - SQL Injection via Gallery gid Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2008-6647. PoCs published by Mr.SQL.

AI-analyzed exploit summary This exploit demonstrates a SQL injection vulnerability in PhotoStore 3.4.3 via the 'gid' parameter in gallery.php. It allows an attacker to extract admin and user credentials from the database without authentication.

Description

SQL injection vulnerability in gallery.php in Ktools PhotoStore 3.4.3 allows remote attackers to execute arbitrary SQL commands via the gid parameter.

Exploits (2)

exploitdb WORKING POC VERIFIED
by Mr.SQL · textwebappsphp
https://www.exploit-db.com/exploits/5580

This exploit demonstrates a SQL injection vulnerability in PhotoStore 3.4.3 via the 'gid' parameter in gallery.php. It allows an attacker to extract admin and user credentials from the database without authentication.

Classification
Working Poc 90%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: PhotoStore 3.4.3
No auth needed
Prerequisites: Target running PhotoStore 3.4.3 with exposed gallery.php
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC
webappsphp
https://www.exploit-db.com/exploits/5582

The exploit demonstrates SQL injection vulnerabilities in Ktools Photostore <= v3.5.2 via the 'crumbs.php' and 'image_details_editor.php' scripts. It includes functional PoC URLs that extract user credentials from the database when magic quotes are disabled.

Classification
Working Poc 100%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: Ktools Photostore <= v3.5.2
No auth needed
Prerequisites: magic quotes = off · target software installed
devstral-2 · analyzed Feb 19, 2026 Full analysis →

References (5)

Core 5
Core References
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30194
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/5580
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/42318
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/45140
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/29132

Scores

EPSS 0.0101
EPSS Percentile 58.6%

Details

CWE
CWE-89
Status published
Products (1)
ktools/photostore 3.4.3
Published Apr 07, 2009
Tracked Since Feb 18, 2026