CVE-2006-6879

php-update < 2.7 - Authenticated Arbitrary File Upload via userfile Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2006-6879. PoCs published by rgod, undefined1_.

AI-analyzed exploit summary This exploit leverages a SQL injection vulnerability in PHP-Update <= 2.7 via the `str_replace()` function in the guestbook feature. It extracts admin credentials, uploads a malicious PHP file, and executes arbitrary commands on the target system.

Description

Unrestricted file upload vulnerability in admin/uploads.php in PHP-Update 2.7 and earlier allows remote authenticated users to upload arbitrary PHP scripts to the gfx/ and files/ directories via the userfile parameter.

Exploits (2)

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

This exploit leverages a SQL injection vulnerability in PHP-Update <= 2.7 via the `str_replace()` function in the guestbook feature. It extracts admin credentials, uploads a malicious PHP file, and executes arbitrary commands on the target system.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PHP-Update <= 2.7
No auth needed
Prerequisites: Target must be running PHP-Update <= 2.7 with MySQL >= 4.1 · Guestbook feature must be enabled
devstral-2 · analyzed Feb 18, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by undefined1_ · perlwebappsphp
https://www.exploit-db.com/exploits/3020

This exploit targets a file upload vulnerability in PHP-Update 2.7, allowing remote code execution by uploading a malicious PHP shell. The script interacts with the uploaded shell to execute arbitrary commands on the target system.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PHP-Update 2.7
No auth needed
Prerequisites: Target must be running PHP-Update 2.7 · Target must have the upload functionality accessible
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/3017
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/31125
Exploit, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/21789
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/3020
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/23486

Scores

EPSS 0.0179
EPSS Percentile 75.4%

Details

Status published
Products (1)
php-update/php-update < 2.7
Published Dec 31, 2006
Tracked Since Feb 18, 2026