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
- CVSS: 9.0 (high)
- EPSS: 67.45% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2008-10-22
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
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
- Back up the MantisBT database and the config_inc.php file.
- Download a current MantisBT release from mantisbt.org (1.1.4 is the minimum fix; use the latest supported release).
- Replace the application files, keep config_inc.php and run admin/install.php to upgrade the schema.
- 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.