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 today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · 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 and applications incorporating the framework, including Open Source BMS v1.1.1. Crafted HTTP requests manipulate framework routing to reach invokefunction and invoke attacker-selected functions through call_user_func_array. Selecting a command-execution function such as system allows execution of arbitrary operating-system commands. The CVE description identifies ThinkPHP versions before 3.2.4; associated exploit references also discuss ThinkPHP 5.x, so the complete affected-version range is not consistently established.

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 execution context. Attackers can execute commands, access or modify application data, and deploy additional payloads. Observed campaigns exploiting CVE-2019-9082 alongside CVE-2018-20062 installed the Dama web shell for persistent remote access, file manipulation, reconnaissance, and database access. Elevated operating-system privileges are not an inherent result of this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Until an upgrade is possible, restrict access to affected applications using network allowlists, reverse-proxy access controls, or an authentication gateway. Apply WAF rules that block attempts to invoke internal framework functions through attacker-controlled routing parameters. Reduce PHP service-account privileges and outbound connectivity to limit post-exploitation impact. These controls are defense in depth, not substitutes for patching.

Remediation

Patch, then assume compromise.

Upgrade ThinkPHP and any applications bundling it to a currently supported release that addresses this vulnerability. Update embedded framework copies rather than relying solely on application version labels. Although the CVE description uses 3.2.4 as a version boundary, the accompanying ThinkPHP 5.x references make a universal minimum fixed version uncertain; verify the applicable fixed release for the deployed branch. For potentially compromised deployments, patching alone does not remove existing web shells or other attacker-installed persistence.

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 28, 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 and any applications bundling it to a currently supported release that addresses this vulnerability. Update embedded framework copies rather than relying solely on application version labels.
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 28, 2026.
Activity feed

Recent activity

20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+10 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
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.