CVE-2017-2504 Cross-site scripting in n/a
Remote attackers can execute arbitrary scripts in the context of other sites via crafted web content exploiting WebKit Editor commands.
- 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-2504?
CVE-2017-2504 is a medium-severity cross-site scripting vulnerability in Apple Iphone Os, published on 22 May 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
An issue was discovered in certain Apple products. iOS before 10.3.2 is affected. Safari before 10.1.1 is affected. tvOS before 10.2.1 is affected. The issue involves the "WebKit" component. It allows remote attackers to conduct Universal XSS (UXSS) attacks via a crafted web site that improperly interacts with WebKit Editor commands.
Weakness: CWE-79
Which versions are affected by CVE-2017-2504?
It affects 3 products.
Products include Apple Iphone Os, Apple Safari, Apple Tvos.
How do I fix CVE-2017-2504?
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-2017-2504 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-2504 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Apple Iphone Os
Sources
Also known as DEBIAN-CVE-2017-2504, GHSA-h695-g24v-wp5p, UBUNTU-CVE-2017-2504.