Bug 1631102 (CVE-2018-11786)
Summary: | CVE-2018-11786 karaf: SSH RBAC security enforcement | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Pedro Sampaio <psampaio> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | aileenc, apevec, chazlett, chrisw, gvarsami, jcoleman, jjoyce, jschluet, ldimaggi, lhh, lpeer, markmc, mburns, mkolesni, nwallace, rbryant, rwagner, sclewis, slinaber, tcunning, tdecacqu, tkirby |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Karaf 4.2.0 | Doc Type: | If docs needed, set a value |
Doc Text: |
In Karaf prior to version 4.2.0, arbitrary file read and write, in additional to arbitrary command execution, is possible via the Karaf ssh console, if enabled.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-10-21 19:53:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1654109, 1654111, 1654112, 1654113, 1654114 | ||
Bug Blocks: | 1631103 |
Description
Pedro Sampaio
2018-09-19 21:35:28 UTC
Impacted: RHOSP 8: org.apache.karaf-karaf-4.0.3.1 RHOSP 9: org.apache.karaf-karaf-3.0.1.1 RHOSP 10: org.apache.karaf-karaf-3.0.3.1 RHOSP 12: org.apache.karaf-karaf-4.0.7.1 RHOSP13: org.apache.karaf-karaf-4.1.5.1 OpenDaylight in RHOSP are shipping vulnerable versions and enabling the functionality required to use this vulnerability to gain code execution in the context of the odl service account. By default, Open Daylight enables the SSH console on port 8101, with default credentials. As a result, arbitrary code execution is possible with the default login (karaf:karaf). For example: ssh -v karaf@<odl controller IP> -p 8101 opendaylight-user@root> exec whoami odl (we are not running as root in the OS context, but the odl service user) The only constraints applicable to code execution is that the execution does not occur as an administrative user unless Open Daylight has been specifically configured to run under such an account. Applying the recommended patches developed upstream to limit access based on RBAC mitigates this, full shell access should be granted explicitly or disabled by default. Statement: Open Daylight: The SSH console is enabled by default, with default credentials, and allows arbitrary file read and write, in addition to arbitrary command execution, in addition to regular Open Daylight Karaf functions. This vulnerability is out of security support scope for the following products: * Red Hat JBoss A-MQ 6 * Red Hat JBoss Fuse 6 Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details. |