CVE-2008-6788

MindDezign Photo Gallery 2.2 - SQL Injection via id Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2008-6788. PoCs published by CWH Underground.

AI-analyzed exploit summary This exploit demonstrates a SQL injection vulnerability in MindDezign Photo Gallery 2.2 via the 'id' parameter in index.php. It bypasses authentication by injecting a UNION-based query to extract admin credentials from the database.

Description

SQL injection vulnerability in MindDezign Photo Gallery 2.2, when magic_quotes_gpc is disabled, allows remote attackers to execute arbitrary SQL commands via the id parameter in an info action to index.php.

Exploits (2)

exploitdb WORKING POC VERIFIED
by CWH Underground · textwebappsphp
https://www.exploit-db.com/exploits/6819

This exploit demonstrates a SQL injection vulnerability in MindDezign Photo Gallery 2.2 via the 'id' parameter in index.php. It bypasses authentication by injecting a UNION-based query to extract admin credentials from the database.

Classification
Working Poc 95%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: MindDezign Photo Gallery 2.2
No auth needed
Prerequisites: Magic Quotes must be turned off
devstral-2 · analyzed Feb 18, 2026 Full analysis →
exploitdb WORKING POC
perlwebappsphp
https://www.exploit-db.com/exploits/6820

This Perl script exploits an authentication bypass vulnerability in MindDezign Photo Gallery 2.2 by injecting a SQL query to bypass admin login, then adds an arbitrary admin user. It requires magic_quotes_gpc to be off.

Classification
Working Poc 95%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: MindDezign Photo Gallery 2.2
No auth needed
Prerequisites: magic_quotes_gpc = off · target URL · desired username and password
devstral-2 · analyzed Feb 19, 2026 Full analysis →

References (5)

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

Scores

EPSS 0.0082
EPSS Percentile 74.9%

Details

CWE
CWE-89
Status published
Products (1)
minddezign/photo_gallery 2.2
Published May 04, 2009
Tracked Since Feb 18, 2026