CVE-2017-14077 Securimage HTML Injection
Remote attackers can inject arbitrary HTML into email bodies via the User-Agent header in Securimage, potentially leading to XSS or phishing.
- 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-2017-14077?
CVE-2017-14077 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 Nov 2017. 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
HTML Injection in Securimage 3.6.4 and earlier allows remote attackers to inject arbitrary HTML into an e-mail message body via the $_SERVER['HTTP_USER_AGENT'] parameter to example_form.ajax.php or example_form.php.
Weakness: CWE-94
Which versions are affected by CVE-2017-14077?
2 open source packages ship an affected version, including dapphp/securimage. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dapphp/securimage Packagist | All versions | 3.6.6 |
dapphp/securimage Packagist | All versions | 3.6.6 |
Products include Phpcaptcha Securimage.
How do I fix CVE-2017-14077?
Upgrade dapphp/securimage to 3.6.6 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-2017-14077 being exploited?
There is no known exploitation of CVE-2017-14077 in the wild and no public exploit code.
Sources
Also known as GHSA-q6v4-xjp2-8ggv.