PHP Code Snippet Library index.php Multiple Parameter XSS

medium Nessus Plugin ID 14368

Synopsis

The remote web server contains a PHP script affected by a cross-site scripting vulnerability.

Description

The remote host is running PHP Code Snippet Library (PHP-CSL), a library written in PHP.

The remote version of this software fails to sanitize input to the 'cat_select' parameter of the 'index.php' script. This can be used to take advantage of the trust between a client and server allowing the malicious user to execute malicious JavaScript on the client's machine.

Solution

Upgrade to PHP-CSL version 0.9.1 or later as that is rumored to address the issue.

See Also

https://seclists.org/bugtraq/2004/Aug/338

Plugin Details

Severity: Medium

ID: 14368

File Name: phpcsl_xss.nasl

Version: 1.23

Type: remote

Published: 8/25/2004

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

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:php_code_snippet_library:php_code_snippet_library

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 8/24/2004

Reference Information

CVE: CVE-2004-1746

BID: 11038

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