gritty Web Terminal - Unauthenticated Remote Code Execution
gritty's gritty.listen() asks for credentials only when the embedding application passes an auth callback; without one, every client that joins the /gritty Socket.IO namespace receives accept and can start a terminal. gritty's own CLI never passes one, and Cloud Commander's callback accepts any credentials while its auth option is off, which is the default, so cloudcmd --terminal without --auth is exposed. The template tries Engine.IO v4 (gritty 6.0.0 and later, socket.io 3 and 4) and then Engine.IO v3 (gritty 1.x to 5.x, socket.io 1 and 2); each attempt joins /gritty, sends an auth event with empty credentials (which a server enforcing auth rejects), and matches on accept. It never sends a terminal event and runs no command. For an install under a URL prefix, scan the prefixed URL.