Description
The fileDenyPattern functionality in the PHP file inclusion protection API in TYPO3 4.2.x before 4.2.16, 4.3.x before 4.3.9, and 4.4.x before 4.4.5 does not properly filter file types, which allows remote attackers to bypass intended access restrictions and access arbitrary PHP files, as demonstrated using path traversal sequences with %00 null bytes and CVE-2010-3714 to read the TYPO3 encryption key from localconf.php.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- TYPO3 - Arbitrary File Retrieval EDB-15856 · webapps · Dec 29, 2010
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | typo3/cms | >= 4.2.0, < 4.2.16 | 4.2.16 | GHSA-66j3-66cp-6c2m |
| Packagist | typo3/cms | >= 4.3.0, < 4.3.9 | 4.3.9 | GHSA-66j3-66cp-6c2m |
| Packagist | typo3/cms | >= 4.4.0, < 4.4.5 | 4.4.5 | GHSA-66j3-66cp-6c2m |
References
- http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-sa-2010-022/
- typo3-unspecified-file-include(64180) vdb-entry
- 35770 third-party-advisory
- [oss-security] 20120512 Re: CVE-request: TYPO3 TYPO3-SA-2010-022 still without CVE mailing-list
- [oss-security] 20110113 CVE requests: ftpls, xdigger, lbreakout2, calibre, typo3 mailing-list
- 15856 exploit
- [oss-security] 20120510 Re: CVE-request: TYPO3 TYPO3-SA-2010-022 still without CVE mailing-list
- [oss-security] 20120511 CVE-request: TYPO3 TYPO3-SA-2010-022 still without CVE mailing-list
- http://blog.nibblesec.org/2010/12/typo3-sa-2010-020-typo3-sa-2010-022.html