CVE-2006-4877

David Bennett PHP-Post <1.0 - Variable Overwrite

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2006-4877. PoCs published by HACKERS PAL.

AI-analyzed exploit summary This exploit leverages a SQL injection vulnerability in PHP-Post to write a malicious PHP file to the target server, enabling remote command execution. It constructs a UNION-based SQL query to inject PHP code into an OUTFILE, creating a backdoor shell.

Description

Variable overwrite vulnerability in David Bennett PHP-Post (PHPp) 1.0 and earlier allows remote attackers to overwrite arbitrary program variables via multiple vectors that use the extract function, as demonstrated by the table_prefix parameter in (1) index.php, (2) profile.php, and (3) header.php.

Exploits (1)

exploitdb WORKING POC VERIFIED
by HACKERS PAL · phpwebappsphp
https://www.exploit-db.com/exploits/28591

This exploit leverages a SQL injection vulnerability in PHP-Post to write a malicious PHP file to the target server, enabling remote command execution. It constructs a UNION-based SQL query to inject PHP code into an OUTFILE, creating a backdoor shell.

Classification
Working Poc 95%
Attack Type
Sqli
Complexity
Moderate
Reliability
Reliable
Target: PHP-Post (version not specified)
No auth needed
Prerequisites: Target must have PHP-Post installed with vulnerable configuration · Target must allow file writes via SQL OUTFILE
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/20061
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2006/3688
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/28966
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/1607
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/28967
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/22014
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/446318/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/28965

Scores

EPSS 0.0850
EPSS Percentile 94.3%

Details

Status published
Products (1)
david_bennett/php-post < 1.0
Published Sep 19, 2006
Tracked Since Feb 18, 2026