[MEDIUM] allowNoPasswordLogin enabled on all hosts #22
Labels
No labels
area:documentation
area:infrastructure
area:network
area:security
priority:critical
priority:high
priority:low
priority:medium
status:blocked
type:bug
type:deployment
type:enhancement
type:investigation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
reinitialized.net/infrastructure#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Labels: area:security, priority:medium, type:bug
Description
In modules/profiles/standard.nix:
users.allowNoPasswordLogin = lib.mkForce true;
This allows user accounts to exist without any password set.
Impact
Physical or console access to any VM allows passwordless login to accounts. While SSH key auth prevents remote exploitation, this is a weak defense-in-depth posture.
Recommended Fix
Set allowNoPasswordLogin = false. Set passwords for all interactive accounts or lock them with '!'.