CVE-2012-2243 Cross-site scripting in n/a
Remote attackers can inject scripts via XML uploads, potentially leading to arbitrary code execution without authentication in Mahara.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-2243?
CVE-2012-2243 is a medium-severity cross-site scripting vulnerability in Mahara Mahara, published on 24 Nov 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Cross-site scripting (XSS) vulnerability in Mahara 1.4.x before 1.4.5 and 1.5.x before 1.5.4 allows remote attackers to inject arbitrary web script or HTML by uploading an XML file with the xhtml extension, which is rendered inline as script. NOTE: this can be leveraged with CVE-2012-2244 to execute arbitrary code without authentication, as demonstrated by modifying the clamav path.
Weakness: CWE-79
Which versions are affected by CVE-2012-2243?
It affects 1 product.
Products include Mahara Mahara.
How do I fix CVE-2012-2243?
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-2012-2243 being exploited?
There is no known exploitation of CVE-2012-2243 in the wild and no public exploit code.
Other vulnerabilities in Mahara Mahara
Sources
Also known as GHSA-hmf8-f4g7-v4wr.