Vulnerabilities in pkg:nuget/mono

PACKAGE
Advisory Identifier: GHSA-g5c6-w479-93xm
Advisory Summary

CVE-2010-1459 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Mono libraries in the NuGet ecosystem. The issue involves mono asp.net view state cross-site scripting (xss) vulnerability. Remediation is available by upgrading affected packages to version 2.6.4.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/mono

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/mono. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-g5c6-w479-93xm CVE-2010-1459 MODERATE Mono ASP.NET View State Cross-Site Scripting (XSS) vulnerability

CVE-2010-1459 at a Glance

CVE Identifier CVE-2010-1459
GHSA Identifier GHSA-g5c6-w479-93xm
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Mono
Package Ecosystem NuGet
Published Date
Last Updated

How to Fix CVE-2010-1459

To remediate this vulnerability, upgrade all affected Mono dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mono fixed: 2.6.4
Upgrade mono to 2.6.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for mono

How to Check if You Are Affected

To determine whether your application is affected by CVE-2010-1459, inspect your project dependencies for Mono:

inspect dependencies for mono

Analyze the terminal output to locate any version of Mono in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Mono, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The default configuration of ASP.NET in Mono before 2.6.4 has a value of FALSE for the EnableViewStateMac property, which allows remote attackers to conduct cross-site scripting (XSS) attacks, as demonstrated by the __VIEWSTATE parameter to 2.0/menu/menu1.aspx in the XSP sample project.

CVE-2010-1459 Affected Mono Versions

1 component(s)
Fixed Versions:
2.6.4
Product / Package Ecosystem Affected Versions Fixed Version
mono
NuGet
< 2.6.4
2.6.4

References

Frequently Asked Questions

What is CVE-2010-1459?
CVE-2010-1459 is a security vulnerability in Mono involving Mono ASP.NET View State Cross-Site Scripting (XSS) vulnerability under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Mono versions are affected?
Affected versions include releases prior to 2.6.4 across affected packages: mono.
What version fixes CVE-2010-1459?
Upgrading to 2.6.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mono affected?
Yes, mono is affected in releases prior to 2.6.4. Upgrade your dependency to 2.6.4 or later.
What CWE is associated with CVE-2010-1459?
CVE-2010-1459 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check NuGet dependencies for CVE-2010-1459?
Run the dependency tree command: 'inspect dependencies for mono'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g5c6-w479-93xm",
  "modified" : "2024-01-19T20:50:37Z",
  "published" : "2022-05-02T06:22:59Z",
  "aliases" : [ "CVE-2010-1459" ],
  "summary" : "Mono ASP.NET View State Cross-Site Scripting (XSS) vulnerability",
  "details" : "The default configuration of ASP.NET in Mono before 2.6.4 has a value of FALSE for the EnableViewStateMac property, which allows remote attackers to conduct cross-site scripting (XSS) attacks, as demonstrated by the __VIEWSTATE parameter to 2.0/menu/menu1.aspx in the XSP sample project.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "mono"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.6.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-1459"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mono/mono"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00002.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2010-06/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.communities.hp.com/securitysoftware/blogs/spilabs/archive/2010/04/29/asp-net-cross-site-scripting-followup-mono.aspx"
  }, {
    "type" : "WEB",
    "url" : "http://www.mono-project.com/Vulnerabilities#ASP.NET_View_State_Cross-Site_Scripting"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/40351"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-19T20:50:37Z",
    "nvd_published_at" : "2010-05-27T19:00:00Z"
  }
}