CVE-2009-20001: Mantisbt/mantisbt MantisBT Insufficient Session Expiration Cookie Vulnerability

HIGH
Advisory Identifier: GHSA-jm72-67rm-763j
CVSS 8.1
CWE-613
Published
Advisory Summary

CVE-2009-20001 is a HIGH (CVSS 8.1) mantisbt insufficient session expiration cookie vulnerability (CWE-613: Insufficient Session Expiration) affecting Mantisbt/mantisbt libraries in the Packagist ecosystem. The issue involves mantisbt insufficient session expiration cookie string not reset after logout. Remediation is available by upgrading affected packages to version 2.24.5.

CVE-2009-20001 at a Glance

CVE Identifier CVE-2009-20001
GHSA Identifier GHSA-jm72-67rm-763j
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-613: Insufficient Session Expiration
Affected Product Mantisbt/mantisbt
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2009-20001

To remediate this vulnerability, upgrade all affected Mantisbt/mantisbt dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mantisbt/mantisbt fixed: 2.24.5
Upgrade mantisbt/mantisbt to 2.24.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for mantisbt/mantisbt

How to Check if You Are Affected

To determine whether your application is affected by CVE-2009-20001, inspect your project dependencies for Mantisbt/mantisbt:

inspect dependencies for mantisbt/mantisbt

Analyze the terminal output to locate any version of Mantisbt/mantisbt in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.24.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Mantisbt/mantisbt, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An issue was discovered in MantisBT before 2.24.5. It associates a unique cookie string with each user. This string is not reset upon logout (i.e., the user session is still considered valid and active), allowing an attacker who somehow gained access to a user's cookie to login as them.

CVE-2009-20001 Affected Mantisbt/mantisbt Versions

1 component(s)
Fixed Versions:
2.24.5
Product / Package Ecosystem Affected Versions Fixed Version
mantisbt/mantisbt
Packagist
< 2.24.5
2.24.5

References

Frequently Asked Questions

What is CVE-2009-20001?
CVE-2009-20001 is a security vulnerability in Mantisbt/mantisbt involving MantisBT Insufficient Session Expiration cookie string not reset after logout under CWE-613: Insufficient Session Expiration.
Which Mantisbt/mantisbt versions are affected?
Affected versions include releases prior to 2.24.5 across affected packages: mantisbt/mantisbt.
What version fixes CVE-2009-20001?
Upgrading to 2.24.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mantisbt/mantisbt affected?
Yes, mantisbt/mantisbt is affected in releases prior to 2.24.5. Upgrade your dependency to 2.24.5 or later.
What is the CVSS score of CVE-2009-20001?
CVE-2009-20001 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2009-20001?
CVE-2009-20001 is classified under CWE-613: Insufficient Session Expiration (According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.").
How can I check Packagist dependencies for CVE-2009-20001?
Run the dependency tree command: 'inspect dependencies for mantisbt/mantisbt'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jm72-67rm-763j",
  "modified" : "2025-06-09T17:48:33Z",
  "published" : "2022-04-21T01:54:03Z",
  "aliases" : [ "CVE-2009-20001" ],
  "summary" : "MantisBT Insufficient Session Expiration cookie string not reset after logout",
  "details" : "An issue was discovered in MantisBT before 2.24.5. It associates a unique cookie string with each user. This string is not reset upon logout (i.e., the user session is still considered valid and active), allowing an attacker who somehow gained access to a user's cookie to login as them.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "mantisbt/mantisbt"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.24.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.24.4"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-20001"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mantisbt/mantisbt/commit/79a78c09d5ef5ce098adc73f6f1416f00fc238a5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mantisbt/mantisbt"
  }, {
    "type" : "WEB",
    "url" : "https://mantisbt.org/bugs/view.php?id=11296"
  }, {
    "type" : "WEB",
    "url" : "https://mantisbt.org/bugs/view.php?id=27976"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-613" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-28T23:02:24Z",
    "nvd_published_at" : "2021-03-07T20:15:00Z"
  }
}