CVE-2007-2148 Code injection in n/a

Medium 6.5 Published Updated

Authenticated administrators can inject PHP code into HTML files, leading to remote code execution when those files are accessed.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2007-2148?

CVE-2007-2148 is a medium-severity code injection vulnerability in n/a, published on 19 Apr 2007. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Direct static code injection vulnerability in admin/save.php in Stephen Craton (aka WiredPHP) Chatness 2.5.3 and earlier allows remote authenticated administrators to inject PHP code into .html files via the html parameter, as demonstrated by head.html and foot.html, which are included and executed upon a direct request for index.php. NOTE: a separate vulnerability could be leveraged to make this issue exploitable by remote unauthenticated attackers.

Which versions are affected by CVE-2007-2148?

It affects 1 product.

Products include Stephen Craton Chatness.

How do I fix CVE-2007-2148?

No fix has been published for CVE-2007-2148 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-2007-2148 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-r8q7-f3rm-89r8.

Is CVE-2007-2148 in your software?

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

Check your SBOMs for free