[action] [PR:139] Fix security vulnerability in caclmgrd (#139)#141
Merged
mssonicbld merged 1 commit intosonic-net:202405from Jul 29, 2024
Merged
[action] [PR:139] Fix security vulnerability in caclmgrd (#139)#141mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld merged 1 commit intosonic-net:202405from
Conversation
- description: After installation, a default iptables rule allows an attacker to bypass all others rules protecting the switch management & control-plane. - Mitigation: Accept only ttl-lt 2 for ICMP packets, or possibly dst-port > 1024. Traceroute may be based on ICMP or UDP or TCP. For ICMP: accept all icmp protocol TTL < 2 packets For UDP: accept UDP protocol TTL < 2 and UDP dest port > 1024 packets For TCP: accept TCP protocol TTL < 2 and TCP dest port > 1024 packets For other mismatched packets, default action is drop - work item: 28662516
Author
|
Original PR: #139 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After installation, a default iptables rule allows an attacker to bypass all others rules protecting the switch management & control-plane.
Accept only ttl-lt 2 for ICMP packets, or possibly dst-port > 1024.
Traceroute may be based on ICMP or UDP or TCP.
For ICMP: accept all icmp protocol TTL < 2 packets
For UDP: accept UDP protocol TTL < 2 and UDP dest port > 1024 packets
For TCP: accept TCP protocol TTL < 2 and TCP dest port > 1024 packets
For other mismatched packets, default action is drop
28662516