CVE-2010-1459: Mono Cross-Site Scripting Vulnerability
MODERATECVE-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.
CVE-2010-1459 at a Glance
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.
Upgrade mono to 2.6.4
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
CVE-2010-1459 Affected Mono Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mono
|
NuGet |
< 2.6.4
|
2.6.4
|
References
Frequently Asked Questions
What is CVE-2010-1459?
Which Mono versions are affected?
What version fixes CVE-2010-1459?
Is mono affected?
What CWE is associated with CVE-2010-1459?
How can I check NuGet dependencies for CVE-2010-1459?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}