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.7

Type: remote

Family: CGI abuses

Published: 2014/07/28

Updated: 2019/11/25

Dependencies: 76872, 18297

Configuration: Enable paranoid mode

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.8

Temporal Score: 5.3

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

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: No exploit is required

Patch Publication Date: 2014/06/26

Vulnerability Publication Date: 2014/06/24

Reference Information

CVE: CVE-2014-4663

BID: 68180

EDB-ID: 33851