Impact
Malformed PDB file names in the PDB server path cause shell injection. To trigger the problem it's required to open the executable in radare2 and run idpd to trigger the download. The shell code will execute, and will create a file called pwned in the current directory.
Patches
Problem has been patched in 4.5.0 version in the following commit: 04edfa8
Workarounds
Set up e bin.dbginfo=false in $HOME/.config/radare2/radare2rc to disable PDB autoloading and do not use idpd manually
References
The file triggering error is attached here ConsoleApplication1.zip (password is infected)
For more information
If you have any questions or comments about this advisory:
Impact
Malformed PDB file names in the PDB server path cause shell injection. To trigger the problem it's required to open the executable in radare2 and run
idpdto trigger the download. The shell code will execute, and will create a file called pwned in the current directory.Patches
Problem has been patched in 4.5.0 version in the following commit: 04edfa8
Workarounds
Set up
e bin.dbginfo=falsein$HOME/.config/radare2/radare2rcto disable PDB autoloading and do not useidpdmanuallyReferences
The file triggering error is attached here ConsoleApplication1.zip (password is
infected)For more information
If you have any questions or comments about this advisory: