Skip to content

CVE-2019-10842 Bootstrap-sass contains code execution backdoor

CriticalCVSS 9.8 EPSS 4.9% PoC
Published
Updated
Exploit status
Proof-of-concept only

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
rubygems bootstrap-sass(RubyGems) = 3.2.0.3; >= 3.2.0.3, < 3.2.0.4 3.2.0.4 Fixed
getbootstrap bootstrap-sass = 3.2.0.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
rubygems bootstrap-sass(RubyGems) = 3.2.0.3 No fix listed
rubygems bootstrap-sass(RubyGems) >= 3.2.0.3, < 3.2.0.4 3.2.0.4
getbootstrap bootstrap-sass = 3.2.0.3 No fix listed

References