CVE-2012-6039

YABSoft Advanced Image Hosting Script - SQL Injection via view_comments.php gal Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-6039. PoCs published by Robert Cooper.

AI-analyzed exploit summary This exploit demonstrates a SQL injection vulnerability in AIHS (Advanced Image Hosting Script) via the 'gal' parameter in view_comments.php. The PoC uses a UNION-based SQLi to extract user credentials from the 'users' table.

Description

SQL injection vulnerability in view_comments.php in YABSoft Advanced Image Hosting (AIH) Script, possibly 2.3, allows remote attackers to execute arbitrary SQL commands via the gal parameter.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Robert Cooper · textwebappsphp
https://www.exploit-db.com/exploits/18352

This exploit demonstrates a SQL injection vulnerability in AIHS (Advanced Image Hosting Script) via the 'gal' parameter in view_comments.php. The PoC uses a UNION-based SQLi to extract user credentials from the 'users' table.

Classification
Working Poc 90%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: Advanced Image Hosting Script (AIHS)
No auth needed
Prerequisites: Access to the vulnerable view_comments.php endpoint
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Exploit exploit x_refsource_exploit-db
http://www.exploit-db.com/exploits/18352
Exploit vdb-entry x_refsource_osvdb
http://www.osvdb.org/82543
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/51394

Scores

EPSS 0.0111
EPSS Percentile 61.7%

Details

CWE
CWE-89
Status published
Products (2)
yabsoft/advanced_image_hosting_script
yabsoft/advanced_image_hosting_script 2.3
Published Nov 26, 2012
Tracked Since Feb 18, 2026