CVE-2010-2086 Apache MyFaces Cross-site Scripting vulnerability
Remote attackers can execute arbitrary code or XSS via modified serialized view objects in Apache MyFaces when unencrypted view state is enabled.
- 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-2086?
CVE-2010-2086 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
Apache MyFaces 1.1.7 and 1.2.8, as used in IBM WebSphere Application Server and other applications, does not properly handle an unencrypted view state, which allows remote attackers to conduct cross-site scripting (XSS) attacks or execute arbitrary Expression Language (EL) statements via vectors that involve modifying the serialized view object.
Weakness: CWE-79
Which versions are affected by CVE-2010-2086?
4 open source packages ship an affected version, including org.apache.myfaces.core:myfaces-core-module. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.myfaces.core:myfaces-core-module Maven | All versions to 1.1.7 | None |
org.apache.myfaces.core:myfaces-core-module Maven | All versions to 1.1.7 | None |
org.apache.myfaces.core:myfaces-core-module Maven | From 1.2.0 to 1.2.8 | None |
org.apache.myfaces.core:myfaces-core-module Maven | From 1.2.0 to 1.2.8 | None |
Products include Apache Myfaces.
How do I fix CVE-2010-2086?
Upgrade to a fixed version.
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-2086 being exploited?
There is no known exploitation of CVE-2010-2086 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-92cv-wv2c-8899.