PT-2018-4712 · Npm · Express-Restify-Mongoose
Smirea
·
Published
2018-05-31
·
Updated
2019-10-09
·
CVE-2016-10533
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
express-restify-mongoose versions 2.4.2 and earlier
express-restify-mongoose versions 3.0.0 through 3.0.1
Description
The issue allows a malicious user to send a request for "GET /User?distinct=password" and get all the passwords for all the users in the database, despite the field being set to private. This can be used for other private data if the malicious user knew what was set as private for specific routes. A malicious user can exploit this to access fields on a model even if those fields are marked as private.
Recommendations
For express-restify-mongoose version 2.x: Update to version 2.5.0 or later.
For express-restify-mongoose version 3.x: Update to version 3.1.0 or later.
Exploit
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Express-Restify-Mongoose