SecPod

Learn Search

Search across all Learn content

← Back to Security Research
Linux CUPS: Remote DoS and Authentication Bypass Exploit

Linux CUPS: Remote DoS and Authentication Bypass Exploit

The discovery of CVE-2025-58364 and CVE-2025-58060 reveals two critical weaknesses in the Linux Common Unix Printing System (CUPS). Exploiting these vulnerabilities could enable remote denial-of-service and authentication bypass attacks, endangering millions of systems that rely on CUPS as a fundame...

Sep 15, 2025By Rakshitha3 min read

The discovery of CVE-2025-58364 and CVE-2025-58060 reveals two critical weaknesses in the Linux Common Unix Printing System (CUPS). Exploiting these vulnerabilities could enable remote denial-of-service and authentication bypass attacks, endangering millions of systems that rely on CUPS as a fundamental printing component across Linux environments.

Vulnerability Details

Remote DoS Vulnerability (CVE-2025-58364)A denial-of-service flaw tracked as CVE-2025-58364 has been discovered in the Linux printing stack. The bug is caused by unsafe handling of printer attributes in the libcups library, enabling attackers on local networks to crash systems through malicious printer responses.

The crash occurs when CUPS processes IPP_OP_GET_PRINTER_ATTRIBUTES requests, with vulnerable code paths in ippNewRequest(), cupsDoRequest(), and ippValidateAttributes(). Improper validation in these routines allows malformed data to trigger null dereferences inside a loop, eventually taking down the service.

Since the flaw requires only subnet-level access, attackers can exploit environments where CUPS automatically discovers printers. The cups-browsed service, in particular, broadens the attack surface by actively accepting network printer announcements.

The issue affects all CUPS releases before 2.4.12. At the time of disclosure, no official fix had been released.Authentication Bypass Vulnerability (CVE-2025-58060)The second flaw, CVE-2025-58060, is a high-risk authentication bypass vulnerability that compromises CUPS security in enterprise environments. The issue appears when administrators configure stronger authentication schemes like Kerberos or LDAP. Despite the expectation of strict validation, the server still accepts Authorization: Basic headers, bypassing password checks altogether.

In practice, attackers can send a crafted header such as:

Authorization: Basic YWRtaW46eA==

(where “admin:x” is base64-encoded) and gain full administrative privileges, regardless of the actual password.

By exploiting this logic error in the cupsdAuthorize() function, attackers can reconfigure printers, view or modify print jobs, and execute privileged operations — all without valid credentials.

Affected Products

  • All CUPS versions below 2.4.12

Tactics, Techniques, and Procedures (TTPs)

  • TA0001 – Initial Access: Attackers exploit public-facing applications to gain initial access to the system.
  • T1190 – Exploit Public-Facing Application: Exploit vulnerabilities in applications accessible from the internet or other external networks.
  • TA0040 – Impact: Attackers disrupt services, causing denial of service.
  • T1499 – Endpoint Denial of Service: Exploit vulnerabilities to cause system crashes and prevent legitimate users from accessing services.

Mitigations

  • Restrict IPP port 631 access through firewalls.
  • Disable the cups-browsed service on systems that do not require automatic printer discovery.
  • For the authentication bypass vulnerability, temporarily revert to AuthType Basic with strong passwords.

Instantly Fix Risks with Saner Patch Management

Saner patch management is a continuous, automated, and integrated software that instantly fixes risks exploited in the wild. The software supports major operating systems like Windows, Linux, and macOS, as well as 550+ third-party applications.

It also allows you to set up a safe testing area to test patches before deploying them in a primary production environment. Saner patch management additionally supports a patch rollback feature in case of patch failure or a system malfunction.

Experience the fastest and most accurate patching software here.

Featured Posts

Open StyleSmuggler: Inside the Unpatched Magento Zero-Day Backdooring Live Stores
StyleSmuggler: Inside the Unpatched Magento Zero-Day Backdooring Live Stores

CVE Research

StyleSmuggler: Inside the Unpatched Magento Zero-Day Backdooring Live Stores

StyleSmuggler, an unpatched Magento and Adobe Commerce flaw letting attackers execute code without authentication via log poisoning, installing a persistent Linux backdoor that has already compromised live stores with no vendor patch available.

Sep 7, 2026

Open CVE-2026-6471: 12-Year-Old PostgreSQL PostGREShell Flaw Enables Server Takeover
CVE-2026-6471: 12-Year-Old PostgreSQL PostGREShell Vulnerability

CVE Research

CVE-2026-6471: 12-Year-Old PostgreSQL PostGREShell Flaw Enables Server Takeover

Sep 7, 2026

Open Root-Level RCE Flaw in Cisco Nexus 9000 Series Switches Exposes Networks to Complete Compromise — CVE-2026-20212
Root-Level RCE Flaw in Cisco Nexus 9000 Series Switches Exposes Networks to Complete Compromise — CVE-2026-20212

CVE Research

Root-Level RCE Flaw in Cisco Nexus 9000 Series Switches Exposes Networks to Complete Compromise — CVE-2026-20212

CVE-2026-20212 is a critical vulnerability in Cisco Nexus 9000 Series Switches that use Silicon One ASICs. It allows an unauthenticated remote attacker to execute code with root privileges by sending crafted input to TCP ports 43210 and 43211, which are reachable in the default Layer 3 VRF. Exploitation can also crash the S1HAL process and force a device reload. This article covers how the vulnerability works, the affected product identifiers, its potential impact, available workarounds, and how to identify fixed software using the Cisco Software Checker.

Sep 4, 2026

Open SonicWall SMA 1000 Under Active Attack: Two Zero-Days Enable SSRF and Remote Code Execution
SonicWall SMA 1000 Under Active Attack: Two Zero-Days Enable SSRF and Remote Code Execution

CVE Research

SonicWall SMA 1000 Under Active Attack: Two Zero-Days Enable SSRF and Remote Code Execution

Sep 3, 2026