ThinkPHP < 5.0.24 RCE

high Nessus Plugin ID 155964

Synopsis

The remote web server is affected by a remote code execution vulnerability.

Description

The version of ThinkPhP installed on the remote host is prior to 5.0.24. It is, therefore, affected by a remote code execution vulnerability. An unauthenticated, remote attacker can exploit this to execute arbitrary php code through multiple parameters.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to ThinkPHP version 5.0.24 or later.

See Also

https://www.exploit-db.com/exploits/48333

https://github.com/xiayulei/open_source_bms/issues/33

http://www.nessus.org/u?7be44ca0

Plugin Details

Severity: High

ID: 155964

File Name: thinkphp_5_0_24.nasl

Version: 1.7

Type: remote

Family: Web Servers

Published: 12/10/2021

Updated: 4/25/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.0

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.7

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2019-9082

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:thinkphp:thinkphp

Required KB Items: installed_sw/ThinkPHP

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/24/2021

Vulnerability Publication Date: 2/24/2021

CISA Known Exploited Vulnerability Due Dates: 5/3/2022

Exploitable With

Metasploit (ThinkPHP Multiple PHP Injection RCEs)

Reference Information

CVE: CVE-2019-9082