yappa-ng index.php album Parameter Local File Inclusion

medium Nessus Plugin ID 34448

Synopsis

The remote web server contains a PHP script that is susceptible to a local file include attack.

Description

The remote host is running yappa-ng, an open source photo gallery application written in PHP.

The version of yappa-ng installed on the remote host fails to sanitize user input to the 'album' parameter of the 'index.php' script before using it to include PHP code. An unauthenticated attacker can leverage 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

Unknown at this time.

Plugin Details

Severity: Medium

ID: 34448

File Name: yappa_album_file_include.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 10/21/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.8

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

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Exploitable With

Elliot (yappa-ng 2.3.2 LFI)

Reference Information

CVE: CVE-2008-4626

BID: 31828

CWE: 22

SECUNIA: 32325