WebPagetest < 2.7.2 file Parameter Traversal Arbitrary File Access

medium Nessus Plugin ID 62184

Synopsis

The remote web server hosts a PHP script that is affected by a directory traversal vulnerability.

Description

The WebPagetest install hosted on the remote web server fails to sanitize user input to the 'file' parameter of the 'gettext.php' script of directory traversal sequences before using it to return the contents of a file. An unauthenticated, remote attacker can exploit this to view the contents of files located outside of the server's root directory.

Note that the application also reportedly contains multiple file disclosure and arbitrary file upload vulnerabilities, although Nessus has not tested for those.

Solution

Update to version 2.7.2, which is reported to address the vulnerability.

See Also

http://www.nessus.org/u?6930f2b1

Plugin Details

Severity: Medium

ID: 62184

File Name: webpagetest_file_disclosure.nasl

Version: 1.15

Type: remote

Family: CGI abuses

Published: 9/18/2012

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.8

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

Vulnerability Information

CPE: x-cpe:/a:webpagetest:webpagetest

Required KB Items: www/PHP, www/webpagetest

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Patch Publication Date: 7/13/2012

Vulnerability Publication Date: 7/13/2012

Exploitable With

Elliot (WebPagetest 2.6 File Upload)

Reference Information

BID: 54442