CVE-2010-1459 Mono ASP.NET View State Cross-Site Scripting (XSS) vulnerability

Medium 4.3 Published Updated

Remote attackers can execute cross-site scripting attacks due to disabled view state validation in the default Mono ASP.NET configuration.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2010-1459?

CVE-2010-1459 is a medium-severity cross-site scripting vulnerability in n/a, published on 27 May 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2010-1459?

2 open source packages ship an affected version, including mono. It affects 1 product.

PackageAffectedFixed in
mono NuGetAll versions2.6.4
mono NuGetAll versions2.6.4

Products include Mono Mono.

How do I fix CVE-2010-1459?

Upgrade mono to 2.6.4 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2010-1459 being exploited?

There is no known exploitation of CVE-2010-1459 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2010-1459, GHSA-g5c6-w479-93xm.

Is CVE-2010-1459 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free