OS Command Injection in fabio286/antares
Jun 25th 2021
The application displays the connection error message returned by the server without removing the malicious tags, which leads to XSS attacks.
Being an application made in electron, an XSS can be scaled to RCE, making it possible to execute commands on the machine where the application is running.
🕵️♂️ Proof of Concept
Run a connection test to this server to check the XSS
Run a connection test to this server to check the RCE (this opens firefox on linux and calculator on windows )
An attacker can create a server that returns a malicious error message and execute commands on the client machine.