[SCM] Samba Shared Repository - branch master updated
Karolin Seeger
kseeger at samba.org
Wed May 24 12:35:02 UTC 2017
The branch, master has been updated
via 02a76d8 CVE-2017-7494: rpc_server3: Refuse to open pipe names with / inside
from 82bb44d dsdb: Do not search the sam.ldb file when trying to search all partitions
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 02a76d86db0cbe79fcaf1a500630e24d961fa149
Author: Volker Lendecke <vl at samba.org>
Date: Mon May 8 21:40:40 2017 +0200
CVE-2017-7494: rpc_server3: Refuse to open pipe names with / inside
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12780
Signed-off-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Jeremy Allison <jra at samba.org>
Reviewed-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User(master): Karolin Seeger <kseeger at samba.org>
Autobuild-Date(master): Wed May 24 14:34:30 CEST 2017 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
source3/rpc_server/srv_pipe.c | 5 +++++
1 file changed, 5 insertions(+)
Changeset truncated at 500 lines:
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 39f5fb4..f79fbe2 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -481,6 +481,11 @@ bool is_known_pipename(const char *pipename, struct ndr_syntax_id *syntax)
{
NTSTATUS status;
+ if (strchr(pipename, '/')) {
+ DEBUG(1, ("Refusing open on pipe %s\n", pipename));
+ return false;
+ }
+
if (lp_disable_spoolss() && strequal(pipename, "spoolss")) {
DEBUG(10, ("refusing spoolss access\n"));
return false;
--
Samba Shared Repository
More information about the samba-cvs
mailing list