Asana Desktop 2.1.0 on macOS allows code injection because of specific Electron Fuses. There is inadequate protection against code injection through settings such as RunAsNode and enableNodeCliInspectArguments, and thus electroniz3r can be used to perform an attack.
There is a tool designed to automate the process of searching for vulnerabilities in electron: https://github.com/r3ggi/electroniz3r
- We'll check if the application is vulnerable:
- Now we can inject a bind shell:
- And we got our shell
- To undestand more about Electron Desktop Apps: https://www.electronjs.org/docs/latest/tutorial/fuses