CVE-2006-2667

WordPress < 2.0.2 - Remote Code Execution via Profile Update Displayname Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2006-2667. PoCs published by rgod.

AI-analyzed exploit summary This exploit targets WordPress <= 2.0.2 by injecting malicious PHP code into cached user profile files via the 'display_name' field. It leverages weak or empty MySQL DB passwords to predict cache filenames and execute arbitrary commands.

Description

Direct static code injection vulnerability in WordPress 2.0.2 and earlier allows remote attackers to execute arbitrary commands by inserting a carriage return and PHP code when updating a profile, which is appended after a special comment sequence into files in (1) wp-content/cache/userlogins/ (2) wp-content/cache/users/ which are later included by cache.php, as demonstrated using the displayname argument.

Exploits (1)

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

This exploit targets WordPress <= 2.0.2 by injecting malicious PHP code into cached user profile files via the 'display_name' field. It leverages weak or empty MySQL DB passwords to predict cache filenames and execute arbitrary commands.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: WordPress <= 2.0.2
Auth required
Prerequisites: Valid user account · User registration enabled · Weak or empty MySQL DB password
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Patch, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/20271
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/25777
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2006/1992
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/20608
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200606-08.xml
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/18372
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/26687
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/435039/100/0/threaded

Scores

EPSS 0.1427
EPSS Percentile 96.1%

Details

Status published
Products (1)
wordpress/wordpress < 2.0.2
Published May 30, 2006
Tracked Since Feb 18, 2026