-
Notifications
You must be signed in to change notification settings - Fork 674
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SECURITY] Protect frame GET parameter in tx_cms_showpic eID
The "frame" parameter is no longer evaluated in the showpic eID as it allowed uncontrolled resource consumption. This parameter was actually never used by ContentObjectRenderer and existed since the initial commit and is therefore put behind a feature flag. Resolves: #103306 Releases: main, 13.1, 12.4, 11.5 Change-Id: I87019e58c078c8ccafc0b7ce42fe28b49dc068e4 Security-Bulletin: TYPO3-CORE-SA-2024-010 Security-References: CVE-2024-34358 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84259 Reviewed-by: Oliver Hader <[email protected]> Tested-by: Oliver Hader <[email protected]>
- Loading branch information
Showing
6 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...ngelog/11.5.x/Important-103306-FrameGETParameterInTx_cms_showpicEIDDisabled.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.. include:: /Includes.rst.txt | ||
|
||
.. _important-103306-1714976257: | ||
|
||
======================================================================= | ||
Important: #103306 - Frame GET parameter in tx_cms_showpic eID disabled | ||
======================================================================= | ||
|
||
See :issue:`103306` | ||
|
||
Description | ||
=========== | ||
|
||
The show image controller (eID `tx_cms_showpic`) lacks a cryptographic | ||
HMAC-signature on the frame HTTP query parameter (e.g. | ||
`/index.php?eID=tx_cms_showpic?file=3&...&frame=12345`). | ||
This allows adversaries to instruct the system to produce an arbitrary number of | ||
thumbnail images on the server side. | ||
|
||
To prevent uncontrolled resource consumption, the frame HTTP query parameter is | ||
now ignored, since it could not be used by core APIs. | ||
|
||
The new feature flag | ||
`security.frontend.allowInsecureFrameOptionInShowImageController` — which is | ||
disabled per default — can be used to reactivate the previous behavior: | ||
|
||
.. code-block:: php | ||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['security.frontend.allowInsecureFrameOptionInShowImageController'] = true; | ||
.. index:: Frontend, NotScanned, ext:frontend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters