CVE-2024-45232: In2code/powermail "powermail" (powermail) Insecure Direct Object Vulnerability

MODERATE
Advisory Identifier: GHSA-p652-xcgx-f85m
CVSS 7.3
CWE-639
Published
Advisory Summary

CVE-2024-45232 is a MODERATE (CVSS 7.3) "powermail" (powermail) insecure direct object vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting In2code/powermail libraries in the Packagist ecosystem. The issue involves "powermail" (powermail) insecure direct object reference (idor). Remediation is available by upgrading affected packages to version 12.4.0, 10.9.0, 8.5.0, 7.5.0.

CVE-2024-45232 at a Glance

CVE Identifier CVE-2024-45232
GHSA Identifier GHSA-p652-xcgx-f85m
Severity MODERATE
CVSS v3.1 Base Score 7.3
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product In2code/powermail
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.3

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

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

How to Fix CVE-2024-45232

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

in2code/powermail fixed: 12.4.0
Upgrade in2code/powermail to 12.4.0
in2code/powermail fixed: 10.9.0
Upgrade in2code/powermail to 10.9.0
in2code/powermail fixed: 8.5.0
Upgrade in2code/powermail to 8.5.0
in2code/powermail fixed: 7.5.0
Upgrade in2code/powermail to 7.5.0
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 in2code/powermail

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-45232, inspect your project dependencies for In2code/powermail:

inspect dependencies for in2code/powermail

Analyze the terminal output to locate any version of In2code/powermail in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 12.4.0), 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-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In In2code/powermail, 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 powermail extension through 12.3.5 for TYPO3. It fails to validate the mail parameter of the confirmationAction, resulting in Insecure Direct Object Reference (IDOR). An unauthenticated attacker can use this to display the user-submitted data of all forms persisted by the extension. This can only be exploited when the extension is configured to save submitted form data to the database (`plugin.tx_powermail.settings.db.enable=1`), which however is the default setting of the extension. The fixed versions are 7.5.0, 8.5.0, 10.9.0, and 12.4.0.

CVE-2024-45232 Affected In2code/powermail Versions

4 component(s)
Fixed Versions:
12.4.010.9.08.5.07.5.0
Product / Package Ecosystem Affected Versions Fixed Version
in2code/powermail
Packagist
≥ 11.0.0
< 12.4.0
12.4.0
in2code/powermail
Packagist
≥ 9.0.0
< 10.9.0
10.9.0
in2code/powermail
Packagist
≥ 8.0.0
< 8.5.0
8.5.0
in2code/powermail
Packagist
< 7.5.0
7.5.0

References

Frequently Asked Questions

What is CVE-2024-45232?
CVE-2024-45232 is a security vulnerability in In2code/powermail involving "powermail" (powermail) Insecure Direct Object Reference (IDOR) under CWE-639: Authorization Bypass Through User-Controlled Key.
Which In2code/powermail versions are affected?
Affected versions include releases prior to 12.4.0, 10.9.0, 8.5.0, 7.5.0 across affected packages: in2code/powermail.
What version fixes CVE-2024-45232?
Upgrading to 12.4.0, 10.9.0, 8.5.0, 7.5.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is in2code/powermail affected?
Yes, in2code/powermail is affected in releases prior to 12.4.0, 10.9.0, 8.5.0, 7.5.0. Upgrade your dependency to 12.4.0, 10.9.0, 8.5.0, 7.5.0 or later.
What is the CVSS score of CVE-2024-45232?
CVE-2024-45232 has a CVSS v3.1 base score of 7.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:F/RL:O/RC:C.
What CWE is associated with CVE-2024-45232?
CVE-2024-45232 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check Packagist dependencies for CVE-2024-45232?
Run the dependency tree command: 'inspect dependencies for in2code/powermail'. 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-p652-xcgx-f85m",
  "modified" : "2024-08-30T14:33:54Z",
  "published" : "2024-08-29T17:59:02Z",
  "aliases" : [ "CVE-2024-45232" ],
  "summary" : "\"powermail\" (powermail) Insecure Direct Object Reference (IDOR)",
  "details" : "An issue was discovered in powermail extension through 12.3.5 for TYPO3. It fails to validate the mail parameter of the confirmationAction, resulting in Insecure Direct Object Reference (IDOR). An unauthenticated attacker can use this to display the user-submitted data of all forms persisted by the extension. This can only be exploited when the extension is configured to save submitted form data to the database (`plugin.tx_powermail.settings.db.enable=1`), which however is the default setting of the extension. The fixed versions are 7.5.0, 8.5.0, 10.9.0, and 12.4.0.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:F/RL:O/RC:C"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "in2code/powermail"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0"
      }, {
        "fixed" : "12.4.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "in2code/powermail"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0"
      }, {
        "fixed" : "10.9.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "in2code/powermail"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "fixed" : "8.5.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "in2code/powermail"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "7.5.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45232"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/in2code-de/powermail/commit/061756732357206f2f13bf39a0676dd266ec9586"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/in2code-de/powermail/commit/ac402d4972c77dd119c8db6ffe594c15e8ae0bc5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/in2code-de/powermail/commit/e2ddfaa06d29019d60be02b5a3da04b237ed760b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/in2code-de/powermail/commit/f58d70311799ae5f6acbec52ea9206d21eba91bb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/in2code/powermail/CVE-2024-45232.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/in2code-de/powermail"
  }, {
    "type" : "WEB",
    "url" : "https://typo3.org/security/advisory/typo3-ext-sa-2024-006"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-08-29T17:59:02Z",
    "nvd_published_at" : "2024-08-29T00:15:09Z"
  }
}