Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. NOTE: the vendor points out that Twig itself is not a web application and states that it is the responsibility of web applications using Twig to properly wrap input to it
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Link | Tags |
---|---|
https://github.com/twigphp/Twig/blob/2.x/CHANGELOG | release notes |
https://github.com/twigphp/Twig/commit/eddb97148ad779f27e670e1e3f19fb323aedafeb | third party advisory patch |
https://www.exploit-db.com/exploits/44102/ | exploit vdb entry third party advisory |
https://github.com/twigphp/Twig/issues/2743 | third party advisory exploit |
https://mobile.twitter.com/jameel_nabbo/status/1032593354704515072?s=20 | third party advisory exploit |