Microsoft ASP.NET ValidateRequest Filters Bypass

medium Nessus Plugin ID 58601
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The web application framework used on the remote host may be susceptible to cross-site scripting attacks.

Description

According to the HTTP headers received from the remote host, the web server is configured to use the ASP.NET framework.

This framework includes the ValidateRequest feature, which is used by ASP.NET web applications to filter user input in an attempt to prevent cross-site scripting attacks. However, this set of filters can be bypassed if it is the sole mechanism used for protection by a web application.

Solution

Determine if any ASP.NET web applications solely rely on the ValidateRequest feature, and use additional protections if necessary.

See Also

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

http://msdn.microsoft.com/en-us/library/bb355989.aspx

http://www.nessus.org/u?553a368a

Plugin Details

Severity: Medium

ID: 58601

File Name: asp_net_validaterequest_bypass.nasl

Version: 1.9

Type: remote

Family: Web Servers

Published: 4/5/2012

Updated: 12/6/2018

Dependencies: webmirror.nasl

Risk Information

CVSS Score Source: CVE-2008-3842

VPR

Risk Factor: Low

Score: 3

CVSS v2

Risk Factor: Medium

Base Score: 4.3

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

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Vulnerability Information

CPE: cpe:/a:microsoft:.net_framework, cpe:/o:microsoft:windows

Required KB Items: Settings/PCI_DSS

Vulnerability Publication Date: 8/21/2008

Reference Information

CVE: CVE-2008-3842, CVE-2008-3843

CWE: 79