Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Aspia Router probably wrong access permissions for router.json #122

Open
gleruzh opened this issue Oct 28, 2021 · 1 comment
Open

Comments

@gleruzh
Copy link

gleruzh commented Oct 28, 2021

Describe the bug
The /etc/aspia/router.json contents router's private key, so it should have 600. Or 640 at least (like /etc/shadow)
Now it has 664 so anyone can open router.json for reading.

Expected behavior

$ ls -la /etc/aspia/router.json
-rw------- 1 root root 299 Oct 27 14:15 /etc/aspia/router.json

or

$ ls -la /etc/aspia/router.json
-rw-r----- 1 root root 299 Oct 27 14:15 /etc/aspia/router.json

Server

  • Ubuntu 20.04
  • Aspia version 2.1

Additional context
Add any other context about the problem here.

@andreymal
Copy link

I think /var/lib/aspia/router.db3 should also have 600/640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants