Consider blocking ports 69, 137, 161, 1719, 6566, 10080
Categories
(Core :: Networking, task)
Tracking
()
People
(Reporter: freddy, Assigned: freddy)
References
Details
(Keywords: sec-moderate, Whiteboard: [post-critsmash-triage][adv-main85+][adv-esr78.10+])
Attachments
(3 files)
+++ This bug was initially created as a clone of Bug #1677047 +++
Samy thinks that we should also block the ports for the following protocols:
- 6566 SANE
- 10080 Amanda
- 69 TFTP
- 161 SNMP
- 1719 H323 (RAS)
- 137 NetBIOS
Assignee | ||
Comment 1•4 years ago
|
||
The more ports we add, the more concerned I am about breakage, but I'll write a patch..
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D97423
Comment 4•4 years ago
|
||
https://hg.mozilla.org/integration/autoland/rev/0ec077c24f11de2e7965b3589019c4bcae6db92f
https://hg.mozilla.org/integration/autoland/rev/8ecf6fa65cd8f890d8c80c6bc519e63ececadcb0
https://hg.mozilla.org/mozilla-central/rev/0ec077c24f11
https://hg.mozilla.org/mozilla-central/rev/8ecf6fa65cd8
Comment 5•4 years ago
|
||
Hi freddy, does this need approval requests also?
Assignee | ||
Comment 6•4 years ago
|
||
Of all changes, this seems to be the most controversial. Other folks expect push back especially for port 10080 (looking at code search and given that it's ending on "80". I would rather have this one ride the trains.
Comment 7•4 years ago
|
||
OK. I'll set ESR78 back to ? for now and we can decide at a later time if it's needed there or not after more bake time.
Comment 8•4 years ago
|
||
Regarding the 10080 port, that ALG requires the communication to use UDP so I think it would be reasonable to allow 10080 TCP but block 10080 UDP (eg when using UDP STUN/TURN)
https://github.com/torvalds/linux/blob/3c00fb0bf0e0f061715c04ad609de93ddc046aa1/net/netfilter/nf_conntrack_amanda.c#L178-L199
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Hi Freddy, we're a week out from the 78.7esr RC. Have we given any more thought as to whether we want to include this change or not?
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 10•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 11•4 years ago
|
||
Comment on attachment 9188543 [details]
Bug 1677940 Consider blocking ports 69, 137, 161, 1719, 6566, 10080 r?valentin
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: likely to be more dangerous in enterprise settings, as their local network is busier and has more interesting services
- User impact if declined: missing a security fix
- Fix Landed on Version: 85
- Risk to taking this patch: Medium
- Why is the change risky/not risky? (and alternatives if risky): blocking access to specific ports is tricky. we have no insights as to whether it will break things for a specific enterprise. that being said, a pref exists to allow specific ports regardless of our defaults
- String or UUID changes made by this patch: none
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 12•4 years ago
|
||
A bit more information for the approval request: Chrome finally decided to implement port 10080 blocking as well as per https://github.com/whatwg/fetch/issues/1191#issuecomment-815434180
I didn't want us to backport until we know we won't undo it, but chrome's support convinced me we're unlikely to revert now
Updated•4 years ago
|
Comment 13•4 years ago
|
||
Comment on attachment 9188544 [details]
Bug 1677940 - clang-format r?valentin
AFAICT this isn't needed for the uplift. Try seems fine without it.
Comment 14•4 years ago
|
||
Comment on attachment 9188543 [details]
Bug 1677940 Consider blocking ports 69, 137, 161, 1719, 6566, 10080 r?valentin
Approved for 88.0b9.
Comment 15•4 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Comment 16•3 years ago
|
||
(In reply to Frederik Braun [:freddy] from comment #1)
The more ports we add, the more concerned I am about breakage, but I'll write a patch..
This breaks captive portal (“Guest WiFi”) on Linksys WRT1900AC… any chance of a “Continue Anyways” button?
See https://www.reddit.com/r/HomeNetworking/comments/nyr6il/tcp_port_10080_blocked_by_google_chrome/ and https://stackoverflow.com/questions/27209915/bash-curl-wget-with-linksys-guest-network
Assignee | ||
Comment 17•3 years ago
|
||
There has been a bit of an explanation of why we can't easily revert our logic in https://bugzilla.mozilla.org/show_bug.cgi?id=1689107#c10, but I could imagine a "temporarily allow for this site" functionality... Let's file a feature request.
Description
•