You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user has several printers on CUPS servers. One of the printers disappeared when IPP attributes from the response to a get-printer-attributes IPP request got checked for illegal characters to prevent the recently reported RCE vulnerability in cups-browsed.
The printer in questions is the KONICA MINOLTA C658 PostScript printer. Its PPD file (attached) contains parentheses in the machine-readable/command line names of media types:
Probably this is already not correct for PPD files (but cupstestppd does not complain about it), but when CUPS generates the printer IPP attributes to answer a client's get-printer-attributes IPP request it should remove the parentheses (use thick-1-2nd for example), as otherwise a client with all the recent security updates would reject the printer due to the illegal characters in the IPP attributes.
To solve this problem, not only parentheses should be filtered but also any other illegal characters. AFAIK only letters, numbers and hyphens are allowed (and letters have to be converted to lowercase).
The text was updated successfully, but these errors were encountered:
Original report to Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/2089231
The user has several printers on CUPS servers. One of the printers disappeared when IPP attributes from the response to a get-printer-attributes IPP request got checked for illegal characters to prevent the recently reported RCE vulnerability in cups-browsed.
The printer in questions is the KONICA MINOLTA C658 PostScript printer. Its PPD file (attached) contains parentheses in the machine-readable/command line names of media types:
Probably this is already not correct for PPD files (but
cupstestppd
does not complain about it), but when CUPS generates the printer IPP attributes to answer a client's get-printer-attributes IPP request it should remove the parentheses (usethick-1-2nd
for example), as otherwise a client with all the recent security updates would reject the printer due to the illegal characters in the IPP attributes.To solve this problem, not only parentheses should be filtered but also any other illegal characters. AFAIK only letters, numbers and hyphens are allowed (and letters have to be converted to lowercase).
The text was updated successfully, but these errors were encountered: