[security issue] sshd daemon gets activated

asked 2018-02-04 15:39:13 +0300

Leon gravatar image

updated 2018-11-12 22:07:19 +0300

The security concept by minimizing the attack surface should be widely known. While evaluating SFOSX I noticed that the "Settings -> Devel-Tools" allows enabling the SSH access. Enabling and disabling it shows that the SSH daemon is activated and deactivated as expected. But when the device reboots the systemd configuration enables the SSH daemon again. That exposes the service to public access. This stays contrary to the UI configuration (that shows a disabled service). The account is still disabled but thats not the point. As we all known software have bugs, also the SSH daemon!

Solution (Jolla): This bug should be addressed by additionally disabling the systemd unit (sshd) and not just stopping it (this is not persistent between reboots), when using the UI interface (Settings -> Devel-Tools -> RemoteAccess) .

While waiting for such solution; the user should after rebooting the device enabling, (wait some seconds) and disabling the remote-access to be sure that it is disabled (solution without CLI).

edit retag flag offensive close delete



I agree this should be reboot persistent. Personally, I use ssh access confirmation from warehouse to manually grant or white-list devices.

krisko ( 2018-02-04 20:44:39 +0300 )edit

Still present in

Leon ( 2018-11-12 22:07:42 +0300 )edit