]> git.ipfire.org Git - thirdparty/libvirt.git/commit
admin: reject clients unless their UID matches the current UID
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 30 Apr 2019 16:26:13 +0000 (17:26 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 21 May 2019 12:29:47 +0000 (13:29 +0100)
commit99decb0a65227aac7b072f9e1751b75ac50a62a5
treefe96a777dd7602d6d58525d79e642ac8495de5d9
parent1f8be8ec80309c8901a7b8d41d2507bd4472943e
admin: reject clients unless their UID matches the current UID

The admin protocol RPC messages are only intended for use by the user
running the daemon. As such they should not be allowed for any client
UID that does not match the server UID.

Fixes CVE-2019-10132

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
(cherry picked from commit 96f41cd765c9e525fe28ee5abbfbf4a79b3720c7)
src/admin/admin_server_dispatch.c