Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2019-9082: ThinkPHP Remote Code Execution via invokefunction

Published Feb 24, 2019 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS8.8High · v3.1
EPSS97.4%100th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendors
OpensourcebmsThinkphpZzzcms
IdentifiersCVE-2019-9082CWE-94 · Improper Control of Generation of…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Exposure surface

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.

VendorProductType
OpensourcebmsOpen Source Background Management Systemapplication
ThinkphpThinkphpapplication
ZzzcmsZzzphpapplication
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence1Every report linking this CVE to a named adversary.
Associated malware5Malware families linked to this CVE, with evidence and IOCs.
Detection signatures4YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity6Community discussion across Reddit, Mastodon, and other social sources.