llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · express-cart

GHSA-F5CV-XRV9-R8W7

NoSQL injection in express-cart

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -732 d de la divulgación
Exposición2.270 dDesde la divulgación, 1 sept 2020, 4:17 p. m.
Detección2.267 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 1.1.8
Monitoreo
Detectada
31 ago 18
1 sept 20
24 sept 21
17 nov 26
20 nov 26
31 ago 18
20 sept 20
11 oct 22
30 oct 24
20 nov 26
FechaFaseEventoDetalle
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
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

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.

Versiones

Rangos afectados

Afectada Corregida Última
express-cart< 1.1.8
1.1.8
1.1.17
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmexpress-cart
Corregida 1.1.8 -732 d 1.1.17 no afectada
Versiones corregidas1.1.8
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://hackerone.com/reports/397445
Otrahttps://github.com/nodejs/security-wg
Otrahttps://github.com/nodejs/security-wg/blob/master/vuln/npm/472.json
Otrahttps://www.npmjs.com/advisories/724

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.