[SCM] Samba Shared Repository - branch v4-4-test updated

Karolin Seeger kseeger at samba.org
Wed May 24 08:05:34 UTC 2017


The branch, v4-4-test has been updated
       via  a709729 VERSION: Bump version up to 4.4.15.
       via  63684f6 Merge tag 'samba-4.4.14' into v4-4-test
       via  f0ec0c2 VERSION: Disable GIT_SNAPSHOT for the 4.4.14 release.
       via  75ec364 WHATSNEW: Add release notes for Samba 4.4.14.
       via  279f4af CVE-2017-7494: rpc_server3: Refuse to open pipe names with / inside
       via  59b2ef1 VERSION: Re-enable GIT_SNAPSHOTS.
       via  3b6576d VERSION: Bump version up to 4.4.14.
      from  dea3200 VERSION: Bump version up to 4.4.14.

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


- Log -----------------------------------------------------------------
commit a709729657997dcc36329979977e1bdbbc3c98e0
Author: Karolin Seeger <kseeger at samba.org>
Date:   Wed May 24 10:05:04 2017 +0200

    VERSION: Bump version up to 4.4.15.
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>

commit 63684f676007279ae66b48d10e216970d1512fde
Merge: dea3200 f0ec0c2
Author: Karolin Seeger <kseeger at samba.org>
Date:   Wed May 24 10:04:01 2017 +0200

    Merge tag 'samba-4.4.14' into v4-4-test
    
    samba: tag release samba-4.4.14

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

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


Changeset truncated at 500 lines:

diff --git a/VERSION b/VERSION
index 909a5e6..ee6de5a 100644
--- a/VERSION
+++ b/VERSION
@@ -25,7 +25,7 @@
 ########################################################
 SAMBA_VERSION_MAJOR=4
 SAMBA_VERSION_MINOR=4
-SAMBA_VERSION_RELEASE=14
+SAMBA_VERSION_RELEASE=15
 
 ########################################################
 # If a official release has a serious bug              #
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 3ecda69..f6688b0 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,4 +1,56 @@
                    ==============================
+                   Release Notes for Samba 4.4.14
+                            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.4.13:
+---------------------
+
+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.4.13
                            March 31, 2017
                    ==============================
@@ -36,8 +88,8 @@ database (https://bugzilla.samba.org/).
 ======================================================================
 
 
-Release notes for older releases follow:
-----------------------------------------
+---------------------------------------------------------------------
+
 
                    ==============================
                    Release Notes for Samba 4.4.12
@@ -564,7 +616,7 @@ o  Jeremy Allison <jra at samba.org>
      == NULL.
    * BUG 11986: s3: libsmb: Correctly trim a trailing \\ character in
      cli_smb2_create_fnum_send() when passing a pathname to SMB2 create.
-   * BUG 12021: Fix smbd crash (Signal 4) on File Delete.
+   * BUG 12021: Fix smbd crash ( 4) on File Delete.
    * BUG 12135: libgpo: Correctly use the 'server' parameter after parsing it
      out of the GPO path.
    * BUG 12139: s3: oplock: Fix race condition when closing an oplocked file.
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