Descrizione
The printDirect function in lib/printer.js in the node-printer module 0.0.1 and earlier for Node.js allows remote attackers to execute arbitrary commands via unspecified characters in the lpr command.
The printDirect function in lib/printer.js in the node-printer module 0.0.1 and earlier for Node.js allows remote attackers to execute arbitrary commands via unspecified characters in the lpr command.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| node-printer project | node-printer | <= 0.0.1 | node.js |
CWE-77 Command injection: elementi speciali non neutralizzati in un comando
Il prodotto costruisce in tutto o in parte un comando con dati provenienti dall’esterno, senza neutralizzare gli elementi speciali che possono modificarlo prima che venga eseguito.
| Ambito | Impatto |
|---|---|
| Integrità, Riservatezza, Disponibilità | Eseguire codice o comandi non autorizzati |
Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.
Tutte le 3.386 CVE di tipo CWE-77, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org