CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
CVE details

CVE-2023-24805

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.

Score
8.8 high
Published
2023-05-17
Links
NVD · cve.org · Report wrong data

Matched ports (1)

PortPackageVersionStatusMaintainer
print/cups-filterscups-filters1.28.17_14unaddressedtijl@FreeBSD.org

Template for a VuXML entry

Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>FIXME -- FIXME</topic>
    <affects>
      <package>
	<name>cups-filters</name>
	<range><lt>2.0</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>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.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2023-24805</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2023-24805</url>
    </references>
    <dates>
      <discovery>2023-05-17</discovery>
      <entry>2026-10-26</entry>
    </dates>
  </vuln>