TYPO3 Path Traversal vulnerability
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.2.0 before 4.2.16Ecosystem versions | 4.2.16 |
| From 4.3.0 before 4.3.9Ecosystem versions | 4.3.9 |
| From 4.4.0 before 4.4.5Ecosystem versions | 4.4.5 |
Version evidence: OSV · GHSA-66j3-66cp-6c2m
View original version evidence (0 explicit versions)
Original source 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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2010-5099
- Security advisory exchange.xforce.ibmcloud.com/vulnerabilities/64180
- Source reference github.com/TYPO3/typo3
- Security advisory web.archive.org/web/20120801235059/http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-sa-2010-022
- Source reference blog.nibblesec.org/2010/12/typo3-sa-2010-020-typo3-sa-2010-022.html
- Public exploit reference www.exploit-db.com/exploits/15856
- Security advisory www.openwall.com/lists/oss-security/2011/01/13/2
- Security advisory www.openwall.com/lists/oss-security/2012/05/10/7
- Security advisory www.openwall.com/lists/oss-security/2012/05/11/3
- Security advisory www.openwall.com/lists/oss-security/2012/05/12/5