ID

VAR-201607-0377


CVE

CVE-2016-4640


TITLE

Apple OS X Login window arbitrary code execution vulnerability in privileged context

Trust: 0.8

sources: JVNDB: JVNDB-2016-004016

DESCRIPTION

Login Window in Apple OS X before 10.11.6 allows attackers to execute arbitrary code in a privileged context, obtain sensitive user information, or cause a denial of service (memory corruption) via a crafted app. The issue lies in the failure to properly validate user-supplied data which can result in a memory corruption condition. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.The specific flaw exists within CoreGraphics. By interacting with _XRegisterCursorWithData, an attacker can cause a heap buffer overflow. An attacker could leverage this vulnerability to execute arbitrary code under the context of the WindowServer. Apple Mac OS X is prone to multiple security vulnerabilities. Attackers can exploit these issues to execute arbitrary code, gain sensitive information, cause denial-of-service conditions, bypass security restrictions, and perform unauthorized actions. This may aid in other attacks. Apple Mac OS X 10.9.5, 10.10.5 and 10.11 through 10.11.5 are vulnerable. Login Window is one of the login window components

Trust: 3.24

sources: NVD: CVE-2016-4640 // JVNDB: JVNDB-2016-004016 // ZDI: ZDI-16-638 // ZDI: ZDI-16-435 // BID: 91824 // VULHUB: VHN-93459

AFFECTED PRODUCTS

vendor:applemodel:os xscope: - version: -

Trust: 1.4

vendor:applemodel:mac os xscope:lteversion:10.11.5

Trust: 1.0

vendor:applemodel:mac os xscope:eqversion:10.11 and later

Trust: 0.8

vendor:applemodel:mac os xscope:eqversion:10.11.5

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.11.3

Trust: 0.3

vendor:applemodel:mac osscope:eqversion:x10.11.2

Trust: 0.3

vendor:applemodel:mac osscope:eqversion:x10.11.1

Trust: 0.3

vendor:applemodel:mac osscope:eqversion:x10.10.5

Trust: 0.3

vendor:applemodel:mac osscope:eqversion:x10.9.5

Trust: 0.3

vendor:applemodel:mac osscope:eqversion:x10.11.5

Trust: 0.3

vendor:applemodel:mac osscope:eqversion:x10.11.4

Trust: 0.3

vendor:applemodel:mac osscope:eqversion:x10.11

Trust: 0.3

vendor:applemodel:mac osscope:neversion:x10.11.6

Trust: 0.3

vendor:applemodel:mac os security updatescope:neversion:x2016

Trust: 0.3

sources: ZDI: ZDI-16-638 // ZDI: ZDI-16-435 // BID: 91824 // JVNDB: JVNDB-2016-004016 // CNNVD: CNNVD-201607-892 // NVD: CVE-2016-4640

CVSS

SEVERITY

CVSSV2

CVSSV3

ZDI: CVE-2016-4640
value: MEDIUM

Trust: 1.4

nvd@nist.gov: CVE-2016-4640
value: HIGH

Trust: 1.0

NVD: CVE-2016-4640
value: HIGH

Trust: 0.8

CNNVD: CNNVD-201607-892
value: CRITICAL

Trust: 0.6

VULHUB: VHN-93459
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2016-4640
severity: HIGH
baseScore: 9.3
vectorString: AV:N/AC:M/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.6
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

ZDI: CVE-2016-4640
severity: MEDIUM
baseScore: 4.4
vectorString: AV:L/AC:M/AU:N/C:P/I:P/A:P
accessVector: LOCAL
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 3.4
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.4

VULHUB: VHN-93459
severity: HIGH
baseScore: 9.3
vectorString: AV:N/AC:M/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.6
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

nvd@nist.gov: CVE-2016-4640
baseSeverity: HIGH
baseScore: 7.8
vectorString: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
attackVector: LOCAL
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 1.8
impactScore: 5.9
version: 3.0

Trust: 1.8

sources: ZDI: ZDI-16-638 // ZDI: ZDI-16-435 // VULHUB: VHN-93459 // JVNDB: JVNDB-2016-004016 // CNNVD: CNNVD-201607-892 // NVD: CVE-2016-4640

PROBLEMTYPE DATA

problemtype:CWE-119

Trust: 1.9

sources: VULHUB: VHN-93459 // JVNDB: JVNDB-2016-004016 // NVD: CVE-2016-4640

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201607-892

TYPE

buffer overflow

Trust: 0.6

sources: CNNVD: CNNVD-201607-892

CONFIGURATIONS

sources: JVNDB: JVNDB-2016-004016

PATCH

title:HT206903url:https://support.apple.com/en-us/HT206903

Trust: 2.2

title:Apple security updatesurl:https://support.apple.com/en-us/HT201222

Trust: 0.8

title:APPLE-SA-2016-07-18-1 OS X El Capitan v10.11.6 and Security Update 2016-004url:http://lists.apple.com/archives/security-announce/2016/Jul/msg00000.html

Trust: 0.8

title:HT206903url:https://support.apple.com/ja-jp/HT206903

