CVE-2019-9082 ThinkPHP Remote Code Execution

Exploited in the wild High 8.8 Published Updated

Attackers can execute arbitrary commands remotely via a crafted URL in ThinkPHP, requiring an upgrade to secure the application.

Exploited in the wild
Since 3 Nov 2021
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2019-9082?

CVE-2019-9082 is a high-severity code injection vulnerability in n/a, published on 24 Feb 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

ThinkPHP before 3.2.4, as used in Open Source BMS v1.1.1 and other products, allows Remote Command Execution via public//?s=index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]= followed by the command.

Weakness: CWE-94, CWE-306

Which versions are affected by CVE-2019-9082?

It affects 3 products.

Products include Opensourcebms Open Source Background Management System, Thinkphp Thinkphp, Zzzcms Zzzphp.

How do I fix CVE-2019-9082?

No fix has been published for CVE-2019-9082 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2019-9082 being exploited?

Yes. Attackers have exploited CVE-2019-9082 in the wild since at least 3 Nov 2021.

Public exploit code: 1 Metasploit module, 2 Exploit-DB entries and 1 Nuclei template.

Sources

Also known as GHSA-qpgr-mp84-gp92.

Is CVE-2019-9082 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free