jQuery up to 2.2.4 dataType script.js Cross-Domain cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.9 | $0-$5k | 0.00 |
Summary
A vulnerability was found in jQuery up to 2.2.4. It has been classified as problematic. This impacts an unknown function of the file script.js of the component dataType Handler. The manipulation leads to cross site scripting (Cross-Domain). This vulnerability is uniquely identified as CVE-2015-9251. The attack is possible to be carried out remotely. No exploit exists. Upgrading the affected component is recommended.
Details
A vulnerability, which was classified as problematic, has been found in jQuery up to 2.2.4 (JavaScript Library). This issue affects an unknown code block of the file script.js of the component dataType Handler. The manipulation with an unknown input leads to a cross site scripting vulnerability (Cross-Domain). Using CWE to declare the problem leads to CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Impacted is integrity. The summary by CVE is:
jQuery before 3.0.0 is vulnerable to Cross-site Scripting (XSS) attacks when a cross-domain Ajax request is performed without the dataType option, causing text/javascript responses to be executed.
The bug was discovered 06/27/2015. The weakness was disclosed 01/18/2018 by Julian Aubourg as f60729f3903d17917dc351f3ac87794de379b0cc as confirmed git commit (GitHub Repository). It is possible to read the advisory at github.com. The public release has been coordinated in cooperation with the project team. The identification of this vulnerability is CVE-2015-9251 since 01/18/2018. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1059.007 according to MITRE ATT&CK.
The vulnerability was handled as a non-public zero-day exploit for at least 75 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 106657 (JQuery 1.x < 1.12.0 / 2.x < 2.2.0 XSS), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses : XSS and running in the context r.
Upgrading to version 3.0.0 eliminates this vulnerability. Applying the patch f60729f3903d17917dc351f3ac87794de379b0cc is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published before and not just after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:
jQuery.ajaxPrefilter( function( s ) {
if ( s.crossDomain ) {
s.contents.script = false;
}The vulnerability is also documented in the databases at Tenable (106657) and SecurityFocus (BID 105658†). The entries VDB-90449, VDB-91385, VDB-91680 and VDB-91681 are pretty similar. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
- 1.0
- 1.1
- 1.2
- 1.3
- 1.4
- 1.5
- 1.6
- 1.6.0
- 1.6.1
- 1.6.2
- 1.6.3
- 1.6.4
- 1.7
- 1.7.0
- 1.7.1
- 1.7.2
- 1.8.0
- 1.8.1
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.1.0
- 2.1.1
- 2.1.2
- 2.1.3
- 2.1.4
- 2.2.0
- 2.2.1
- 2.2.2
- 2.2.3
- 2.2.4
License
Website
- Product: https://github.com/jquery/jquery/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.2VulDB Meta Temp Score: 5.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.1
NVD Vector: 🔍
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: 🔍
NVD Base Score: 🔍
Exploiting
Name: Cross-DomainClass: Cross site scripting / Cross-Domain
CWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 106657
Nessus Name: JQuery 1.x < 1.12.0 / 2.x < 2.2.0 XSS
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: jQuery 3.0.0
Patch: f60729f3903d17917dc351f3ac87794de379b0cc
Timeline
06/27/2015 🔍09/10/2015 🔍
01/18/2018 🔍
01/18/2018 🔍
01/18/2018 🔍
01/18/2018 🔍
01/19/2018 🔍
02/07/2018 🔍
12/04/2024 🔍
Sources
Product: github.comAdvisory: f60729f3903d17917dc351f3ac87794de379b0cc
Researcher: Julian Aubourg
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2015-9251 (🔍)
GCVE (CVE): GCVE-0-2015-9251
GCVE (VulDB): GCVE-100-112187
SecurityFocus: 105658 - JQuery CVE-2015-9251 Cross Site Scripting Vulnerability
See also: 🔍
Entry
Created: 01/19/2018 07:50Updated: 12/04/2024 09:03
Changes: 01/19/2018 07:50 (78), 01/11/2020 08:48 (8), 12/04/2024 09:03 (1)
Complete: 🔍
Committer: Anonymous User
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.