CVE-2017-12630 Apache Drill vulnerable to Cross-site Scripting
Attackers can inject malicious scripts via the Query page that execute on the Profile page, potentially stealing user cookies and session data.
- 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
- Available
What is CVE-2017-12630?
CVE-2017-12630 is a medium-severity cross-site scripting vulnerability in Apache Drill, published on 18 Dec 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In Apache Drill 1.11.0 and earlier when submitting form from Query page users are able to pass arbitrary script or HTML which will take effect on Profile page afterwards. Example: after submitting special script that returns cookie information from Query page, malicious user may obtain this information from Profile page afterwards.
Weakness: CWE-79
Which versions are affected by CVE-2017-12630?
2 open source packages ship an affected version, including org.apache.drill:drill-common. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.drill:drill-common Maven | All versions | 1.12.0 |
org.apache.drill:drill-common Maven | All versions | 1.12.0 |
Products include Apache Drill.
How do I fix CVE-2017-12630?
Upgrade org.apache.drill:drill-common to 1.12.0 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-12630 being exploited?
There is no known exploitation of CVE-2017-12630 in the wild and no public exploit code.
Other vulnerabilities in Apache Drill
Sources
Also known as GHSA-xp4g-5xj6-6vpr.