[HIGH] Mesh WireGuard interface trusted by firewall with no restrictions #21
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#21
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, area:network, priority:high, type:enhancement
Description
In modules/profiles/meshNetwork/default.nix line 146:
networking.firewall.trustedInterfaces = [ meshInterface ];
This marks the WireGuard mesh interface as fully trusted, meaning ALL traffic from the mesh is implicitly allowed through the firewall without filtering.
Combined with Docker bridge routing through the mesh (lines 216-238), all Docker container traffic is also implicitly trusted.
Impact
A compromised container on ANY host can access services on ALL other mesh hosts without firewall restrictions. There is no defense-in-depth against lateral movement.
Recommended Fix