Prototype Pollution Affecting fine-uploader package, versions *
Threat Intelligence
Exploit Maturity
Proof of concept
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-FINEUPLOADER-585902
- published 19 Jul 2020
- disclosed 19 Jul 2020
- credit Sam Sanoop of Snyk Security Team
How to fix?
There is no fixed version for fine-uploader
.
Overview
fine-uploader is a npm package for upload.
Note: This project is no longer maintained and the the package should be considered deprecated.
Affected versions of this package are vulnerable to Prototype Pollution.
Given a value such as __proto__
, this value is used by the extend
function without any prior validation. __proto__
will modify the properties of all existing properties and new properties resulting in pollution of an object's prototype.
PoC
//https://docs.fineuploader.com/branch/master/api/qq.html#qq.extend
var payload = JSON.parse('{"__proto__": {"a": "polluted"}}');
var new = qq.extend({}, payload);
console.log({}.a);
References
CVSS Scores
version 3.1