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

medium Nessus Plugin ID 76874

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

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

File Name: wordpress_timthumb_webshot_rce.nasl

Version: 1.12

Type: remote

Family: CGI abuses

Published: 7/28/2014

Updated: 6/5/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

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

CVSS Score Source: CVE-2014-4663

Vulnerability Information

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

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

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: No exploit is required

Exploited by Nessus: true

Patch Publication Date: 6/26/2014

Vulnerability Publication Date: 6/24/2014

Reference Information

CVE: CVE-2014-4663

BID: 68180