CVE-2018-14649
[UNKNOWN] ceph-iscsi-cli: Improper Neutralization of Special Elements used in a Command
Check your servers for CVE-2018-14649
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2018-14649 affects ceph-iscsi-cli, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 11.9%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.8% of all scored CVEs. Scores of 29 Nov 2026.
Weakness
- CWE-77 Improper Neutralization of Special Elements used in a Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
ceph-iscsi-cli
[UNKNOWN]
|
affected all versions
|
Is my server affected?
Find the installed version of ceph-iscsi-cli and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i ceph-iscsi-cli
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2018-14649 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2018-14649RHEL, Rocky, Alma, Fedora
rpm -q ceph-iscsi-cli
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2018-14649Alpine
apk list --installed | grep -i ceph-iscsi-cliWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2018-14649
trivy image --scanners vuln IMAGE | grep CVE-2018-14649
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://access.redhat.com/articles/3623521 access.redhat.com
- https://github.com/ceph/ceph-iscsi-cli/pull/121/commits/c3812075e30c76a800a961e7291087d357403f6b github.com
- https://github.com/ceph/ceph-iscsi-cli/issues/120 github.com
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14649 bugzilla.redhat.com
- RHSA-2018:2838 access.redhat.com · vendor advisory
- RHSA-2018:2837 access.redhat.com · vendor advisory
Other references
- 105434 securityfocus.com · vdb entry
Source: the record CVE-2018-14649 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse