2020-04-08 16:30:10 +00:00
|
|
|
id: twig-php-ssti
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Twig PHP <2.4.4 template engine - SSTI
|
|
|
|
author: madrobot
|
|
|
|
severity: high
|
2021-10-27 10:52:34 +00:00
|
|
|
description: A vulnerability in Twig PHP allows remote attackers to cause the product to execute arbitrary commands via an SSTI vulnerability.
|
2021-11-09 16:46:37 +00:00
|
|
|
tags: php,ssti,twig
|
2020-04-08 16:30:10 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2021-08-16 20:30:23 +00:00
|
|
|
- "{{BaseURL}}/search?search_key=%7B%7B1337*1338%7D%7D"
|
2021-08-16 20:28:13 +00:00
|
|
|
|
2021-11-09 16:46:37 +00:00
|
|
|
skip-variables-check: true
|
2021-08-16 20:28:13 +00:00
|
|
|
matchers-condition: and
|
2020-04-08 16:30:10 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
2021-11-09 16:46:37 +00:00
|
|
|
part: body
|
2020-04-08 16:30:10 +00:00
|
|
|
words:
|
2020-04-20 12:14:59 +00:00
|
|
|
- "1788906"
|
2021-11-09 16:46:37 +00:00
|
|
|
|
2021-08-16 20:28:13 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 404
|
2021-11-09 16:46:37 +00:00
|
|
|
negative: true
|