{"id":"CVE-2016-10533","published":"2018-05-31T20:00:00Z","modified":"2024-09-17T00:35:52Z","title":"express-restify-mongoose is a module to easily create a flexible REST interface for mongoose models.…","vendor":"HackerOne","product":"express-restify-mongoose node module","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01373,"percentile":0.72667,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/florianholzapfel/express-restify-mongoose/issues/252","tags":["x_refsource_MISC"]},{"url":"https://nodesecurity.io/advisories/92","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":14.53}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"express-restify-mongoose node module","versions":["<= 2.4.2 || >= 3.0.0 <=3.0.1"]}],"affected":[{"ecosystem":"npm","package":"express-restify-mongoose","vulnerableRanges":[">=3.0.0, <3.1.0","<2.5.0"],"patched":["3.1.0","2.5.0"],"from":["GHSA-cgjx-mwpx-47jv"],"provenance":"source"}],"summary":{"text":"The express-restify-mongoose Node module, which builds REST interfaces for Mongoose models, contains a flaw that exposes fields marked as private, so a request such as a distinct query on a private field returns that data. An unauthenticated remote attacker who sends a crafted GET request to a model route can retrieve private values such as user passwords, and the attack requires no user interaction and no special configuration beyond a route that exposes the affected model.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:17Z"},"euvd":{"id":"EUVD-2018-0577","exploited":false,"provenance":"source"}}