Amazon Linux AMI update for samba



Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2017-14746
CVE-2017-15275
CWE-ID CWE-416
CWE-401
Exploitation vector Local network
Public exploit N/A
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Use-after-free

EUVDB-ID: #VU9372

Risk: Medium

CVSSv4.0: 6.3 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2017-14746

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a use-after-free error when processing SMB1 requests. A remote attacker can send a specially crafted SMB1 request to vulnerable server, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable SMB server.

Mitigation

Update the affected packages.

i686:
    ctdb-tests-4.6.2-12.37.amzn1.i686
    samba-devel-4.6.2-12.37.amzn1.i686
    samba-test-libs-4.6.2-12.37.amzn1.i686
    samba-4.6.2-12.37.amzn1.i686
    samba-client-4.6.2-12.37.amzn1.i686
    samba-winbind-modules-4.6.2-12.37.amzn1.i686
    samba-debuginfo-4.6.2-12.37.amzn1.i686
    samba-client-libs-4.6.2-12.37.amzn1.i686
    ctdb-4.6.2-12.37.amzn1.i686
    samba-common-tools-4.6.2-12.37.amzn1.i686
    samba-libs-4.6.2-12.37.amzn1.i686
    samba-winbind-4.6.2-12.37.amzn1.i686
    samba-common-libs-4.6.2-12.37.amzn1.i686
    libsmbclient-devel-4.6.2-12.37.amzn1.i686
    samba-krb5-printing-4.6.2-12.37.amzn1.i686
    samba-python-4.6.2-12.37.amzn1.i686
    libsmbclient-4.6.2-12.37.amzn1.i686
    samba-test-4.6.2-12.37.amzn1.i686
    samba-winbind-krb5-locator-4.6.2-12.37.amzn1.i686
    libwbclient-devel-4.6.2-12.37.amzn1.i686
    samba-winbind-clients-4.6.2-12.37.amzn1.i686
    libwbclient-4.6.2-12.37.amzn1.i686

noarch:
    samba-common-4.6.2-12.37.amzn1.noarch
    samba-pidl-4.6.2-12.37.amzn1.noarch

src:
    samba-4.6.2-12.37.amzn1.src

x86_64:
    libwbclient-4.6.2-12.37.amzn1.x86_64
    samba-winbind-modules-4.6.2-12.37.amzn1.x86_64
    samba-krb5-printing-4.6.2-12.37.amzn1.x86_64
    samba-devel-4.6.2-12.37.amzn1.x86_64
    ctdb-4.6.2-12.37.amzn1.x86_64
    samba-test-libs-4.6.2-12.37.amzn1.x86_64
    samba-client-4.6.2-12.37.amzn1.x86_64
    samba-debuginfo-4.6.2-12.37.amzn1.x86_64
    samba-libs-4.6.2-12.37.amzn1.x86_64
    samba-common-tools-4.6.2-12.37.amzn1.x86_64
    samba-winbind-4.6.2-12.37.amzn1.x86_64
    samba-python-4.6.2-12.37.amzn1.x86_64
    samba-winbind-krb5-locator-4.6.2-12.37.amzn1.x86_64
    samba-common-libs-4.6.2-12.37.amzn1.x86_64
    ctdb-tests-4.6.2-12.37.amzn1.x86_64
    libsmbclient-4.6.2-12.37.amzn1.x86_64
    libwbclient-devel-4.6.2-12.37.amzn1.x86_64
    libsmbclient-devel-4.6.2-12.37.amzn1.x86_64
    samba-client-libs-4.6.2-12.37.amzn1.x86_64
    samba-test-4.6.2-12.37.amzn1.x86_64
    samba-4.6.2-12.37.amzn1.x86_64
    samba-winbind-clients-4.6.2-12.37.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2017-933.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Memory leak

EUVDB-ID: #VU9373

Risk: Medium

CVSSv4.0: 4.9 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2017-15275

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

Exploit availability: No

Description

The vulnerability allows a remote attacker to access potentially sensitive information.

The vulnerability exists due to uncleared heap memory is sent to the client. A remote attacker can obtain potentially sensitive information and use it in further attacks.

Mitigation

Update the affected packages.

i686:
    ctdb-tests-4.6.2-12.37.amzn1.i686
    samba-devel-4.6.2-12.37.amzn1.i686
    samba-test-libs-4.6.2-12.37.amzn1.i686
    samba-4.6.2-12.37.amzn1.i686
    samba-client-4.6.2-12.37.amzn1.i686
    samba-winbind-modules-4.6.2-12.37.amzn1.i686
    samba-debuginfo-4.6.2-12.37.amzn1.i686
    samba-client-libs-4.6.2-12.37.amzn1.i686
    ctdb-4.6.2-12.37.amzn1.i686
    samba-common-tools-4.6.2-12.37.amzn1.i686
    samba-libs-4.6.2-12.37.amzn1.i686
    samba-winbind-4.6.2-12.37.amzn1.i686
    samba-common-libs-4.6.2-12.37.amzn1.i686
    libsmbclient-devel-4.6.2-12.37.amzn1.i686
    samba-krb5-printing-4.6.2-12.37.amzn1.i686
    samba-python-4.6.2-12.37.amzn1.i686
    libsmbclient-4.6.2-12.37.amzn1.i686
    samba-test-4.6.2-12.37.amzn1.i686
    samba-winbind-krb5-locator-4.6.2-12.37.amzn1.i686
    libwbclient-devel-4.6.2-12.37.amzn1.i686
    samba-winbind-clients-4.6.2-12.37.amzn1.i686
    libwbclient-4.6.2-12.37.amzn1.i686

noarch:
    samba-common-4.6.2-12.37.amzn1.noarch
    samba-pidl-4.6.2-12.37.amzn1.noarch

src:
    samba-4.6.2-12.37.amzn1.src

x86_64:
    libwbclient-4.6.2-12.37.amzn1.x86_64
    samba-winbind-modules-4.6.2-12.37.amzn1.x86_64
    samba-krb5-printing-4.6.2-12.37.amzn1.x86_64
    samba-devel-4.6.2-12.37.amzn1.x86_64
    ctdb-4.6.2-12.37.amzn1.x86_64
    samba-test-libs-4.6.2-12.37.amzn1.x86_64
    samba-client-4.6.2-12.37.amzn1.x86_64
    samba-debuginfo-4.6.2-12.37.amzn1.x86_64
    samba-libs-4.6.2-12.37.amzn1.x86_64
    samba-common-tools-4.6.2-12.37.amzn1.x86_64
    samba-winbind-4.6.2-12.37.amzn1.x86_64
    samba-python-4.6.2-12.37.amzn1.x86_64
    samba-winbind-krb5-locator-4.6.2-12.37.amzn1.x86_64
    samba-common-libs-4.6.2-12.37.amzn1.x86_64
    ctdb-tests-4.6.2-12.37.amzn1.x86_64
    libsmbclient-4.6.2-12.37.amzn1.x86_64
    libwbclient-devel-4.6.2-12.37.amzn1.x86_64
    libsmbclient-devel-4.6.2-12.37.amzn1.x86_64
    samba-client-libs-4.6.2-12.37.amzn1.x86_64
    samba-test-4.6.2-12.37.amzn1.x86_64
    samba-4.6.2-12.37.amzn1.x86_64
    samba-winbind-clients-4.6.2-12.37.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2017-933.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###