Mongoose search injection vulnerability
Mongoose versions prior to 8.8.3, 7.8.3, 6.13.5, and 5.13.23 are vulnerable to improper use of the $where operator. This vulnerability arises from the ability of the $where clause to execute arbitrary JavaScript code in MongoDB queries, potentially leading to code injection attacks and unauthorized access or manipulation of database data.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-53900US | — | Exploit | ||
Mongoose before 8.8.3 can improperly use $where in match, leading to search injection. | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/Automattic/mongoosePACKAGE
- https://github.com/Automattic/mongoose/blob/master/CHANGELOG.mdWEB
- https://github.com/Automattic/mongoose/commit/33679bcf8ca43d74e3e8ecd4cc224826772d805bWEB
- https://github.com/Automattic/mongoose/commit/bbb6fa7ecb44bbaf5bea955d886378a1247bce0bWEB
- https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156WEB
- https://github.com/Automattic/mongoose/compare/6.13.4...6.13.5WEB
- https://github.com/Automattic/mongoose/compare/7.8.2...7.8.3WEB
- https://github.com/Automattic/mongoose/compare/8.8.2...8.8.3WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan