CakePHP vendors.php file Parameter Traversal Arbitrary File Access

medium Nessus Plugin ID 22448

Synopsis

The remote web server contains a PHP script that is prone to a directory traversal attack.

Description

The remote host is running CakePHP, an open source rapid development framework for PHP.

The version of CakePHP on the remote host allows directory traversal sequences in the 'file' parameter of the 'js/vendors.php' script. An unauthenticated attacker may be able to leverage this flaw to view arbitrary files on the remote host subject to the privileges of the web server user id.

Solution

Upgrade to CakePHP version 1.1.8.3544 or later.

See Also

http://www.nessus.org/u?d309f69a

http://www.nessus.org/u?baeaa24f

http://www.nessus.org/u?a4f701e6

Plugin Details

Severity: Medium

ID: 22448

File Name: cakephp_file_dir_traversal.nasl

Version: 1.16

Type: remote

Family: CGI abuses

Published: 9/25/2006

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.1

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

Vulnerability Information

CPE: cpe:/a:cakefoundation:cakephp

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 9/21/2006

Reference Information

CVE: CVE-2006-5031

BID: 20150