CVE-2019-9082: ThinkPHP Remote Code Execution via invokefunction
- Vendors
- OpensourcebmsThinkphpZzzcms
CVE-2019-9082 is a remote code execution vulnerability in ThinkPHP, including its use in Open Source BMS v1.1.1 and other applications. Crafted HTTP requests invoke the framework's invokefunction method and abuse call_user_func_array to call attacker-selected functions, enabling arbitrary PHP code or operating-system command execution. The stated affected range is ThinkPHP before 3.2.4, although exploit references also associate the identifier with ThinkPHP 5.x; the precise cross-branch version scope is inconsistent.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality, integrity, and availability of the affected application within the privileges of its PHP or web-server process. Attackers can access application data and credentials, modify files, execute commands, and install persistent web shells. Observed exploitation has deployed the Dama web shell, enabling continued remote access, file manipulation, reconnaissance, and database access. Additional privilege escalation depends on separate weaknesses or system configuration.
Mitigation
If you can’t patch tonight, do this now.
Until upgrading is possible, restrict access to vulnerable applications through network allowlists or authenticated access gateways, and apply WAF rules that block malicious framework-routing and arbitrary-function-invocation requests. Account for deployment-dependent routing variants. Limit the privileges and filesystem access of the PHP service account to reduce post-exploitation impact. These controls are temporary defenses, not substitutes for patching.
Remediation
Patch, then assume compromise.
Upgrade ThinkPHP to a currently supported, patched release and update applications that bundle the framework, including affected Open Source BMS deployments. Confirm the correct fixed release for the deployed branch rather than assuming that the stated 3.2.4 boundary resolves every referenced 5.x exploit variant. For previously exposed systems, investigate for web shells and other unauthorized changes; patching alone does not remove an established compromise.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2019-9082 exploited in the wild?
- Yes. As of Nov 14, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2019-9082?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2019-9082, the earliest disclosed Dec 10, 2018.
- Is there a patch for CVE-2019-9082?
- Upgrade ThinkPHP to a currently supported, patched release and update applications that bundle the framework, including affected Open Source BMS deployments. Confirm the correct fixed release for the deployed branch rather than assuming that the stated 3.2.4 boundary resolves every referenced 5.x exploit variant.
- What products are affected by CVE-2019-9082?
- Thinkphp, Opensourcebms Open Source Background Management System, and Zzzcms Zzzphp.
- How severe is CVE-2019-9082?
- CVE-2019-9082 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 97.4% (100th percentile) as of Nov 14, 2026.
Recent activity
18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.