Trust: 0.8

title:Apple OS X Login Window Repair measures for memory corruption vulnerabilitiesurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=63252

Trust: 0.6

sources: ZDI: ZDI-16-638 // ZDI: ZDI-16-435 // JVNDB: JVNDB-2016-004016 // CNNVD: CNNVD-201607-892

EXTERNAL IDS

db:NVDid:CVE-2016-4640

Trust: 4.2

db:ZDIid:ZDI-16-435

Trust: 2.1

db:BIDid:91824

Trust: 1.4

db:SECTRACKid:1036348

Trust: 1.1

db:JVNid:JVNVU94844193

Trust: 0.8

db:JVNDBid:JVNDB-2016-004016

Trust: 0.8

db:ZDI_CANid:ZDI-CAN-3770

Trust: 0.7

db:ZDIid:ZDI-16-638

Trust: 0.7

db:ZDI_CANid:ZDI-CAN-3769

Trust: 0.7

db:CNNVDid:CNNVD-201607-892

Trust: 0.7

db:ZDIid:ZDI-16-433

Trust: 0.6

db:ZDIid:ZDI-16-496

Trust: 0.3

db:ZDIid:ZDI-16-437

Trust: 0.3

db:ZDIid:ZDI-16-431

Trust: 0.3

db:VULHUBid:VHN-93459

Trust: 0.1

sources: ZDI: ZDI-16-638 // ZDI: ZDI-16-435 // VULHUB: VHN-93459 // BID: 91824 // JVNDB: JVNDB-2016-004016 // CNNVD: CNNVD-201607-892 // NVD: CVE-2016-4640

REFERENCES

url:http://lists.apple.com/archives/security-announce/2016/jul/msg00000.html

Trust: 1.7

url:https://support.apple.com/ht206903

Trust: 1.7

url:https://support.apple.com/en-us/ht206903

Trust: 1.4

url:http://www.securityfocus.com/bid/91824

Trust: 1.1

url:http://zerodayinitiative.com/advisories/zdi-16-435/

Trust: 1.1

url:http://www.securitytracker.com/id/1036348

Trust: 1.1

url:http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2016-4640

Trust: 0.8

url:http://jvn.jp/vu/jvnvu94844193/index.html

Trust: 0.8

url:http://web.nvd.nist.gov/view/vuln/detail?vulnid=cve-2016-4640

Trust: 0.8

url:http://zerodayinitiative.com/advisories/zdi-16-433/

Trust: 0.6

url:https://www.apple.com/

Trust: 0.3

url:http://www.apple.com/macosx/

Trust: 0.3

url:http://www.zerodayinitiative.com/advisories/zdi-16-431/

Trust: 0.3

url:http://www.zerodayinitiative.com/advisories/zdi-16-435/

Trust: 0.3

url:http://www.zerodayinitiative.com/advisories/zdi-16-437/

Trust: 0.3

url:apple os x acmp4aacbasedecoder out-of-bounds read information disclosure vulnerability

Trust: 0.3

url:http://www.zerodayinitiative.com/advisories/zdi-16-496/

Trust: 0.3

sources: ZDI: ZDI-16-638 // ZDI: ZDI-16-435 // VULHUB: VHN-93459 // BID: 91824 // JVNDB: JVNDB-2016-004016 // CNNVD: CNNVD-201607-892 // NVD: CVE-2016-4640

CREDITS

aca055c25829115b84ad07e72a4eff16

Trust: 0.7

sources: ZDI: ZDI-16-638

SOURCES

db:ZDIid:ZDI-16-638
db:ZDIid:ZDI-16-435
db:VULHUBid:VHN-93459
db:BIDid:91824
db:JVNDBid:JVNDB-2016-004016
db:CNNVDid:CNNVD-201607-892
db:NVDid:CVE-2016-4640

LAST UPDATE DATE

2025-04-13T20:51:08.659000+00:00


SOURCES UPDATE DATE

db:ZDIid:ZDI-16-638date:2016-12-15T00:00:00
db:ZDIid:ZDI-16-435date:2016-07-20T00:00:00
db:VULHUBid:VHN-93459date:2017-09-01T00:00:00
db:BIDid:91824date:2016-08-29T19:00:00
db:JVNDBid:JVNDB-2016-004016date:2016-07-28T00:00:00
db:CNNVDid:CNNVD-201607-892date:2016-07-26T00:00:00
db:NVDid:CVE-2016-4640date:2025-04-12T10:46:40.837

SOURCES RELEASE DATE

db:ZDIid:ZDI-16-638date:2016-12-15T00:00:00
db:ZDIid:ZDI-16-435date:2016-07-20T00:00:00
db:VULHUBid:VHN-93459date:2016-07-22T00:00:00
db:BIDid:91824date:2016-07-18T00:00:00
db:JVNDBid:JVNDB-2016-004016date:2016-07-28T00:00:00
db:CNNVDid:CNNVD-201607-892date:2016-07-26T00:00:00
db:NVDid:CVE-2016-4640date:2016-07-22T03:00:00.870