TYPO3 CMS code execution via Import/Export file hashes
TYPO3 CMS
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| TYPO3 TYPO3 CMS |
| No fix yet |
Original description
When importing a T3D or XML file in the Import/Export module, the file hash values of imported files were taken from the import data without validation and used to build the path of a temporary file. A crafted import file could therefore write files with arbitrary content to any location writable by the web server, for example a PHP file in the public web root, which leads to remote code execution. Exploiting this vulnerability requires an administrator backend user account, or a non-admin backend user for whom importing has been enabled via the user TSconfig option options.impexp.enableImportForNonAdminUser.