cve.bz

CVE-2018-1085 redhat openshift container platform: Improper Authentication

9.8 criticalEPSS 2.2%

Critical (9.8) in redhat openshift container platform. EPSS 2.2% estimated probability of exploitation activity in the next 30 days.

On this page
openshift-ansible before versions 3.9.23, 3.7.46 deploys a misconfigured etcd file that causes the SSL client certificate authentication to be disabled. Quotations around the values of ETCD_CLIENT_CERT_AUTH and ETCD_PEER_CLIENT_CERT_AUTH in etcd.conf result in etcd being configured to allow remote users to connect without any authentication if they can access the etcd server bound to the network on the master nodes. An attacker could use this flaw to read and modify all the data about the Openshift cluster in the etcd datastore, potentially adding another compute node, or bringing down the entire cluster.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.2% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-287 Improper Authentication
CWE-592 Authentication Bypass Issues deprecated by MITRE
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1085 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1085?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1085?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1085 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:openshift_container_platformbefore 3.9.31

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift:3.9::el7atomic-openshift, atomic-openshift-pod, atomic-openshift-node and 11 more0:3.9.31-1.git.0.ef9737b.el7RHSA-2018:2013
Red Hatopenshift:3.9::el7atomic-openshift-descheduler0:3.9.13-1.git.267.bb59a3f.el7RHSA-2018:2013
Red Hatopenshift:3.9::el7atomic-openshift-dockerregistry0:3.9.31-1.git.351.1bd46ed.el7RHSA-2018:2013
Red Hatopenshift:3.9::el7atomic-openshift-node-problem-detector0:3.9.13-1.git.167.5d6b0d4.el7RHSA-2018:2013
Red Hatopenshift:3.9::el7atomic-openshift-web-console0:3.9.31-1.git.246.bded6a4.el7RHSA-2018:2013
Red Hatopenshift:3.9::el7mysql-apb-role0:1.1.11-1.el7RHSA-2018:2013
Red Hatopenshift:3.9::el7openshift-ansible, atomic-openshift-utils, openshift-ansible-docs and 2 more0:3.9.31-1.git.34.154617d.el7RHSA-2018:2013
Red Hatopenshift:3.9::el7prometheus-node-exporter, golang-github-prometheus-node_exporter0:3.9.31-1.git.890.a55de06.el7RHSA-2018:2013

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue affects Openshift Container Platform (OCP) only if you use the container installation method. The container installation method is tech preview in 3.7.1. This issue affected all users who did a containerized etcd in OCP versions 3.7.1-3.6.

If etcd is installed via RPM and run via '/usr/bin/etcd' it's not affected by this flaw. You can check if etcd is being run from '/usr//bin/etcd' using a 'ps' command such as this on the master nodes. If Installed via RPM you should get output similar to:

ps -ef | grep etcd

$/usr/bin/etcd --name=master-0.example.com --data-dir=/var/lib/etcd/ --listen-client-urls=https://10.0.1.1:2379

If etcd is installed via the container method running 'docker ps' on the master will show a container running the registry.access.redhat.com/rhel7/etcd image, eg:

sudo docker ps --filter name=etcd_container

$704effa9b0cc registry.access.redhat.com/rhel7/etcd "/usr/bin/etcd" 56 minutes ago Up 56 minutes etcd_container

Red Hat's mitigation

On master nodes where etcd has been installed using the container method:

0. Verify you can connect to etcd without providing TLS authentication credentials. On any master node, check the ETCD_LISTEN_CLIENT_URLS in /etc/etcd/etcd.conf, and use one of the client urls to connect without providing a certificate, eg:

curl -4 curl https://10.0.1.1:2379/version -k

0a. If vulnerable output will show something like this:

{"etcdserver":"3.2.15","etcdcluster":"3.2.0"}

0b. If not affected the connection will fail with:

curl: (58) NSS: client certificate not found (nickname not specified)

1. update /etc/etcd/etcd.conf on the master nodes to remove quotes from these fields:

ETCD_PEER_CLIENT_CERT_AUTH="true"

ETCD_CLIENT_CERT_AUTH="true"

eg.

ETCD_PEER_CLIENT_CERT_AUTH=true

ETCD_CLIENT_CERT_AUTH=true

2. Restart the etcd container service:

sudo systemctl restart etcd_container

3. Test if client authentication is now required using the steps from 0. above.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.9atomic-openshift-0:3.9.31-1.git.0.ef9737b.el7Fixed 2018-06-27RHSA-2018:2013
Red Hat OpenShift Container Platform 3.9atomic-openshift-descheduler-0:3.9.13-1.git.267.bb59a3f.el7Fixed 2018-06-27RHSA-2018:2013
Red Hat OpenShift Container Platform 3.9atomic-openshift-dockerregistry-0:3.9.31-1.git.351.1bd46ed.el7Fixed 2018-06-27RHSA-2018:2013
Red Hat OpenShift Container Platform 3.9atomic-openshift-node-problem-detector-0:3.9.13-1.git.167.5d6b0d4.el7Fixed 2018-06-27RHSA-2018:2013
Red Hat OpenShift Container Platform 3.9atomic-openshift-web-console-0:3.9.31-1.git.246.bded6a4.el7Fixed 2018-06-27RHSA-2018:2013
Red Hat OpenShift Container Platform 3.9golang-github-prometheus-node_exporter-0:3.9.31-1.git.890.a55de06.el7Fixed 2018-06-27RHSA-2018:2013
Red Hat OpenShift Container Platform 3.9mysql-apb-role-0:1.1.11-1.el7Fixed 2018-06-27RHSA-2018:2013
Red Hat OpenShift Container Platform 3.9openshift-ansible-0:3.9.31-1.git.34.154617d.el7Fixed 2018-06-27RHSA-2018:2013

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1085.

Attack patterns (CAPEC)

  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON