CVE-2023-24805
Last modified
CVE-2023-24805 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. If you use the Backend Error Handler (beh) to create an accessible network printer, this security vulnerability can cause remote code execution. EPSS estimates a 3.70% chance of exploitation in the next 30 days.
Description
cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. If you use the Backend Error Handler (beh) to create an accessible network printer, this security vulnerability can cause remote code execution. `beh.c` contains the line `retval = system(cmdline) >> 8;` which calls the `system` command with the operand `cmdline`. `cmdline` contains multiple user controlled, unsanitized values. As a result an attacker with network access to the hosted print server can exploit this vulnerability to inject system commands which are executed in the context of the running server. This issue has been addressed in commit `8f2740357` and is expected to be bundled in the next release. Users are advised to upgrade when possible and to restrict access to network printers in the meantime.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linuxfoundation | Cups-Filters | < 2.0 | — |
| Linuxfoundation | Cups-Filters | 2.0 | Beta1 |
| Fedoraproject | Fedora | 37 | — |
| Fedoraproject | Fedora | 38 | — |
| Debian | Debian Linux | 10.0 | — |
| Debian | Debian Linux | 11.0 | — |
References
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-gpxc-v2m8-fr3xExploit, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00021.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2023/dsa-5407Third Party Advisory
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-gpxc-v2m8-fr3xExploit, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00021.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2023/dsa-5407Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-24805?
How severe is CVE-2023-24805?
How do I fix CVE-2023-24805?
Are you affected by CVE-2023-24805?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
