Résumé

TwigView FileLoader may allow arbitrary file reads through user-controlled template paths

Détails de l’avis

Impact

If FileLoader::findTemplate() is supplied un-validated user controlled data, arbitrary files can be read.

Patches

1.3.3 and 2.1.2 contain a fix for this issue.

Workarounds

Don't supply user controlled data to include and extends tags.

Références