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.
References
Link | Resource |
---|---|
https://snyk.io/vuln/SNYK-RUBY-BOOTSTRAPSASS-174093 | Exploit 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://github.com/twbs/bootstrap-sass/issues/1195 | Issue Tracking Third Party Advisory |
http://dgb.github.io/2019/04/05/bootstrap-sass-backdoor.html | Third Party Advisory |
Configurations
Information
Published : 2019-04-03 21:29
Updated : 2019-04-11 11:39
NVD link : CVE-2019-10842
Mitre link : CVE-2019-10842
JSON object : View
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
Products Affected
getbootstrap
- bootstrap-sass