Vulnerability Name:

CVE-2015-7540 (CCN-109135)

Assigned:2015-12-16
Published:2015-12-16
Updated:2022-08-29
Summary:The LDAP server in the AD domain controller in Samba 4.x before 4.1.22 does not check return values to ensure successful ASN.1 memory allocation, which allows remote attackers to cause a denial of service (memory consumption and daemon crash) via crafted packets.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Low
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
4.3 Medium (REDHAT CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-399
CWE-770
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2015-7540

Source: FEDORA
Type: Third Party Advisory
FEDORA-2015-b36076d32e

Source: FEDORA
Type: Third Party Advisory
FEDORA-2015-0e0879cc8a

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2015:2356

Source: CCN
Type: RHSA-2016-0010
Moderate: samba4 security update

Source: CCN
Type: RHSA-2016-0015
Moderate: samba security update

Source: DEBIAN
Type: Third Party Advisory
DSA-3433

Source: CCN
Type: IBM Security Bulletin N1021062
Vulnerabilities in Samba affect IBM i

Source: CONFIRM
Type: Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html

Source: BID
Type: Third Party Advisory, VDB Entry
79736

Source: CCN
Type: BID-79736
Samba CVE-2015-7540 Remote Denial of Service Vulnerability

Source: SECTRACK
Type: Third Party Advisory, VDB Entry
1034492

Source: UBUNTU
Type: Third Party Advisory
USN-2855-1

Source: UBUNTU
Type: Third Party Advisory
USN-2855-2

Source: CONFIRM
Type: Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1288451

Source: XF
Type: UNKNOWN
samba-cve20157540-dos(109135)

Source: CONFIRM
Type: Patch, Vendor Advisory
https://git.samba.org/?p=samba.git;a=commit;h=530d50a1abdcdf4d1775652d4c456c1274d83d8d

Source: CONFIRM
Type: Patch, Vendor Advisory
https://git.samba.org/?p=samba.git;a=commit;h=9d989c9dd7a5b92d0c5d65287935471b83b6e884

Source: GENTOO
Type: Third Party Advisory
GLSA-201612-47

Source: CCN
Type: Samba Web site
Remote DoS in Samba (AD) LDAP server

Source: CONFIRM
Type: Vendor Advisory
https://www.samba.org/samba/security/CVE-2015-7540.html

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2015-7540

Vulnerable Configuration:Configuration 1:
  • cpe:/a:samba:samba:*:*:*:*:*:*:*:* (Version >= 4.0.0 and < 4.1.22)

  • Configuration 2:
  • cpe:/o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*

  • Configuration 3:
  • cpe:/o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:7.0:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:7::client:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:7::computenode:*:*:*:*:*

  • Configuration RedHat 4:
  • cpe:/o:redhat:enterprise_linux:7::server:*:*:*:*:*

  • Configuration RedHat 5:
  • cpe:/o:redhat:enterprise_linux:7::workstation:*:*:*:*:*

  • Configuration RedHat 6:
  • cpe:/o:redhat:enterprise_linux:6:*:*:*:*:*:*:*

  • Configuration RedHat 7:
  • cpe:/o:redhat:enterprise_linux:6::client:*:*:*:*:*

  • Configuration RedHat 8:
  • cpe:/o:redhat:enterprise_linux:6::computenode:*:*:*:*:*

  • Configuration RedHat 9:
  • cpe:/o:redhat:enterprise_linux:6::server:*:*:*:*:*

  • Configuration RedHat 10:
  • cpe:/o:redhat:enterprise_linux:6::workstation:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:samba:samba:4.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:samba:samba:4.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:samba:samba:4.1.21:*:*:*:*:*:*:*
  • AND
  • cpe:/o:ibm:i:7.2:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:gluster_storage_server:3.1:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_desktop:6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_hpc_node:6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server:6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_eus:6.7.z:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_workstation:6:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20157540
    V
    CVE-2015-7540
    2022-05-20
    oval:org.cisecurity:def:344
    P
    DSA-3433-1 -- samba -- security update
    2016-02-26
    oval:com.redhat.rhsa:def:20160006
    P
    RHSA-2016:0006: samba security update (Moderate)
    2016-01-08
    oval:com.redhat.rhsa:def:20160010
    P
    RHSA-2016:0010: samba4 security update (Moderate)
    2016-01-07
    oval:com.ubuntu.trusty:def:20157540000
    V
    CVE-2015-7540 on Ubuntu 14.04 LTS (trusty) - medium.
    2015-12-29
    oval:com.ubuntu.xenial:def:201575400000000
    V
    CVE-2015-7540 on Ubuntu 16.04 LTS (xenial) - medium.
    2015-12-29
    oval:com.ubuntu.xenial:def:20157540000
    V
    CVE-2015-7540 on Ubuntu 16.04 LTS (xenial) - medium.
    2015-12-29
    oval:com.ubuntu.precise:def:20157540000
    V
    CVE-2015-7540 on Ubuntu 12.04 LTS (precise) - medium.
    2015-12-29
    oval:com.redhat.rhba:def:20152258
    P
    RHBA-2015:2258: samba bug fix and enhancement update (Moderate)
    2015-11-19
    BACK
    samba samba *
    canonical ubuntu linux 15.10
    canonical ubuntu linux 15.04
    canonical ubuntu linux 14.04
    canonical ubuntu linux 12.04
    debian debian linux 8.0
    debian debian linux 7.0
    samba samba 4.0.0
    samba samba 4.1.0
    samba samba 4.1.21
    ibm i 7.2
    redhat gluster storage server 3.1
    redhat enterprise linux 6.0
    redhat enterprise linux desktop 6
    redhat enterprise linux hpc node 6
    redhat enterprise linux server 6
    redhat enterprise linux server eus 6.7.z
    redhat enterprise linux workstation 6