e2openplugin-OpenWebif icon indicating copy to clipboard operation
e2openplugin-OpenWebif copied to clipboard

Secure Remote Auth

Open filr0x opened this issue 5 years ago • 1 comments

I’ve an Enigma2 box and i need to use OpenWebIf from remote, but I’ve seen that the only prevent method can I use is a Basic HTTP Auth, that is too vulnerable, is there a way to secure the OpenWebIf when this is exposed on internet?

Thanks.

filr0x avatar Feb 18 '20 11:02 filr0x

No, I guess cannot be changed easily.

You think of digest authentication? Problem is that the user credentials are checked against the Linux OS passwords, which are stored as salted hashes (usually sha512). So no way to fulfill the challenge response without knowing the plaintext password on the receiver.

The best protection IMO is to use HTTPS. That way browser-server-communication is encrypted and even the simple Basic Auth Headers can't be read out in the middle.

And seriously: don't ever expose your box to the internet, use a tunnel/VPN!

rdamas avatar Feb 22 '20 17:02 rdamas