Recently patched CUPS flaw can be used to amplify DDoS attacks

Share:

A recently disclosed vulnerability in the Common Unix Printing System (CUPS) open-source printing system can be exploited by threat actors to launch distributed denial-of-service (DDoS) attacks with a 600x amplification factor.

As Akamai security researchers found, a CVE-2024-47176 security flaw in the cups-browsed daemon that can be chained with three other bugs to gain remote code execution on Unix-like systems via a single UDP packet can also be leveraged to amplify DDoS attacks.

The vulnerability is triggered when an attacker sends a specially crafted packet, tricking a CUPS server into treating a target as a printer to be added.

Each packet sent to vulnerable CUPS servers prompts them to generate larger IPP/HTTP requests aimed at the targeted device. This impacts both the target and the CUPS server, consuming their bandwidth and CPU resources.

Starts with a single malicious UDP packet

To initiate such an attack, a malicious actor only needs to send a single packet to an exposed and vulnerable CUPS service exposed online. Akamai researchers estimate that around 58,000 servers, out of over 198,000 exposed devices, could be recruited for DDoS attacks.

Furthermore, hundreds of vulnerable devices demonstrated an “infinite loop” of requests, with some CUPS servers repeatedly sending requests after receiving an initial probe and some servers entering an endless loop in response to specific HTTP/404 errors.

Many of these vulnerable machines were running outdated versions of CUPS (going as far back as 2007), which are easy targets for cybercriminals who can exploit them to build botnets via the RCE chain or use them for DDoS amplification.

“In the worst-case scenario, we observed what appeared to be an endless stream of attempted connections and requests as a result of a single probe. These flows appear to have no end, and will continue until the daemon is killed or restarted,” the Akamai researchers said.

“Many of these systems we observed in testing established thousands of requests, sending them to our testing infrastructure. In some cases, this behavior appeared to continue indefinitely.”

CUPS DDoS attack amplification
CUPS DDoS attack amplification (Akamai)

Seconds needed to pull off an attack

This DDoS amplification attack also requires minimal resources and little time to execute. Akamai warns that a threat actor could easily take control of every exposed CUPS service on the internet in seconds.

Admins are advised to deploy CVE-2024-47176 patches or disable the cups-browsed service from running to block potential attacks to mitigate the risk of having their servers added to a botnet or used in DDoS attacks.

“DDoS continues to be a viable attack vector used to harass and disrupt victims across the internet, from major industries and governments to small content creators, online shops, and gamers,” Akamai’s researchers warned.

“Although the original analysis focused on the RCE, which could have a more severe outcome, DDoS amplification is also easily abused in this case.”

As Cloudflare revealed this week, its DDoS defense systems had to protect customers against a wave of hyper-volumetric L3/4 DDoS attacks reaching 3.8 terabits per second (Tbps), the largest such attack ever recorded.

Sergiu Gatlan

Leave a Comment

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

loader-image
London, GB
3:15 am, Jan 31, 2025
weather icon 4°C
L: 2° | H: 5°
light rain
Humidity: 87 %
Pressure: 1025 mb
Wind: 5 mph SSW
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0.49 mm
Clouds: 100%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 7:40 am
Sunset: 4:47 pm
DailyHourly
Daily ForecastHourly Forecast
Today 9:00 pm
weather icon
2° | 5°°C 1 mm 100% 8 mph 92 % 1028 mb 0 mm/h
Tomorrow 9:00 pm
weather icon
4° | 7°°C 0 mm 0% 7 mph 83 % 1030 mb 0 mm/h
Sun Feb 02 9:00 pm
weather icon
2° | 8°°C 0 mm 0% 6 mph 78 % 1026 mb 0 mm/h
Mon Feb 03 9:00 pm
weather icon
2° | 9°°C 0 mm 0% 8 mph 86 % 1027 mb 0 mm/h
Tue Feb 04 9:00 pm
weather icon
6° | 10°°C 0 mm 0% 12 mph 94 % 1028 mb 0 mm/h
Today 6:00 am
weather icon
4° | 4°°C 1 mm 100% 7 mph 89 % 1024 mb 0 mm/h
Today 9:00 am
weather icon
5° | 6°°C 1 mm 100% 8 mph 90 % 1023 mb 0 mm/h
Today 12:00 pm
weather icon
7° | 7°°C 0.8 mm 80% 5 mph 88 % 1023 mb 0 mm/h
Today 3:00 pm
weather icon
8° | 8°°C 0 mm 0% 5 mph 80 % 1024 mb 0 mm/h
Today 6:00 pm
weather icon
6° | 6°°C 0 mm 0% 4 mph 92 % 1026 mb 0 mm/h
Today 9:00 pm
weather icon
6° | 6°°C 0 mm 0% 5 mph 92 % 1028 mb 0 mm/h
Tomorrow 12:00 am
weather icon
6° | 6°°C 0 mm 0% 5 mph 83 % 1029 mb 0 mm/h
Tomorrow 3:00 am
weather icon
6° | 6°°C 0 mm 0% 6 mph 76 % 1029 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€100,080.74
-0.56%
Ethereum(ETH)
€3,116.25
2.54%
XRP(XRP)
€2.97
-0.58%
Tether(USDT)
€0.96
0.01%
Solana(SOL)
€227.75
-0.24%
USDC(USDC)
€0.96
0.00%
Dogecoin(DOGE)
€0.315374
-0.96%
Shiba Inu(SHIB)
€0.000018
0.03%
Pepe(PEPE)
€0.000013
1.98%
Scroll to Top