Descrizione
Cudy TR3000 before 2.5.42 contains an option injection vulnerability that allows authenticated administrators to inject arbitrary pppd options by embedding quotes and newlines in L2TP credentials. Attackers can submit crafted usernames or passwords to the net.set_wan RPC method, which l2tp.sh writes into a pppd options file, adding options like logfile to the root pppd process.
Tipo di vulnerabilità
CWE-93
Improper Neutralization of CRLF Sequences
The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità |
Modificare i dati dell’applicazione |
Come si previene
Sviluppo
Avoid using CRLF as a special sequence.
Sviluppo
Appropriately filter or quote CRLF sequences in user-controlled input.
Tutte le 273 CVE di tipo CWE-93, con andamento e prevenzione