CriticalGHSA-67wg-6j7r-mqh8

Arbitrary Code Execution in TYPO3 CMS

Published 5 Jun 2024 · Updated 2 Dec 2024

Affected packages

typo3/cmsComposer
Affected
>=7.6.0 <7.6.22
Fixed in
7.6.22
Update to the fixed version for your release line, for example:composer require typo3/cms:^7.6.22
typo3/cmsComposer
Affected
>=8.0.0 <8.7.5
Fixed in
8.7.5
Update to the fixed version for your release line, for example:composer require typo3/cms:^8.7.5

Details

Due to a missing file extension in the fileDenyPattern, backend user are allowed to upload *.pht files which can be executed in certain web server setups. The new default fileDenyPattern is the following, which might have been overridden in the TYPO3 Install Tool.

\.(php[3-7]?|phpsh|phtml|pht)(\..*)?$|^\.htaccess$

Is GHSA-67wg-6j7r-mqh8 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected typo3/cms, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.