CVE-2009-1799

ST-Gallery 0.1 alpha - SQL Injection via gallery_category or gallery_show Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2009-1799. PoCs published by YEnH4ckEr.

AI-analyzed exploit summary This exploit demonstrates SQL injection vulnerabilities in ST-Gallery version 0.1 alpha, allowing attackers to extract database information and upload a malicious shell via UNION-based SQLi when magic_quotes_gpc is disabled.

Description

Multiple SQL injection vulnerabilities in the getGalleryImage function in st_admin/gallery_output.php in ST-Gallery 0.1 alpha, when magic_quotes_gpc is disabled, allow remote attackers to execute arbitrary SQL commands via the (1) gallery_category or (2) gallery_show parameter to example.php.

Exploits (1)

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

This exploit demonstrates SQL injection vulnerabilities in ST-Gallery version 0.1 alpha, allowing attackers to extract database information and upload a malicious shell via UNION-based SQLi when magic_quotes_gpc is disabled.

Classification
Working Poc 95%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: ST-Gallery version 0.1 alpha
No auth needed
Prerequisites: magic_quotes_gpc=off · file write permissions on the target server
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/8636
Exploit mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=124171333011782&w=2
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/34875
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/50378

Scores

EPSS 0.0093
EPSS Percentile 55.8%

Details

CWE
CWE-89
Status published
Products (1)
sebastian-thiele/st-gallery 0.1_alpha
Published May 28, 2009
Tracked Since Feb 18, 2026