CVE-2008-6790

MindDezign Photo Gallery 2.2 - Unauthenticated Privilege Escalation via Username Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-6790. PoCs published by CWH Underground.

AI-analyzed exploit summary This exploit leverages an SQL injection vulnerability in MindDezign Photo Gallery 2.2 to bypass authentication and add an arbitrary administrator account. It uses a crafted SQL query to log in as admin and then sends a POST request to create a new admin user.

Description

The admin module in MindDezign Photo Gallery 2.2 allows remote attackers to add administrative users and gain privileges via a modified username parameter in an edit account action to index.php.

Exploits (1)

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

This exploit leverages an SQL injection vulnerability in MindDezign Photo Gallery 2.2 to bypass authentication and add an arbitrary administrator account. It uses a crafted SQL query to log in as admin and then sends a POST request to create a new admin user.

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 16, 2026 Full analysis →

References (3)

Core 3
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/46078
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/6820
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/31897

Scores

EPSS 0.0198
EPSS Percentile 77.9%

Details

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