CVE-2006-2667 Code injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code by injecting PHP into user profile fields, which is later included by the cache system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2006-2667?

CVE-2006-2667 is a high-severity code injection vulnerability in Wordpress Wordpress, published on 30 May 2006. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2006-2667?

It affects 1 product.

Products include Wordpress Wordpress.

How do I fix CVE-2006-2667?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2006-2667 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-2667 exists.

Public exploit code: 1 Exploit-DB entry.

All Wordpress Wordpress vulnerabilities

Sources

Also known as DEBIAN-CVE-2006-2667, GHSA-77v7-f4fr-3hjf.

Is CVE-2006-2667 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free