CVE-2018-14649: Command Injection
It was found that ceph-isci-cli package as shipped by Red Hat Ceph Storage 2 and 3 is using python-werkzeug in debug shell mode. This is done by setting debug=True in file /usr/bin/rbd-target-api provided by ceph-isci-cli package. This allows unauthenticated attackers to access this debug shell and escalate privileges. Once an attacker has successfully connected to this debug shell they will be able to execute arbitrary commands remotely. These commands will run with the same privileges as of user executing the application which is using python-werkzeug with debug shell mode enabled. In - Red Hat Ceph Storage 2 and 3, ceph-isci-cli package runs python-werkzeug library with root level permissions.
Other sources
The ceph-iscsi-cli package starts the rbd-target-api service in debug mode by default, which enables the underlying python-werkzeug debug console. A remote unauthenticated user can use the debug console to execute abitrary commands.
Upstream Bug:
https://github.com/ceph/ceph-iscsi-cli/issues/120
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2018-14649?
CVE-2018-14649 has a high severity rating due to the potential for unauthorized access to a debug shell.
How do I fix CVE-2018-14649?
To fix CVE-2018-14649, set debug=False in the configuration file /usr/bin/rbd-target-api.
What software is affected by CVE-2018-14649?
CVE-2018-14649 affects the ceph-isci-cli package in Red Hat Ceph Storage 2 and 3, as well as various Red Hat Enterprise Linux versions.
Can attackers exploit CVE-2018-14649 remotely?
Yes, attackers can exploit CVE-2018-14649 remotely due to the debug shell being accessible without authentication.
What are the consequences of CVE-2018-14649?
The consequences of CVE-2018-14649 include potential data leakage and system compromise due to unauthorized access.