totaljs / code

Online collaboration app for everyone.
MIT License
27 stars 21 forks source link

Remote Command Execution #20

Open kevinhmn opened 10 months ago

kevinhmn commented 10 months ago

I recently stumbled upon CVE-2022-44019 and noticed that the fix implemented for it can be bypassed by using backticks. Backticks are used to execute a subcommand before the main command, as the shell evaluates the expression inside the backticks first.

image