GHSA-F5CV-XRV9-R8W7
NoSQL injection in express-cart
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 1.1.8 | express-cart · -732 d desde divulgación | |
| Divulgación | Publicada | GHSA-F5CV-XRV9-R8W7 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Versions of `express-cart` before 1.1.8 are vulnerable to NoSQL injection.
The vulnerability is caused by the lack of user input sanitization in the login handlers. In both cases, the customer login and the admin login, parameters from the JSON body are sent directly into the MongoDB query which allows to insert operators.
These operators can be used to extract the value of the field blindly in the same manner of a blind SQL injection. In this case, the `$regex` operator is used to guess each character of the token from the start.
Recommendation
Update to version 1.1.8 or later.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmexpress-cart |
Corregida | 1.1.8 | -732 d | 1.1.17 no afectada |
1.1.8Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://hackerone.com/reports/397445https://github.com/nodejs/security-wghttps://github.com/nodejs/security-wg/blob/master/vuln/npm/472.jsonhttps://www.npmjs.com/advisories/724Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
