CVE-2023-22476: Mantisbt/mantisbt MantisBT May Expose Private Issues' Vulnerability

MODERATE
Advisory Identifier: GHSA-hf4x-6h87-hm79
CVSS 4.3
CWE-200
Published
Advisory Summary

CVE-2023-22476 is a MODERATE (CVSS 4.3) mantisbt may expose private issues' vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Mantisbt/mantisbt libraries in the Packagist ecosystem. The issue involves mantisbt may expose private issues' summaries to unauthorized users. Remediation is available by upgrading affected packages to version 2.25.6.

CVE-2023-22476 at a Glance

CVE Identifier CVE-2023-22476
GHSA Identifier GHSA-hf4x-6h87-hm79
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Mantisbt/mantisbt
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.3

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:L/I:N/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 Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2023-22476

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.25.6
Upgrade mantisbt/mantisbt to 2.25.6
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-2023-22476, 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.25.6), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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

### Impact Due to insufficient access-level checks, any logged-in user allowed to perform Group Actions can get access to the _Summary_ field of private Issues (i.e. having Private view status, or belonging to a private Project) via a crafted `bug_arr[]` parameter in *bug_actiongroup_ext.php*. ### Patches The vulnerability has been fixed in MantisBT version 2.25.6. ### Workarounds None ### Credits Thanks to [d3vpoo1](https://github.com/jrckmcsb) for reporting the issue. ### References - https://mantisbt.org/bugs/view.php?id=31086

CVE-2023-22476 Affected Mantisbt/mantisbt Versions

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

References

Frequently Asked Questions

What is CVE-2023-22476?
CVE-2023-22476 is a security vulnerability in Mantisbt/mantisbt involving MantisBT may expose private issues' summaries to unauthorized users under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Mantisbt/mantisbt versions are affected?
Affected versions include releases prior to 2.25.6 across affected packages: mantisbt/mantisbt.
What version fixes CVE-2023-22476?
Upgrading to 2.25.6 (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.25.6. Upgrade your dependency to 2.25.6 or later.
What is the CVSS score of CVE-2023-22476?
CVE-2023-22476 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2023-22476?
CVE-2023-22476 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Packagist dependencies for CVE-2023-22476?
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-hf4x-6h87-hm79",
  "modified" : "2023-10-03T21:26:04Z",
  "published" : "2023-02-23T19:39:54Z",
  "aliases" : [ "CVE-2023-22476" ],
  "summary" : "MantisBT may expose private issues' summaries to unauthorized users",
  "details" : "### Impact\nDue to insufficient access-level checks, any logged-in user allowed to perform Group Actions can get access to the _Summary_ field of private Issues (i.e. having Private view status, or belonging to a private Project) via a crafted `bug_arr[]` parameter in *bug_actiongroup_ext.php*.\n\n### Patches\nThe vulnerability has been fixed in MantisBT version 2.25.6. \n\n### Workarounds\nNone\n\n### Credits\nThanks to [d3vpoo1](https://github.com/jrckmcsb) for reporting the issue.\n\n### References\n- https://mantisbt.org/bugs/view.php?id=31086\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "mantisbt/mantisbt"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.25.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.25.5"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/mantisbt/mantisbt/security/advisories/GHSA-hf4x-6h87-hm79"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mantisbt/mantisbt"
  }, {
    "type" : "WEB",
    "url" : "https://mantisbt.org/bugs/view.php?id=31086"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-23T19:39:54Z",
    "nvd_published_at" : "2023-02-23T19:15:00Z"
  }
}