{"vuid":"VU#906424","idnumber":"906424","name":"Microsoft Windows task scheduler contains a local privilege escalation vulnerability in the ALPC interface","keywords":[""],"overview":"Microsoft Windows task scheduler contains a local privilege escalation vulnerability in the Advanced Local Procedure Call (ALPC) interface, which can allow a local user to obtain SYSTEM privileges.","clean_desc":"The Microsoft Windows task scheduler SchRpcSetSecurity API contains a vulnerability in the handling of ALPC,which can allow an authenticated user to overwrite the contents of a file that should be protected by filesystem ACLs. This can be leveraged to gain SYSTEM privileges. We have confirmed that the public exploit code works on 64-bit Windows 10 and Windows Server 2016 systems. We have also confirmed compatibility with 32-bit Windows 10 with minor modifications to the public exploit code. Compatibility with other Windows versions is possible with further modifications. This vulnerability is being exploited in the wild.","impact":"An authenticated local user may be able to gain elevated (SYSTEM) privileges.","resolution":"Apply an update This issue is addressed in the Microsoft update for CVE-2018-8440.","workarounds":"Deploy Microsoft Sysmon Detection Rules Kevin Beaumont has provided guidance for creating rules to detect exploitation of this vulnerability. Set ACLs on the C:\\Windows\\Tasks directory Karsten Nilsen has provided a mitigation for this vulnerability. Caution: This mitigation has not been approved by Microsoft. However, in our testing it does block exploits for this vulnerability. It also appears to let scheduled tasks to continue to run, and users can continue to create new scheduled tasks as necessary. However, this change will reportedly break things created by the legacy task scheduler interface. This can include things like SCCM and the associated SCEP updates. Please ensure that you have tested this mitigation to ensure that it does not cause unacceptable consequences in your environment. To apply this mitigation,  run the following commands in an elevated-privilege prompt,: icacls c:\\windows\\tasks /remove:g \"Authenticated Users\"\nicacls c:\\windows\\tasks /deny system:(OI)(CI)(WD,WDAC) Note that when a fix is made available for this vulnerability, these changes should be undone. This can be done by executing the following commands: icacls c:\\windows\\tasks /remove:d system\nicacls c:\\windows\\tasks /grant:r \"Authenticated Users\":(RX,WD)","sysaffected":"","thanks":"This issue was publicly disclosed by SandboxEscaper.","author":"This document was written by Will Dormann.","public":["https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8440","https://github.com/SandboxEscaper/randomrepo/blob/master/PoC-LPE.rar","https://doublepulsar.com/task-scheduler-alpc-exploit-high-level-analysis-ff08cda6ad4f","https://msdn.microsoft.com/en-us/library/cc248452.aspx","https://twitter.com/karsten_nilsen/status/1034406706879578112","https://www.welivesecurity.com/2018/09/05/powerpool-malware-exploits-zero-day-vulnerability/"],"cveids":["CVE-2018-8440"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2018-08-27T21:46:35Z","publicdate":"2018-08-27T00:00:00Z","datefirstpublished":"2018-08-28T02:17:28Z","dateupdated":"2018-09-13T13:05:47Z","revision":68,"vrda_d1_directreport":"0","vrda_d1_population":"4","vrda_d1_impact":"2","cam_widelyknown":"0","cam_exploitation":"0","cam_internetinfrastructure":"0","cam_population":"0","cam_impact":"0","cam_easeofexploitation":"0","cam_attackeraccessrequired":"0","cam_scorecurrent":"0","cam_scorecurrentwidelyknown":"0","cam_scorecurrentwidelyknownexploited":"0","ipprotocol":"","cvss_accessvector":"L","cvss_accesscomplexity":"L","cvss_authentication":null,"cvss_confidentialityimpact":"C","cvss_integrityimpact":"C","cvss_availabilityimpact":"C","cvss_exploitablity":null,"cvss_remediationlevel":"U","cvss_reportconfidence":"C","cvss_collateraldamagepotential":"ND","cvss_targetdistribution":"H","cvss_securityrequirementscr":"ND","cvss_securityrequirementsir":"ND","cvss_securityrequirementsar":"ND","cvss_basescore":"6.8","cvss_basevector":"AV:L/AC:L/Au:S/C:C/I:C/A:C","cvss_temporalscore":"6.5","cvss_environmentalscore":"6.4310679552","cvss_environmentalvector":"CDP:ND/TD:H/CR:ND/IR:ND/AR:ND","metric":0.0,"vulnote":null}