Zurb Foundation up to 5.5.3 Tooltip Plugin foundation.tooltip.js Title cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.1 | $0-$5k | 0.00 |
Summary
A vulnerability identified as problematic has been detected in Zurb Foundation up to 5.5.3. This affects an unknown part of the file foundation.tooltip.js of the component Tooltip Plugin. This manipulation of the argument Title causes cross site scripting. Remote exploitation of the attack is possible. Furthermore, an exploit is available. It is suggested to install a patch to address this issue.
Details
A vulnerability has been found in Zurb Foundation up to 5.5.3 and classified as problematic. Affected by this vulnerability is some unknown functionality of the file foundation.tooltip.js of the component Tooltip Plugin. The manipulation of the argument title with an unknown input leads to a cross site scripting vulnerability. The CWE definition for the vulnerability is CWE-80. The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. As an impact it is known to affect integrity.
The weakness was published 11/29/2016 as XSS in tooltip plugin of Zurb Foundation 5 as not defined mailinglist post (Bugtraq). The advisory is shared at seclists.org. The public release happened without involvement of the project team. The attack can be launched remotely. It demands that the victim is doing some kind of user interaction. Technical details and also a public exploit are known. MITRE ATT&CK project uses the attack technique T1059.007 for this issue. Responsible for the vulnerability is the following code:
var $tip = $(tip_template(this.selector($target), $('<div></div>').html($target.attr('title')).html())),
classes = this.inheritable_classes($target); The advisory points out:The Foundation framework provides an easy way to insert tooltips into your code. The corresponding plugin for this is *foundation.tooltip.js*. Unfortunately the plugin takes HTML-encoded code from the title parameter and returns it as actual HTML, allowing an attacker to inject dynamic HTML/JS into an application, if the application allows to inject user input into title fields of a tooltip'ed SPAN entity. Even if the user input is correctly encoded, before adding it to the tooltip'ed SPAN, the Foundation Tooltip JavaScript will re-decode it and inject the actul HTML code.
After immediately, there has been an exploit disclosed. It is possible to download the exploit at seclists.org. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 273 days. During that time the estimated underground price was around $0-$5k.
Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:
var $tip = $(tip_template(this.selector($target), $('<div></div>').html($target.attr('title')).html())), + var $tip = $(tip_template(this.selector($target), $('<div></div>').html($target.attr('title').text()).html())),
classes = this.inheritable_classes($target);Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.5VulDB Meta Temp Score: 3.1
VulDB Base Score: 3.5
VulDB Temp Score: 3.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-80 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Timeline
03/01/2016 🔍03/03/2016 🔍
11/29/2016 🔍
11/29/2016 🔍
11/29/2016 🔍
11/29/2016 🔍
07/24/2019 🔍
Sources
Advisory: XSS in tooltip plugin of Zurb Foundation 5Status: Not defined
GCVE (VulDB): GCVE-100-93865
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 11/29/2016 18:45Updated: 07/24/2019 17:20
Changes: 11/29/2016 18:45 (53), 07/24/2019 17:20 (1)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.