CVE-2008-4687 in mantis

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

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.

Affected software: mantis

Scores

What LogPulse has for it

How to mitigate it

Upgrade MantisBT to 1.1.4 or later

Patch or upgrade. MantisBT before 1.1.4 evaluates the sort parameter of manage_proj_page.php as PHP code. Upgrading removes the code execution path.

Applies to: MantisBT 1.1.3 and earlier

  1. Back up the MantisBT database and the config_inc.php file.
  2. Download a current MantisBT release from mantisbt.org (1.1.4 is the minimum fix; use the latest supported release).
  3. Replace the application files, keep config_inc.php and run admin/install.php to upgrade the schema.
  4. Remove the admin directory after the upgrade.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse