Alerts This Week
Warning Icon 1 525
Alerts This Week
Warning Icon 1 525

Mageia 9: 2024-0327 moderate: CUPS remote code execution risks

mageia
Calendar Grey October 7, 2024
Dist Mageia Esm H88
Debian's most recent patches address critical libc and libcurl flaws that could permit unauthorized remote code execution. Update promptly.
The `cfGetPrinterAttributes5` function in `libcupsfilters` does not sanitize IPP attributes returned from an IPP server

Summary

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. (CVE-2024-47076) The `libppd` function `ppdCreatePPDFromIPP2` does not sanitize IPP attributes when creating the PPD buffer. When used in combination with other functions such as `cfGetPrinterAttributes5`, can result in user controlled input and ultimately code execution via Foomatic. This vulnerability can be part of an exploit chain leading to remote code execution (RCE), as described in CVE-2024-47176. (CVE-2024-47175) `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. When combined with other vulnerabilities, such as CVE-2024-47076, CVE-2024-47175, and CVE-2024-47177, an attack...

References

- https://bugs.mageia.org/show_bug.cgi?id=33596

- https://www.openwall.com/lists/oss-security/2024/09/26/5

- https://ubuntu.com/security/notices/USN-7041-1

- https://ubuntu.com/security/notices/USN-7043-1

- https://www.cve.org/CVERecord?id=CVE-2024-47076

- https://www.cve.org/CVERecord?id=CVE-2024-47175

- https://www.cve.org/CVERecord?id=CVE-2024-47176

- https://www.cve.org/CVERecord?id=CVE-2024-47177

Resolution

SRPMS

- 9/core/cups-2.4.6-1.3.mga9

- 9/core/cups-filters-1.28.16-6.1.mga9

Publication date: 07 Oct 2024
URL: https://advisories.mageia.org/MGASA-2024-0327.html
Type: security
CVE: CVE-2024-47076, CVE-2024-47175, CVE-2024-47176, CVE-2024-47177

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Related News

Your message here