CVE-2023-30451: Path Traversal
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-w6x2-jg8h-p6mp. This link is maintained to preserve external references.
Original Description In TYPO3 11.5.24, the filelist component allows attackers (who have access to the administrator panel) to read arbitrary files via directory traversal in the baseuri field, as demonstrated by POST /typo3/record/edit with ../../../ in data[sysfilestorage][data][sDEF][lDEF][basePath][vDEF].
Other sources
Problem Configurable storages using the local driver of the File Abstraction Layer (FAL) could be configured to access directories outside of the root directory of the corresponding project. The system setting in BE/lockRootPath was not evaluated by the file abstraction layer component. An administrator-level backend user account is required to exploit this vulnerability.
Solution Update to TYPO3 versions 8.7.57 ELTS, 9.5.46 ELTS, 10.4.43 ELTS, 11.5.35 LTS, 12.4.11 LTS, 13.0.1 that fix the problem described.
ℹ️ Strong security defaults - Manual actions required
see Important: #102800 changelog
Assuming that a web project is located in the directory /var/www/example.org (the "project root path" for Composer-based projects) and the publicly accessible directory is located at /var/www/example.org/public (the "public root path"), accessing resources via the File Abstraction Layer component is limited to the mentioned directories.
To grant additional access to directories, they must be explicitly configured in the system settings of $GLOBALS['TYPO3CONFVARS']['BE']['lockRootPath'] - either using the Install Tool or according to deployment techniques. The existing setting has been extended to support multiple directories configured as an array of strings.
Example: php $GLOBALS['TYPO3CONFVARS']['BE']['lockRootPath'] = [ ‘/var/shared/documents/’, ‘/var/shared/images/’, ];
❗ Storages that reference directories not explicitly granted will be marked as "offline" internally - no resources can be used in the website's frontend and backend context.
Credits Thanks to TYPO3 core & security team members Oliver Hader and Benjamin Franzke who fixed the issue.
References TYPO3-CORE-SA-2024-001
— GitHub
In TYPO3 11.5.24, the filelist component allows attackers (who have access to the administrator panel) to read arbitrary files via directory traversal in the baseuri field, as demonstrated by POST /typo3/record/edit with ../../../ in data[sysfilestorage][data][sDEF][lDEF][basePath][vDEF].
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-30451?
CVE-2023-30451 has been designated as a duplicate advisory and does not have a severity rating as it refers to a previously reported vulnerability.
How do I fix CVE-2023-30451?
To remediate CVE-2023-30451, upgrade TYPO3 to version 11.5.35, 12.4.11, 13.0.1 or to the latest available version.
What software versions are affected by CVE-2023-30451?
CVE-2023-30451 affects TYPO3 version 11.5.24 and may also impact versions prior to the remedial updates.
Who is impacted by CVE-2023-30451?
Administrators using TYPO3 version 11.5.24 are impacted by CVE-2023-30451 due to vulnerabilities in the filelist component.
What kind of vulnerability is CVE-2023-30451?
CVE-2023-30451 has been withdrawn but is related to path traversal vulnerabilities in TYPO3.