Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1511623 - (CVE-2017-15111) CVE-2017-15111 keycloak-httpd-client-install: unsafe /tmp log file in --log-file option in keycloak_cli.py
CVE-2017-15111 keycloak-httpd-client-install: unsafe /tmp log file in --log-f...
Status: CLOSED WONTFIX
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=20180105,reported=2...
: Reopened, Security
Depends On: 1533190 1531296 1531338 1531339 1531340
Blocks: 1517252
  Show dependency treegraph
 
Reported: 2017-11-09 13:02 EST by Pedro Sampaio
Modified: 2018-05-14 08:21 EDT (History)
20 users (show)

See Also:
Fixed In Version: keycloak 0.8
Doc Type: If docs needed, set a value
Doc Text:
It was discovered that keycloak-httpd-client-install uses a predictable log file name in /tmp. A local attacker could create a symbolic link to a sensitive location, possibly causing data corruption or denial of service.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-01-29 01:18:41 EST
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 Pedro Sampaio 2017-11-09 13:02:36 EST
A flaw was discovered in keycloak-httpd-client-install version 0.6-2. The --log-file option in keycloak_cli.py insecurely passes the script name for the log file creation.
Comment 1 John Dennis 2017-11-09 13:52:15 EST
Could you please explain the security issue, I do not follow from the terse "insecurely passes the script name for the log file creation" phrase.
Comment 7 Summer Long 2018-01-02 23:58:50 EST
Acknowledgements:

(none)
Comment 9 Summer Long 2018-01-04 18:01:31 EST
Created keycloak-httpd-client-install tracking bugs for this issue:

Affects: fedora-all [bug 1531296]
Comment 17 Andrej Nemec 2018-05-14 08:21:37 EDT
Statement:

Red Hat Product Security has rated this issue as having security impact of Low. This issue may be fixed in a future version of Red Hat Enterprise Linux.

OpenStack users please note, this issue is present in:
* Red Hat OpenStack Platform 9.0 (Mitaka)
* Red Hat OpenStack Platform 10.0 (Newton) 
* Red Hat OpenStack Platform 11.0 (Ocata)

If a fixed version of keycloak-httpd-client-install is made available in Red Hat Enterprise Linux, OpenStack customers should consume this package directly from the Red Hat Enterprise Linux channel (this occurs during normal updates).

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