TimThumb 'timthumb.php' < 2.8.14 WebShot 'src' Parameter Remote Command Execution

medium Nessus Plugin ID 76873

Synopsis

The remote web server hosts a PHP script that is affected by a remote command execution vulnerability.

Description

The TimThumb 'timthumb.php' script installed on the remote host is prior to version 2.8.14. It is, therefore, affected by a remote command execution vulnerability due to a failure to properly sanitize user-supplied input to the 'src' parameter. A remote, unauthenticated attacker can leverage this issue to execute arbitrary commands on the remote host. Note that the script is only affected when the 'WebShot' feature is enabled.

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 version 2.8.14 or later.

See Also

https://seclists.org/fulldisclosure/2014/Jun/117

https://code.google.com/p/timthumb/source/detail?r=219

Plugin Details

Severity: Medium

ID: 76873

File Name: wordpress_timthumb_2_8_14.nasl

Version: 1.9

Type: remote

Family: CGI abuses

Published: 7/28/2014

Updated: 4/11/2022

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

Vulnerability Information

CPE: cpe:/a:wordpress:wordpress, cpe:/a:binarymoon:timthumb, cpe:/a:timthumb:timthumb

Required KB Items: installed_sw/WordPress, www/PHP, Settings/ParanoidReport, installed_sw/TimThumb

Exploit Available: true

Exploit Ease: No exploit is required

Patch Publication Date: 6/26/2014

Vulnerability Publication Date: 6/24/2014

Reference Information

CVE: CVE-2014-4663

BID: 68180