Twig Templates Directory Traversal Vulnerability
BID:59376
Info
Twig Templates Directory Traversal Vulnerability
| Bugtraq ID: | 59376 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 09 2013 12:00AM |
| Updated: | Apr 13 2015 08:24PM |
| Credit: | Rick Prent |
| Vulnerable: | |
| Not Vulnerable: | |
Discussion
Twig Templates Directory Traversal Vulnerability
Twig is prone to a directory-traversal vulnerability because it fails to properly sanitize user-supplied input.
A remote attacker can use directory-traversal strings to load templates from one directory up for the paths configured in the loader.
Twig versions prior to 1.12.3 is vulnerable.
Twig is prone to a directory-traversal vulnerability because it fails to properly sanitize user-supplied input.
A remote attacker can use directory-traversal strings to load templates from one directory up for the paths configured in the loader.
Twig versions prior to 1.12.3 is vulnerable.
Exploit / POC
Twig Templates Directory Traversal Vulnerability
Attackers can exploit this issue through a browser.
Attackers can exploit this issue through a browser.
Solution / Fix
Twig Templates Directory Traversal Vulnerability
Solution:
Updates are available. Please see the references or vendor advisory for more information.
Solution:
Updates are available. Please see the references or vendor advisory for more information.
References
Twig Templates Directory Traversal Vulnerability
References:
References:
- Security Release: Twig 1.12.3 released (Sensiolabs)
- Twig Homepage (Sensiolabs)