6 points

cups-browsed <= 2.0.1 binds on UDP INADDR_ANY:631 trusting any packet from any source

Well that would explain why I didn’t have it installed (although I did have other parts of cups until jwz coincidentally reminded us two days ago that it can all be removed if you don’t have a printer.) I clear out anything that opens ports I don’t need to be open. A practice I would recommend to anyone.

permalink
report
reply
13 points

I mean I guess that’s sound advice if you don’t need to, I don’t know, print?

permalink
report
parent
reply
4 points

Indeed. But cups-browsed isn’t necessary in order to be able to print things, it’s for automatically discovering new printers on the network.

permalink
report
parent
reply
26 points

Entirely personal recommendation, take it or leave it: I’ve seen and attacked enough of this codebase to remove any CUPS service, binary and library from any of my systems and never again use a UNIX system to print. I’m also removing every zeroconf / avahi / bonjour listener. You might consider doing the same.

Great advice. It would appear these developers don’t take security seriously.

permalink
report
reply
20 points

Mdns is something most people have no idea exists.

Oh, neat, all my devices broadcast all their open ports, services, addresses, hardware and names? Cool!

No.

permalink
report
parent
reply
-1 points

Going to rely on security through obscurity instead?

permalink
report
parent
reply
14 points

If your router/firewall is configured to let these broadcasts through you have a problem. If it is working correctly and you have an attacker on your lan? You have already lost.

permalink
report
parent
reply
14 points
*

It depends. If you’re using a laptop and say you take it to university or work then you’re not on your LAN. You’re on someone else’s LAN and they may have no interest in trying to stop these types of attacks via any kind of client isolation or it may be incomplete.

I can imagine it’s a very normal scenario for university students to have CUPS running and available on all networks as they may need to print at their university.

permalink
report
parent
reply
3 points

You’ve just described every enterprise who allows Linux in their environment.

permalink
report
parent
reply
1 point

Errr I use mdns all the time…

permalink
report
parent
reply
0 points

Someone doesn’t like apple

permalink
report
parent
reply
5 points

They’re standardised zeroconnf protocols. Apple was part of the early development.

Bonjour is the apple implementation for mDNS.

Avahi is the GPL compliant implementation.

mDNS, llmnr (ms developed), have been known for ages to be vulnerable.

https://en.m.wikipedia.org/wiki/Zero-configuration_networking#Standardization

*I don’t like apple

permalink
report
parent
reply
2 points

To be vulnerable to what?

permalink
report
parent
reply
9 points

Nobody likes Apple. They’re just afraid to say they don’t.

permalink
report
parent
reply
1 point

damn. that’s a pretty shit one.

permalink
report
reply
0 points

BRB.

sudo apt purge cups

Done. This should not even be part of baseline Ubuntu desktop. Speaking for myself but I have not had a printer for about 15 years. The paperless office really did become reality.

permalink
report
reply
3 points

About 25 years for me.

For most people it’s a better option to use a local print shop for the odd times that they need something printed.

More options for printing too.

permalink
report
parent
reply
2 points

I don’t know if I would like to have my personal data that I needed to print out on any system in a print shop. Printers and Copy machines in print shops often have internal HDD where the files are stored for caching reasons, often for months or even years (depending of the size of the HDD and how much the device is used) until some internal cleanup process deletes them.

permalink
report
parent
reply
10 points

Udp sent to port 631. Isn’t firewall on router going to block that anyway?

permalink
report
reply
12 points

Firewall on everything gonna block that lol

permalink
report
parent
reply
3 points

Right so whats the issue here? If I have cups exposed to the internet I deserve to get ruined. LOL

permalink
report
parent
reply
2 points

An infected phone app on your wifi can screw you.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8.4K

    Monthly active users

  • 3.4K

    Posts

  • 40K

    Comments