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.
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: php,ssti,twig
|
2020-04-08 16:30:10 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2020-04-08 16:30:10 +00:00
|
|
|
- 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
|
2023-10-14 11:27:55 +00:00
|
|
|
|
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
|
2023-10-14 11:27:55 +00:00
|
|
|
negative: true
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100d750e9b1cb05a14438279f656ec2022b54696af1d29b00a2f61f1cc7c71dfaeb022100a80fb09677f4f6d560a1223450dd1307e7adac07ff00fd8c43ab3f3edb5406cd:922c64590222798bb761d5b6d8e72950
|