Skip to content
OpenAdvisories
High CVE-2016-10533 EUVD-2018-0577GHSA-cgjx-mwpx-47jv

Private Data Disclosure in express-restify-mongoose

Published May 31, 2018 · Updated Sep 17, 2024 · Assigned by hackerone

Description

express-restify-mongoose is a module to easily create a flexible REST interface for mongoose models. express-restify-mongoose 2.4.2 and earlier and 3.0.X through 3.0.1 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.

Affected products

VendorProductAffectedFixed
HackerOne express-restify-mongoose node module <= 2.4.2 || >= 3.0.0 <=3.0.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm express-restify-mongoose >= 3.0.0, < 3.1.0 3.1.0 GHSA-cgjx-mwpx-47jv
npm express-restify-mongoose < 2.5.0 2.5.0 GHSA-cgjx-mwpx-47jv

References