Serendipity serendipity_event_bbcode.php Script serendipity[charset] Parameter Local File Inclusion

medium Nessus Plugin ID 23752

Synopsis

The remote web server contains a PHP application that is affected by a local file inclusion issue.

Description

The 'plugins/serendipity_event_bbcode/serendipity_event_bbcode.php' script included with the version of Serendipity installed on the remote host fails to sanitize input to the 'serendipity[charset]' parameter before using it to include PHP code.

Provided PHP's 'register_globals' setting is enabled, an unauthenticated, remote attacker may be able to exploit this issue to view arbitrary files or to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Note that several other scripts included in Serendipity are reportedly affected by the same issue, although Nessus has not checked them.

Solution

Upgrade to Serendipity version 1.0.4 or later.

See Also

https://board.s9y.org/viewtopic.php?f=6&t=7926

Plugin Details

Severity: Medium

ID: 23752

File Name: serendipity_charset_file_include.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 12/1/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

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:s9y:serendipity

Required KB Items: www/serendipity

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Patch Publication Date: 12/1/2006

Vulnerability Publication Date: 11/30/2006

Reference Information

CVE: CVE-2006-6242

BID: 21367

CWE: 22