CVE-2008-4687 Code injection in n/a

Critical 9.0 Published Updated

Authenticated users can execute arbitrary code in Mantis via a crafted sort parameter, requiring an upgrade to secure the application.

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-2008-4687?

CVE-2008-4687 is a critical code injection vulnerability in n/a, published on 22 Oct 2008. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

manage_proj_page.php in Mantis before 1.1.4 allows remote authenticated users to execute arbitrary code via a sort parameter containing PHP sequences, which are processed by create_function within the multi_sort function in core/utility_api.php.

Weakness: CWE-94

Which versions are affected by CVE-2008-4687?

It affects 1 product.

Products include Mantis Mantis.

How do I fix CVE-2008-4687?

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

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

Public exploit code: 1 Metasploit module, 2 Exploit-DB entries and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-hv4w-qf5w-5wqc.

Is CVE-2008-4687 in your software?

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

Check your SBOMs for free