CGI Generic XSS (persistent, 3rd Pass)

medium Nessus Plugin ID 52483

Synopsis

A CGI application hosted on the remote web server is potentially prone to cross-site scripting attacks.

Description

The remote web server hosts one or more CGI scripts that fail to adequately sanitize request strings containing malicious JavaScript. By leveraging this issue, an attacker may be able to cause arbitrary HTML and script code to be executed in a user's browser within the security context of the affected site.

This script identified patterns that were injected to test 'reflected' (aka 'non-persistent') XSS. The issues are likely to be 'persistent' (or 'stored') after all.

Solution

Restrict access to the vulnerable application and contact the vendor for a patch or upgrade.

See Also

https://en.wikipedia.org/wiki/Cross_site_scripting#Persistent

http://projects.webappsec.org/w/page/13246920/Cross%20Site%20Scripting

Plugin Details

Severity: Medium

ID: 52483

File Name: torture_cgi_persistent_XSS3.nasl

Version: 1.13

Type: remote

Published: 3/1/2011

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

CVSS v2

Risk Factor: Medium

Base Score: 4.3

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

Vulnerability Information

Required KB Items: Settings/enable_web_app_tests

Reference Information

CWE: 116, 20, 442, 692, 712, 722, 725, 74, 751, 79, 80, 801, 81, 811, 83, 86, 928, 931