Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1561296 - (CVE-2017-18248) CVE-2017-18248 cups: Invalid usernames handled in scheduler/ipp.c:add_job() allow remote attackers to cause a denial of service
CVE-2017-18248 cups: Invalid usernames handled in scheduler/ipp.c:add_job() a...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20171016,reported=2...
: Security
Depends On: 1561297 1567005 1561298
Blocks: 1561300
  Show dependency treegraph
 
Reported: 2018-03-28 00:29 EDT by Sam Fowler
Modified: 2018-05-04 07:07 EDT (History)
3 users (show)

See Also:
Fixed In Version: cups 2.2.6
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sam Fowler 2018-03-28 00:29:06 EDT
CUPS before version 2.2.6 has a vulnerability in the handling of usernames in the scheduler/ipp.c:add_job() function. A remote attacker could exploit this by submitting a print job with an invalid UTF-8 username to cause a crash and subsequent denial of service.


External References:

https://security.cucumberlinux.com/security/details.php?id=346


Upstream Issue:

https://github.com/apple/cups/issues/5143


Upstream Patch:

https://github.com/apple/cups/commit/49fa4983f25b64ec29d548ffa3b9782426007df3
Comment 1 Sam Fowler 2018-03-28 00:29:32 EDT
Created cups tracking bugs for this issue:

Affects: fedora-all [bug 1561298]
Comment 3 Stefan Cornelius 2018-04-05 03:58:56 EDT
I've tried to reproduce this, but so far I don't get the crash. I presume that this is because we don't have asserts enabled in our dbus. The only problem is that even when using a custom dbus with asserts enabled, I still don't see a crash.
Comment 4 Stefan Cornelius 2018-04-05 07:38:40 EDT
In reply to comment 3:
> I've tried to reproduce this, but so far I don't get the crash. I presume
> that this is because we don't have asserts enabled in our dbus. The only
> problem is that even when using a custom dbus with asserts enabled, I still
> don't see a crash.

I do get a crash now, my testing was flawed. Unfortunately, the upstream patch requires 1.7 API in order to have the attribute validation functions, which we don't have in RHEL7.

It's also worth noting that the original issues caused quite a few additional upstream changes, for example https://github.com/apple/cups/issues/5186 https://github.com/apple/cups/issues/5229. Maybe we can use a method similar to the cups-dbus-utf8.patch for bug 863387, but more generalized.

Note You need to log in before you can comment on or make changes to this bug.