Linux

Demonstrating the New Linux Exploit (9.9 CVSS)



A deep dive into CVE-2024-47176, CVE-2024-47076, CVE-2024-47175, and CVE-2024-47177. A remote unauthenticated attacker can silently replace existing printers or install new ones with a malicious one, resulting in arbitrary command execution (on the computer) when a print job is started.

Timestamps:
0:00 – Introduction
1:45 – Vulnerability Overview
5:50 – Shodan Impact
7:04 – What is CUPS?
8:15 – The Internet Printing Protocol (IPP)
10:00 – Proof of Concept
19:05 – Remote Code Execution
26:10 – Getting a Shell
32:20 – Mitigation

References:




[ad_2]

source

Related Articles

33 Comments

  1. Very nice! Thanks for sharing. Still: please put your image/cam on your lower right instead as it covers up stuff that you are trying to present and it beats the point of presenting something since only you can see it while presenting it.

  2. Thank you dude. First time messing with commands in the terminal. Cups-browsed service removed. This happened at a strange time. Kind of new to Linux and someone else in the house just bought a printer which I noticed popping up in the network lol. I didn't feel very at risk although the status command did indicate vulnerable.

  3. Totally over rated, Most distributions have fixed it by ether removing the daemon, or disabling it. This is not Windows were it takes them for weeks to fix anything.

  4. Awesome demo. Great narration. Thank you! I am not a linux person, what surprised me is that apparently it seems common practice that network printers located outside your LAN can simply advertise themselves to your linux box. Mitigation imho would be fixing firewall settings or adding OS specific protection against accepting IPs outside your home turf. If this exploit is based on mDNS, I would doubt though that mDNS would be sble to cross your subnet in the first place. Or did I miss a crucial point? I have to admit I have definitely blind spots when it comes to Linux 😊 Thanks anyway for taking the time & explaining the mechanics behind this in such a well paced way, I am sure it helps many people better judge their personal risk.

  5. Rather than trying to come up with a printer brand just call it "Print to PDF". I guarantee most enteprise workers would fall for it. You can even make the command actually produce a pdf file and they wouldn't notice the impact.

  6. Not interesting really. Problem is.. cups.. desktop.. NAT.. != normally on public IP… So it makes it incredibly boring.. and no one in their right mind put it on the internet.. But as a horizontal vector.. sure

  7. You didn't really do anything wrong except not align xterm with your terminal sizing. You I believe were using xterm-256-color but regardless you can fix it with exporting the terminal size with stty rows and columns.

    Good video.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button