CVE-2006-2908 Code injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary PHP code via the username field in MyBB due to unsafe preg_replace usage, requiring low privileges.

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

What is CVE-2006-2908?

CVE-2006-2908 is a high-severity code injection vulnerability in Mybulletinboard Mybulletinboard, published on 13 Jun 2006. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The domecode function in inc/functions_post.php in MyBulletinBoard (MyBB) 1.1.2, and possibly other versions, allows remote attackers to execute arbitrary PHP code via the username field, which is used in a preg_replace function call with a /e (executable) modifier.

Which versions are affected by CVE-2006-2908?

It affects 1 product.

Products include Mybulletinboard Mybulletinboard.

How do I fix CVE-2006-2908?

No fix has been published for CVE-2006-2908 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2006-2908 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Mybulletinboard Mybulletinboard vulnerabilities

Sources

Also known as GHSA-6qwc-9gff-4h4m.

Is CVE-2006-2908 in your software?

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

Check your SBOMs for free