CVE-2018-1128 (NVD)

2018-07-10

It was found that cephx authentication protocol did not verify ceph clients correctly and was vulnerable to replay attack. Any attacker having access to ceph cluster network who is able to sniff packets on network can use this vulnerability to authenticate with ceph service and perform actions allowed by ceph service. Ceph branches master, mimic, luminous and jewel are believed to be vulnerable.

Products Ceph, Ceph_storage, Ceph_storage_mon, Ceph_storage_osd, Enterprise_linux_desktop, Enterprise_linux_server, Enterprise_linux_workstation
Type Improper Authentication (CWE-287)
First patch https://github.com/ceph/ceph/commit/5ead97120e07054d80623dada90a5cc764c28468
Relevant file/s • ./src/auth/Auth.h (modified, +5)
• ./src/auth/AuthAuthorizeHandler.h (modified, +3, -1)
• ./src/auth/cephx/CephxAuthorizeHandler.cc (modified, +8, -4)
• ./src/auth/cephx/CephxAuthorizeHandler.h (modified, +2, -1)
• ./src/auth/cephx/CephxProtocol.cc (modified, +56, -1)
• ./src/auth/cephx/CephxProtocol.h (modified, +33, -4)
• ./src/auth/cephx/CephxServiceHandler.cc (modified, +3, -1)
• ./src/auth/none/AuthNoneAuthorizeHandler.cc (modified, +7, -4)
• ./src/auth/none/AuthNoneAuthorizeHandler.h (modified, +2, -1)
• ./src/auth/none/AuthNoneProtocol.h (modified, +3)
• ./src/auth/unknown/AuthUnknownAuthorizeHandler.cc (modified, +7, -4)
• ./src/auth/unknown/AuthUnknownAuthorizeHandler.h (modified, +2, -1)
• ./src/include/msgr.h (modified, +1, -1)
• ./src/mds/MDSDaemon.cc (modified, +3, -2)
• ./src/mds/MDSDaemon.h (modified, +2, -1)
• ./src/mgr/DaemonServer.cc (modified, +12, -8)
• ./src/mgr/DaemonServer.h (modified, +9, -7)
• ./src/mon/Monitor.cc (modified, +3, -2)
• ./src/mon/Monitor.h (modified, +2, -1)
• ./src/msg/Dispatcher.h (modified, +6, -1)
• ./src/msg/Messenger.h (modified, +4, -2)
• ./src/msg/async/AsyncConnection.cc (modified, +30, -7)
• ./src/msg/async/AsyncConnection.h (modified, +1)
• ./src/msg/async/AsyncMessenger.h (modified, +3, -2)
• ./src/msg/simple/Pipe.cc (modified, +31, -6)
• ./src/msg/simple/SimpleMessenger.cc (modified, +5, -2)
• ./src/msg/simple/SimpleMessenger.h (modified, +4, -2)
• ./src/osd/OSD.cc (modified, +6, -4)
• ./src/osd/OSD.h (modified, +4, -2)
• ./src/test/messenger/simple_dispatcher.h (modified, +4, -3)
• ./src/test/messenger/xio_dispatcher.h (modified, +2, -1)
• ./src/test/msgr/perf_msgr_client.cc (modified, +2, -1)
• ./src/test/msgr/perf_msgr_server.cc (modified, +2, -1)
• ./src/test/msgr/test_msgr.cc (modified, +6, -3)
Links http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00100.html
https://bugzilla.redhat.com/show_bug.cgi?id=1575866
https://access.redhat.com/errata/RHSA-2018:2261
https://access.redhat.com/errata/RHSA-2018:2177
https://access.redhat.com/errata/RHSA-2018:2274

ceph - Tree: 5ead97120e

(? files)

Filter Settings
Files
Navigation
Patch data:

(on by default)


Patched area: