ThinkPHP Multiple Parameter RCE

critical Nessus Plugin ID 121621

Synopsis

The remote web server hosts a web application that allows an attacker to upload arbitrary PHP files.

Description

The version of ThinkPHP hosted on the remote web server allows an unauthenticated, remote attacker to execute arbitrary php code through multiple parameters.

Solution

Upgrade or patch ThinkPHP to a non-affected version.

See Also

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

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

Plugin Details

Severity: Critical

ID: 121621

File Name: thinkphp_rce.nbin

Version: 1.101

Type: remote

Family: CGI abuses

Published: 2/6/2019

Updated: 11/12/2024

Configuration: Enable thorough checks

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: Critical

Base Score: 9.8

Temporal Score: 9.1

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

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

CVSS Score Source: CVE-2018-20062

Vulnerability Information

CPE: cpe:/a:php:php, cpe:/a:thinkphp:thinkphp

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/11/2018

Vulnerability Publication Date: 12/11/2018

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

Exploitable With

Metasploit (ThinkPHP Multiple PHP Injection RCEs)

Reference Information

CVE: CVE-2018-20062, CVE-2019-9082