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.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://github.com/symfony/symfony/pull/24994 | issue tracking third party advisory |
https://symfony.com/blog/cve-2017-16654-intl-bundle-readers-breaking-out-of-paths | issue tracking vendor advisory |
https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html | third party advisory mailing list |
https://www.debian.org/security/2018/dsa-4262 | third party advisory vendor advisory |