Description
Openwhyd before 1.65.1 contains a NoSQL injection vulnerability that allows unauthenticated attackers to manipulate user lookups by passing JSON objects in the id parameter. Attackers can send MongoDB query operators such as $ne or $gt to POST /api/user to select and enumerate other users' public profile records.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
openwhyd openwhyd
Default version status: unaffected
0 to < 1.65.1affected
pkg:github/openwhyd/openwhydReferences
- https://github.com/openwhyd/openwhyd/security/advisories/GHSA-hfg3-vq24-hprp ↗
- https://github.com/openwhyd/openwhyd/commit/167c45d6754df0adb3415f71cbd7cde91cbe7874 ↗
- https://github.com/openwhyd/openwhyd/releases/tag/v1.65.1 ↗
- https://github.com/openwhyd/openwhyd/blob/v1.65.0/app/models/user.js#L288-L294 ↗
- https://www.vulncheck.com/advisories/openwhyd-before-1.65.1-nosql-injection-via-post-api-user ↗