CVE-2012-1470 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via path and line parameters in the code editor, potentially stealing user data or hijacking sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2012-1470?
CVE-2012-1470 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Oct 2012. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Multiple cross-site scripting (XSS) vulnerabilities in code_editor.php in ocPortal before 7.1.6 allow remote attackers to inject arbitrary web script or HTML via the (1) path or (2) line parameters.
Weakness: CWE-79
Which versions are affected by CVE-2012-1470?
It affects 1 product.
Products include Ocportal Ocportal.
How do I fix CVE-2012-1470?
No fix has been published for CVE-2012-1470 yet. Limit exposure of the affected software until one is available.
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-1470 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-1470 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4hrg-xfv8-3947.