TYPO3-EXT-SA-2024-006: Multiple vulnerabilities in "powermail" (powermail)

Categories: Development Created by Torben Hansen
It has been discovered that the extension "powermail" (powermail) is susceptible to Insecure Direct Object Reference and Broken Access Control.
  • Release Date: August 27, 2024
  • Component Type: Third party extension. This extension is not a part of the TYPO3 default installation.
  • Component: "powermail" (powermail)
  • Composer Package Name: in2code/powermail
  • Vulnerability Type: Insecure Direct Object Reference and Broken Access Control
  • Affected Versions: 7.4.3 and below, 8.0.0 - 8.4.2, 9.0.0 - 10.8.2, 12.0.0 - 12.3.5
  • Severity: Medium
  • Suggested CVSS v3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:F/RL:O/RC:C
  • References: CVE-2024-45232, CVE-2024-45233, CWE-639, CWE-284

Problem Description

The extension fails to validate the “mail” parameter of the “confirmationAction” resulting in Insecure Direct Object Reference (IDOR). An unauthenticated attacker can use this vulnerability to display user submitted data of all forms persisted by the extension. Note, that this vulnerability can only be exploited, when the extension is configured to save submitted form data to the database (TypoScript constant: plugin.tx_powermail.settings.db.enable = 1), which however is the default setting of the extension.

Several actions  in the “OutputController” can directly be called due to missing or insufficiently implemented access checks resulting in Broken Access Control. Depending on the configuration of the “Powermail Frontend” plugins, an unauthenticated attacker can use this vulnerability to edit, update, delete or export data of persisted forms. Note, that this vulnerability can only be exploited, when the “Powermail Frontend” plugins are used.
 

Solution

Updated versions 7.5.0, 8.5.0, 10.9.0 and 12.4.0 are  available from the TYPO3 extension manager, packagist and at  
https://extensions.typo3.org/extension/download/powermail/7.5.0/zip
https://extensions.typo3.org/extension/download/powermail/8.5.0/zip
https://extensions.typo3.org/extension/download/powermail/10.9.0/zip 
https://extensions.typo3.org/extension/download/powermail/12.4.0/zip
Users of the extension are advised to update the extension as soon as possible.

Important: The “Export” and “RSS” functionality of the “Powermail Frontend” plugin have been removed without replacement.

Credits

Thanks to Christian Pschorr for reporting the IDOR vulnerability, Security Team Member Oliver Hader for reporting the Broken Access Control issue and to Marcus Schwermer  for providing updated versions of the extension.

General Advice

Follow the recommendations that are given in the TYPO3 Security Guide. Please subscribe to the typo3-announce mailing list.