CVE-2008-6649

Ktools PhotoStore <= 3.5.2 - SQL Injection via id Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2008-6649. PoCs published by DNX, Mr.SQL.

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

Description

SQL injection vulnerability in manager/image_details_editor.php in Ktools PhotoStore 2.5, 2.9.8, 3.1.0, and other versions through 3.5.2 allows remote attackers to execute arbitrary SQL commands via the id parameter.

Exploits (2)

exploitdb WORKING POC VERIFIED
by DNX · textwebappsphp
https://www.exploit-db.com/exploits/5582

The exploit demonstrates SQL injection vulnerabilities in Ktools Photostore <= v3.5.2 via the 'gid' parameter in 'crumbs.php' and the 'id' parameter in 'image_details_editor.php'. 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 must be disabled on the target server
devstral-2 · analyzed Feb 18, 2026 Full analysis →
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 →

References (5)

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

Scores

EPSS 0.0202
EPSS Percentile 78.4%

Details

CWE
CWE-89
Status published
Products (12)
ktools/photostore 2.5
ktools/photostore 2.9.8
ktools/photostore 3.1.0
ktools/photostore 3.1.1
ktools/photostore 3.2
ktools/photostore 3.2.1
ktools/photostore 3.4
ktools/photostore 3.4.2
ktools/photostore 3.4.3
ktools/photostore 3.5
... and 2 more
Published Apr 07, 2009
Tracked Since Feb 18, 2026