9.8
CRITICAL
CVE-2019-10842
Cloudflare Rubygem Bootstrap Sass Code Execution
Description

Arbitrary code execution (via backdoor code) was discovered in bootstrap-sass 3.2.0.3, when downloaded from rubygems.org. An unauthenticated attacker can craft the ___cfduid cookie value with base64 arbitrary code to be executed via eval(), which can be leveraged to execute arbitrary code on the target system. Note that there are three underscore characters in the cookie name. This is unrelated to the __cfduid cookie that is legitimately used by Cloudflare.

INFO

Published Date :

April 4, 2019, 4:29 a.m.

Last Modified :

Nov. 21, 2024, 4:19 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2019-10842 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2019-10842 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Getbootstrap bootstrap-sass
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-10842.

URL Resource
http://dgb.github.io/2019/04/05/bootstrap-sass-backdoor.html Third Party Advisory
https://github.com/twbs/bootstrap-sass/issues/1195 Issue Tracking Third Party Advisory
https://snyk.io/blog/malicious-remote-code-execution-backdoor-discovered-in-the-popular-bootstrap-sass-ruby-gem/ Exploit Third Party Advisory
https://snyk.io/vuln/SNYK-RUBY-BOOTSTRAPSASS-174093 Exploit Third Party Advisory
http://dgb.github.io/2019/04/05/bootstrap-sass-backdoor.html Third Party Advisory
https://github.com/twbs/bootstrap-sass/issues/1195 Issue Tracking Third Party Advisory
https://snyk.io/blog/malicious-remote-code-execution-backdoor-discovered-in-the-popular-bootstrap-sass-ruby-gem/ Exploit Third Party Advisory
https://snyk.io/vuln/SNYK-RUBY-BOOTSTRAPSASS-174093 Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Simple HTTP API for quering cvelist data

Dockerfile Python

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 25, 2020, 8:30 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-10842 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-10842 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://dgb.github.io/2019/04/05/bootstrap-sass-backdoor.html
    Added Reference https://github.com/twbs/bootstrap-sass/issues/1195
    Added Reference https://snyk.io/blog/malicious-remote-code-execution-backdoor-discovered-in-the-popular-bootstrap-sass-ruby-gem/
    Added Reference https://snyk.io/vuln/SNYK-RUBY-BOOTSTRAPSASS-174093
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Apr. 11, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://dgb.github.io/2019/04/05/bootstrap-sass-backdoor.html No Types Assigned http://dgb.github.io/2019/04/05/bootstrap-sass-backdoor.html Third Party Advisory
    Changed Reference Type https://snyk.io/blog/malicious-remote-code-execution-backdoor-discovered-in-the-popular-bootstrap-sass-ruby-gem/ No Types Assigned https://snyk.io/blog/malicious-remote-code-execution-backdoor-discovered-in-the-popular-bootstrap-sass-ruby-gem/ Exploit, Third Party Advisory
    Changed Reference Type https://snyk.io/vuln/SNYK-RUBY-BOOTSTRAPSASS-174093 No Types Assigned https://snyk.io/vuln/SNYK-RUBY-BOOTSTRAPSASS-174093 Exploit, Third Party Advisory
    Changed Reference Type https://github.com/twbs/bootstrap-sass/issues/1195 No Types Assigned https://github.com/twbs/bootstrap-sass/issues/1195 Issue Tracking, Third Party Advisory
    Added CWE CWE-94
    Added CPE Configuration OR *cpe:2.3:a:getbootstrap:bootstrap-sass:3.2.0.3:*:*:*:*:ruby:*:*
  • CVE Modified by [email protected]

    Apr. 09, 2019

    Action Type Old Value New Value
    Added Reference http://dgb.github.io/2019/04/05/bootstrap-sass-backdoor.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-10842 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2019-10842 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

34.50 }} -9.52%

score

0.97114

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability