[SCM] Samba Shared Repository - branch v4-5-stable updated

Karolin Seeger kseeger at samba.org
Wed May 24 07:11:54 UTC 2017


The branch, v4-5-stable has been updated
       via  558f8e6 VERSION: Disable GIT_SNAPSHOTS for the 4.5.10 release.
       via  c46ed35 WHATSNEW: Add release notes for Samba 4.5.10.
       via  5f224a3 CVE-2017-7494: rpc_server3: Refuse to open pipe names with / inside
       via  79dc791 VERSION: Bump version up to 4.5.10...
      from  2cb8fc1 VERSION: Disable GIT_SNAPSHOTS for the 4.5.9 release.

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-5-stable


- Log -----------------------------------------------------------------
commit 558f8e68f299d2f844b94f9df92ab6e8015f3392
Author: Karolin Seeger <kseeger at samba.org>
Date:   Fri May 19 12:07:24 2017 +0200

    VERSION: Disable GIT_SNAPSHOTS for the 4.5.10 release.
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>

commit c46ed35f5ba07fe0dbcbe356dc8881ed6519177f
Author: Karolin Seeger <kseeger at samba.org>
Date:   Fri May 19 12:06:21 2017 +0200

    WHATSNEW: Add release notes for Samba 4.5.10.
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>

commit 5f224a3913123cd8ecc09d2f807356ad43b0bf09
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>

commit 79dc791169a6efed63aca2e6d3ac6b3aed518245
Author: Karolin Seeger <kseeger at samba.org>
Date:   Thu May 18 08:47:52 2017 +0200

    VERSION: Bump version up to 4.5.10...
    
    and re-enable GIT_SNAPSHOTS.
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>
    (cherry picked from commit 886edba06129ff76af549cdc3b6c7d346525dc6e)

-----------------------------------------------------------------------

Summary of changes:
 VERSION                       |  2 +-
 WHATSNEW.txt                  | 56 +++++++++++++++++++++++++++++++++++++++++--
 source3/rpc_server/srv_pipe.c |  5 ++++
 3 files changed, 60 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/VERSION b/VERSION
index 8075d7c..9d55484 100644
--- a/VERSION
+++ b/VERSION
@@ -25,7 +25,7 @@
 ########################################################
 SAMBA_VERSION_MAJOR=4
 SAMBA_VERSION_MINOR=5
-SAMBA_VERSION_RELEASE=9
+SAMBA_VERSION_RELEASE=10
 
 ########################################################
 # If a official release has a serious bug              #
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 7c57603..fcc30ad 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,3 +1,55 @@
+                   ==============================
+                   Release Notes for Samba 4.5.10
+                            May 24, 2017
+                   ==============================
+
+
+This is a security release in order to address the following defect:
+
+o  CVE-2017-7494 (Remote code execution from a writable share)
+
+=======
+Details
+=======
+
+o  CVE-2017-7494:
+   All versions of Samba from 3.5.0 onwards are vulnerable to a remote
+   code execution vulnerability, allowing a malicious client to upload a
+   shared library to a writable share, and then cause the server to load
+   and execute it.
+
+
+Changes since 4.5.9:
+--------------------
+
+o  Volker Lendecke <vl at samba.org>
+   * BUG 12780: CVE-2017-7494: Avoid remote code execution from a writable
+     share.
+
+
+#######################################
+Reporting bugs & Development Discussion
+#######################################
+
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical IRC channel on irc.freenode.net.
+
+If you do report problems then please try to send high quality
+feedback. If you don't provide vital information to help us track down
+the problem then you will probably be ignored.  All bug reports should
+be filed under the Samba 4.1 and newer product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+======================================================================
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+======================================================================
+
+
+Release notes for older releases follow:
+----------------------------------------
+
                    =============================
                    Release Notes for Samba 4.5.9
                             May 18, 2017
@@ -84,8 +136,8 @@ database (https://bugzilla.samba.org/).
 ======================================================================
 
 
-Release notes for older releases follow:
-----------------------------------------
+----------------------------------------------------------------------
+
 
                    =============================
                    Release Notes for Samba 4.5.8
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index bcd7e5d..40d60a7 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -476,6 +476,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