Symfony Directory Traversal
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| symfony/intl Packagist |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| symfony/intl Packagist |
|
|
| symfony/symfony Packagist |
|
|
An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The Intl component includes various bundle readers that are used to read resource bundles from the local filesystem. The read() methods of these classes use a path and a locale to determine the language bundle to retrieve. The locale argument value is commonly retrieved from untrusted user input (like a URL parameter). An attacker can use this argument to navigate to arbitrary directories via the dot-dot-slash attack, aka Directory Traversal.
From the CVE record · mitre
Symfony’s Intl bundle readers use a path and locale to read resource bundles from the local filesystem. If an application passes an untrusted locale, such as one supplied in a URL parameter, an attacker can use it to navigate to arbitrary directories. The input does not specify whether authentication is required.
Teams running Packagist symfony/intl or symfony/symfony versions >=2.7.0 <2.7.38, >=2.8.0 <2.8.31, >=3.0.0 <3.2.14, or >=3.3.0 <3.3.13 should check their dependencies.