Skip to content
OpenAdvisories
Medium ALAS2023-2024-723 3 CVEs

Moderate: cups-filters security update (Amazon Linux 2023)

Published Oct 10, 2024 · Updated Nov 13, 2024

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-47850: CUPS cups-browsed before 2.5b1 will send an HTTP POST request to an arbitrary destination and port in response to a single IPP UDP packet requesting a printer to be added, a different vulnerability than CVE-2024-47176. (The request is meant to probe the new printer but can be used to create DDoS amplification attacks.) CVE-2024-47176: CUPS is a standards-based, open-source printing system, and `cups-browsed` contains network printing functionality including, but not limited to, auto-discovering print services and shared printers. `cups-browsed` binds to `INADDR_ANY:631`, causing it to trust any packet from any source, and can cause the `Get-Printer-Attributes` IPP request to an attacker controlled URL. Due to the service binding to `*:631 ( INADDR_ANY )`, multiple bugs in `cups-browsed` can be exploited in sequence to introduce a malicious printer to the system. This chain of exploits ultimately enables an attacker to execute arbitrary commands remotely on the target machine without authentication when a print job is started. This poses a significant security risk over the network. Notably, this vulnerability is particularly concerning as it can be exploited from the public internet, potentially exposing a vast number of systems to remote attacks if their CUPS services are enabled. CVE-2024-47076: CUPS is a standards-based, open-source printing system, and `libcupsfilters` contains the code of the filters of the former `cups-filters` package as library functions to be used for the data format conversion tasks needed in Printer Applications. The `cfGetPrinterAttributes5` function in `libcupsfilters` does not sanitize IPP attributes returned from an IPP server. When these IPP attributes are used, for instance, to generate a PPD file, this can lead to attacker controlled data to be provided to the rest of the CUPS system.

Fixed packages 6

ReleasePackageFixed in
Amazon Linux · 2023 cups-filters 0:1.28.16-3.amzn2023.0.3
Amazon Linux · 2023 cups-filters-debuginfo 0:1.28.16-3.amzn2023.0.3
Amazon Linux · 2023 cups-filters-debugsource 0:1.28.16-3.amzn2023.0.3
Amazon Linux · 2023 cups-filters-devel 0:1.28.16-3.amzn2023.0.3
Amazon Linux · 2023 cups-filters-libs 0:1.28.16-3.amzn2023.0.3
Amazon Linux · 2023 cups-filters-libs-debuginfo 0:1.28.16-3.amzn2023.0.3

Vulnerabilities 3

  • High 8.6
    CVE-2024-47076 Public exploit EPSS 80%

    libcupsfilters's cfGetPrinterAttributes5 does not validate IPP attributes returned from an IPP server

    CUPS is a standards-based, open-source printing system, and `libcupsfilters` contains the code of the filters of the former `cups-filters` package as library functions to be used for the data format conversion tasks needed in Printer Applications. The `cfGetP…

  • High 7.5

    CUPS cups-browsed before 2.5b1 will send an HTTP POST request to an arbitrary destination and port in response to a sin…

  • Medium 5.3
    CVE-2024-47176 Public exploit Scanner template EPSS 51%

    cups-browsed binds to `INADDR_ANY:631`, trusting any packet from any source

    CUPS is a standards-based, open-source printing system, and `cups-browsed` contains network printing functionality including, but not limited to, auto-discovering print services and shared printers. `cups-browsed` binds to `INADDR_ANY:631`, causing it to trus…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-47076.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-47176.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-47850.html