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.
Metrics
CVSS 3.0 8.8/10
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | express-restify-mongoose node module | <= 2.4.2 || >= 3.0.0 <=3.0.1 |
References
- https://github.com/florianholzapfel/express-restify-mongoose/issues/252Issue Tracking, Third Party Advisory
- https://nodesecurity.io/advisories/92Exploit, Third Party Advisory
- https://github.com/florianholzapfel/express-restify-mongoose/issues/252Issue Tracking, Third Party Advisory
- https://nodesecurity.io/advisories/92Exploit, Third Party Advisory
Timeline
- Published
- May 31, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified