CVE-2008-4645

phpwebgallery <= 1.7.2 - Authenticated Remote Code Execution via Event Tracer Sort Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-4645. PoCs published by EgiX.

AI-analyzed exploit summary This exploit targets PhpWebGallery <= 1.7.2, leveraging SQL injection to hijack an admin session and then using a code injection vulnerability in the event_tracer plugin to achieve remote code execution. It automates the process of retrieving a valid admin session ID and executing arbitrary commands.

Description

plugins/event_tracer/event_list.php in PhpWebGallery 1.7.2 and earlier allows remote authenticated administrators to execute arbitrary PHP code via PHP sequences in the sort parameter, which is processed by create_function.

Exploits (1)

exploitdb WORKING POC VERIFIED
by EgiX · phpwebappsphp
https://www.exploit-db.com/exploits/6755

This exploit targets PhpWebGallery <= 1.7.2, leveraging SQL injection to hijack an admin session and then using a code injection vulnerability in the event_tracer plugin to achieve remote code execution. It automates the process of retrieving a valid admin session ID and executing arbitrary commands.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PhpWebGallery <= 1.7.2
No auth needed
Prerequisites: Target must have at least two rows in the _comments table · Event_tracer plugin must be installable/activatable
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/45875
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/6755
Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/31762
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/4456

Scores

EPSS 0.0712
EPSS Percentile 93.4%

Details

CWE
CWE-94
Status published
Products (19)
phpwebgallery/phpwebgallery 1.0
phpwebgallery/phpwebgallery 1.1
phpwebgallery/phpwebgallery 1.2.1
phpwebgallery/phpwebgallery 1.3.0
phpwebgallery/phpwebgallery 1.3.1
phpwebgallery/phpwebgallery 1.3.2
phpwebgallery/phpwebgallery 1.3.3
phpwebgallery/phpwebgallery 1.3.4
phpwebgallery/phpwebgallery 1.4.0
phpwebgallery/phpwebgallery 1.4.1
... and 9 more
Published Oct 22, 2008
Tracked Since Feb 18, 2026