{"exploit":{"id":"EDB-46683","name":"Microsoft Windows - AppX Deployment Service Privilege Escalation","description":"Microsoft Windows - AppX Deployment Service Privilege Escalation","cves":["CVE-2019-0841"],"author":"Nabeel Ahmed","published":"2019-04-09","platform":"windows","type":"local","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/46683","path":"exploits/windows/local/46683.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-46683.txt","vulnerabilities":[{"id":"CVE-2019-0841","state":"PUBLISHED","title":null,"titleSource":null,"description":"An elevation of privilege vulnerability exists when Windows AppX Deployment Service (AppXSVC) improperly handles hard links, aka 'Windows Elevation of Privilege Vulnerability'. This CVE ID is unique from CVE-2019-0730, CVE-2019-0731, CVE-2019-0796, CVE-2019-0805, CVE-2019-0836.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2019-0841","cvss":{"version":"3.1","baseScore":7.8,"severity":"high","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2019-0841"},"updatedAt":"2025-10-21T23:45:39.637Z","retrievedAt":"2026-11-27T08:50:32.365Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-46683.png?v=2","url":"https://exploitbin.com/exploits/EDB-46683","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-46683/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-46683/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"This vulnerability allows low privileged users to hijack file that are owned by NT AUTHORITY\\SYSTEM by overwriting permissions on the targeted file. Successful exploitation results in \"Full Control\" permissions for the low privileged user.\n\n1. The exploit first checks if the targeted file exists, if it does it will check its permissions. Since we are using Microsoft Edge for this exploit it will kill Microsoft Edge in order to get access to the settings.dat file.\n2. After Microsoft Edge is killed it will check for the \"setting.dat\" file and delete it in order to create a hardlink to the requested targeted file (in our case that was the HOSTS file)\n3. Once a hardlink is created Microsoft Edge is fired up again to trigger the vulnerability. Concluding with a final check if indeed \"Full Control\" permissions have been set for the current user.\n\n\nProof of Concept:\nhttps://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/46683.zip","sha256":"5f248b1187a944680de316c58f4f94c7f6ba057095ae202813daf023e0621630","bytes":962,"fetchedAt":"2026-11-27T10:09:47.646Z","encoding":"utf-8 (display only; download retains original bytes)"}