CVE-2007-5308

PHP Homepage M 1.0 - SQL Injection via Galerie.php ID Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-5308. PoCs published by [PHCN] Mahjong.

AI-analyzed exploit summary This exploit targets a SQL injection vulnerability in PHP Homepage M V.1.0's galerie.php. It extracts user credentials by manipulating the 'id' parameter in a UNION-based SQLi attack when magic_quotes_gpc is disabled.

Description

SQL injection vulnerability in galerie.php in PHP Homepage M (phpHPm) 1.0, when magic_quotes_gpc is disabled, allows remote attackers to execute arbitrary SQL commands via the id parameter in a show action.

Exploits (1)

exploitdb WORKING POC VERIFIED
by [PHCN] Mahjong · phpwebappsphp
https://www.exploit-db.com/exploits/4501

This exploit targets a SQL injection vulnerability in PHP Homepage M V.1.0's galerie.php. It extracts user credentials by manipulating the 'id' parameter in a UNION-based SQLi attack when magic_quotes_gpc is disabled.

Classification
Working Poc 90%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: PHP Homepage M V.1.0
No auth needed
Prerequisites: magic_quotes_gpc must be OFF · target must be running PHP Homepage M V.1.0
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/36998
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4501
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/25978
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27131
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3419
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37617

Scores

EPSS 0.0112
EPSS Percentile 61.9%

Details

CWE
CWE-89
Status published
Products (1)
php_homepage_m/php_homepage_m 1.0
Published Oct 09, 2007
Tracked Since Feb 18, 2026