Serendipity compat.php searchTerm Parameter XSS

medium Nessus Plugin ID 15914

Synopsis

The remote web server contains a PHP application that is affected by a cross-site scripting flaw.

Description

The remote version of Serendipity is vulnerable to cross-site scripting attacks due to a lack of sanity checks on the 'searchTerm' parameter in the 'compat.php' script. With a specially crafted URL, an attacker can cause arbitrary code execution in a user's browser resulting in a loss of integrity.

Solution

Upgrade to Serendipity 0.7.1 or newer.

See Also

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

https://docs.s9y.org/

Plugin Details

Severity: Medium

ID: 15914

File Name: serendipity_xss.nasl

Version: 1.23

Type: remote

Published: 12/6/2004

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

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

Vulnerability Publication Date: 12/2/2004

Reference Information

CVE: CVE-2004-2525

BID: 11790

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990