← Vulnerability feed

Vulnerability record · CVE-2008-4687 · published 22 October 2008

CVE-2008-4687: Mantis manage_proj_page.php sort parameter code injection

Mantis · Mantis

Mantis before 1.1.4 passes the sort parameter from manage_proj_page.php into create_function within the multi_sort function in core/utility_api.php, allowing PHP sequences in that parameter to be executed. This is a code injection flaw that lets an authenticated user run arbitrary PHP code on the server.

9.0 CVSS 2.0 High EPSS 67% · top 0.7% CWE-94 · Code injection
9.0CVSS 2.0 base score
67%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
26References
16 Jun 2026Last modified by NVD

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.

AV:N/AC:L/Au:S/C:C/I:C/A:C

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityRemote authenticated code execution with complete impact and very high EPSS, though exploitation requires a valid account and no KEV listing exists.

What it is

Mantis before 1.1.4 passes the sort parameter from manage_proj_page.php into create_function within the multi_sort function in core/utility_api.php, allowing PHP sequences in that parameter to be executed. This is a code injection flaw that lets an authenticated user run arbitrary PHP code on the server.

Impact

An attacker with a valid Mantis account can execute arbitrary code with the web server's privileges, leading to full compromise of confidentiality, integrity and availability of the application and host.

Attack surface

Reached remotely over the network through manage_proj_page.php; the CVSS vector AV:N/AC:L/Au:S indicates no special conditions beyond a single authenticated account, and no user interaction is required.

Exploitation

No CISA KEV listing and no ransomware associations are recorded, but public exploit code exists in Exploit-DB (6768, 44611) and EPSS is very high at 0.67453 (99.27th percentile), indicating elevated likelihood of exploitation.

What to do

  • Upgrade Mantis to 1.1.4 or later, which removes the unsafe create_function usage in multi_sort.
  • If immediate upgrade is not possible, restrict access to manage_proj_page.php to trusted administrators only.
  • Apply the vendor patch referenced in the Mantis changelog and bug 9704.
  • Deploy the Gentoo GLSA-200812-07 update if running Mantis from Gentoo packages.
  • Review accounts with project management privileges and remove unnecessary ones.

Detection

  • Inspect web server and application logs for requests to manage_proj_page.php with sort parameters containing PHP function or code-like strings.
  • Monitor for unexpected PHP process execution or outbound connections originating from the Mantis web server.
  • Audit file integrity on the Mantis installation and web root for newly written or modified PHP files.
  • Alert on repeated or anomalous access to manage_proj_page.php from authenticated sessions.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2008-4687 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2006-6515Mantis vulnerabilityMantis before 1.1.0a2 sets the default value of $g_bug_reminder_threshold to "reporter" instead of a more privileged role, which has unknown impact a…EPSS 1.4%10.0CVE-2006-0665Mantis vulnerabilityUnspecified vulnerability in (1) query_store.php and (2) manage_proj_create.php in Mantis before 1.0.0 has unknown impact and attack vectors. NOTE: t…EPSS 1.8%10.0CVE-2002-1110Mantis vulnerabilityMultiple SQL injection vulnerabilities in Mantis 0.17.2 and earlier, when running without magic_quotes_gpc enabled, allows remote attackers to gain p…EPSS 2.2%7.5CVE-2008-4689Mantis improper authentication vulnerabilityMantis before 1.1.3 does not unset the session cookie during logout, which makes it easier for remote attackers to hijack sessions.EPSS 2.5%7.5CVE-2008-3333Mantis path traversal vulnerabilityDirectory traversal vulnerability in core/lang_api.php in Mantis before 1.1.2 allows remote attackers to include and execute arbitrary files via the …EPSS 2.3%7.5CVE-2006-0146John lim adodb sql injection vulnerabilityThe server.php test script in ADOdb for PHP before 4.70, as used in multiple products including (1) Mantis, (2) PostNuke, (3) Moodle, (4) Cacti, (5) …EPSS 13%7.5CVE-2006-0147John lim adodb vulnerabilityDynamic code evaluation vulnerability in tests/tmssql.php test script in ADOdb for PHP before 4.70, as used in multiple products including (1) Mantis…EPSS 13%7.5CVE-2005-4519Mantis vulnerabilityMultiple SQL injection vulnerabilities in the manage user page (manage_user_page.php) in Mantis 1.0.0rc3 and earlier allow remote attackers to execut…EPSS 2.1%

Source: NIST National Vulnerability Database (record CVE-2008-4687), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.