WP-Lytebox 'pg' Parameter Local File Inclusion

medium Nessus Plugin ID 38925

Synopsis

The remote web server contains a PHP script that is affected by a local file include vulnerability.

Description

The remote host is running WP-Lytebox, a plugin for WordPress that uses Lytebox to add a lightbox functionality to HTML content.

The version of WP-Lytebox installed on the remote host fails to filter user-supplied input to the 'pg' parameter of the 'main.php' script before using it to include PHP code. Regardless of PHP's 'register_globals' setting, an unauthenticated attacker can exploit this issue to view arbitrary files or possibly to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Solution

Upgrade to version 1.3.1 or later.

See Also

http://grupenet.com/category/wordpress/

Plugin Details

Severity: Medium

ID: 38925

File Name: wp_lytebox_pg_lfi.nasl

Version: 1.17

Type: remote

Family: CGI abuses

Published: 5/27/2009

Updated: 1/19/2021

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:grupenet:wp-lytebox

Required KB Items: installed_sw/WordPress, www/PHP

Exploit Ease: No exploit is required

Exploited by Nessus: true

Patch Publication Date: 5/26/2009

Vulnerability Publication Date: 12/24/2009

Reference Information

CVE: CVE-2009-4672

BID: 35098

CWE: 22