{"id":1867,"date":"2025-02-10T10:03:34","date_gmt":"2025-02-10T10:03:34","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/02\/10\/poc-exploit-released-for-anydesk-vulnerability-exploited-to-gain-admin-access-via-wallpapers\/"},"modified":"2025-02-10T10:03:34","modified_gmt":"2025-02-10T10:03:34","slug":"poc-exploit-released-for-anydesk-vulnerability-exploited-to-gain-admin-access-via-wallpapers","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/02\/10\/poc-exploit-released-for-anydesk-vulnerability-exploited-to-gain-admin-access-via-wallpapers\/","title":{"rendered":"PoC Exploit Released for AnyDesk Vulnerability Exploited to Gain Admin Access Via Wallpapers"},"content":{"rendered":"<p>    PoC Exploit Released for AnyDesk Vulnerability Exploited to Gain Admin Access Via Wallpapers<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>A recently disclosed vulnerability in AnyDesk, a popular remote desktop software, identified as CVE-2024-12754, enables local attackers to exploit the handling of <a href=\"https:\/\/cybersecuritynews.com\/weaponizing-windows-background-images-to-gain-admin-access\/\" target=\"_blank\" rel=\"noreferrer noopener\">Windows background images<\/a> to gain unauthorized access to sensitive system files.\u00a0<\/p>\n<p>This could potentially escalate their privileges to administrative levels, posing a significant threat to system security.<\/p>\n<p>The vulnerability has been categorized under CWE-59 (Improper Link Resolution Before File Access) and assigned a CVSS score of 5.5 (Medium), indicating its potential to cause confidentiality breaches.<\/p>\n<p>A proof-of-concept exploit has been disclosed, showing how attackers can take advantage of this vulnerability.\u00a0<\/p>\n<h2 class=\"wp-block-heading\"><strong>AnyDesk Local Privilege Escalation Vulnerability<\/strong><\/h2>\n<p>According to cybersecurity researcher Naor Hodorov, the flaw lies in how <a href=\"https:\/\/cybersecuritynews.com\/beware-of-fake-anydesk-requests\/\" target=\"_blank\" rel=\"noreferrer noopener\">AnyDesk<\/a> processes desktop background images during session initialization.\u00a0<\/p>\n<p>When a session starts, AnyDesk copies the current desktop wallpaper into the C:WindowsTemp directory.\u00a0<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdhT9_VCgcdGEkPrjWpXV0yxcIri2ON5N7vVLT6ewoPnjoC4a3O2SZ4vMnC3EZVZeoldMlP6ZOnPNCVymv2goFMsrC3Sy-OqpWl54A-BdLaJeYVWjunYDZg57bZJGnra6lw02HW?key=SoSw0QJ24MN_W_SkH0nhsv2G\" alt=\"\"><figcaption class=\"wp-element-caption\">AnyDesk copy the existing background image into C:WindowsTemp\u00a0<\/figcaption><\/figure>\n<\/div>\n<p>This operation is executed by the AnyDesk service running under the NT AUTHORITYSYSTEM account, which has elevated privileges.<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfmADd94ho-0KLBV90XvF-M9brbHjBMpoe3lCXJHR7kRWNHjhaqmFYrVR5McPRdr41FiPQdH1nXT9v9yiiPPiJbsGgfA_Spp9BlLn958DwGVVTLqLPyLnFQZ7uOYdk95irWixEhow?key=SoSw0QJ24MN_W_SkH0nhsv2G\" alt=\"\"><figcaption class=\"wp-element-caption\">File Copy performed by AnyDesk as NT AUTHORITYSYSTEM<\/figcaption><\/figure>\n<p>Attackers with low privileges can manipulate this process by pre-creating files in the C:WindowsTemp directory or leveraging <a href=\"https:\/\/cybersecuritynews.com\/destroying-edr-windows-symbolic-links\/\" target=\"_blank\" rel=\"noreferrer noopener\">symbolic links<\/a> (junctions). Here\u2019s how the attack works:<\/p>\n<p>When AnyDesk copies the desktop wallpaper, it retains the ownership and permissions of the SYSTEM account. This makes the copied file inaccessible to low-privileged users by default.<\/p>\n<p>Attackers create a junction (a type of symbolic link) that redirects AnyDesk\u2019s file copy operation to sensitive directories like DeviceHarddiskVolumeShadowCopy1WindowsSystem32CONFIG.\u00a0<\/p>\n<p>This allows attackers to gain access to critical files such as SAM (Security Account Manager), SYSTEM, and SECURITY.<\/p>\n<p>By obtaining these files, attackers can extract hashed credentials or machine keys using tools like mimikatz. This enables them to escalate privileges and potentially gain administrative access.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Proof-of-Concept (PoC) Exploit<\/strong><\/h2>\n<p>A PoC exploit has been <a href=\"https:\/\/github.com\/CICADA8-Research\/Penetration\/tree\/main\/POCs\/CVE-2024-12754?s=09\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">released<\/a>, demonstrating how attackers can leverage this vulnerability.\u00a0<\/p>\n<p>The exploit involves manipulating file operations using reparse points in Windows Object Manager Namespace (OMNS) directories such as RPC Control.\u00a0<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcmhNK9XkVAlNebtwxXRf1DiettQqD47nL1SxVkMVDokjto0-2D5X1wBaFsp9E7rBYgBXIYMtX6_fXW4aYt3iPyZWr8VNGS8OVWgxbzOh8b9Tiqx1rZBM-m2vaerqQVbYkO4Rj6?key=SoSw0QJ24MN_W_SkH0nhsv2G\" alt=\"\"><figcaption class=\"wp-element-caption\">PoC Exploit<\/figcaption><\/figure>\n<p>This shows successful exploitation where sensitive files are accessed and restored after triggering an oplock (opportunistic lock).<\/p>\n<h2 class=\"wp-block-heading\"><strong>Recommendation<\/strong><\/h2>\n<p>To address this vulnerability, AnyDesk has released a <a href=\"https:\/\/anydesk.com\/en\/downloads\/windows\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">patch in version 9.0.1<\/a> and later. Users are strongly advised to update their software immediately.\u00a0<\/p>\n<p>The discovery of CVE-2024-12754 highlights the evolving sophistication of local privilege escalation techniques that exploit seemingly innocuous features like desktop background images.\u00a0<\/p>\n<p>While AnyDesk has acted swiftly by issuing patches, this incident underscores the importance of proactive security measures and vigilance against emerging threats.<\/p>\n<p>Organizations must remain alert and adopt <a href=\"https:\/\/cybersecuritynews.com\/best-practices-for-establishing-robust-security-measures-in-your-database-systems\/\" target=\"_blank\" rel=\"noreferrer noopener\">robust security<\/a> practices to mitigate similar vulnerabilities in the future.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 93%,rgb(169,184,195) 100%)\"><strong><code>Are you from SOC\/DFIR Team? - Join 500,000+ Researchers to Analyze Cyber Threats with ANY.RUN Sandbox - <a href=\"https:\/\/any.run\/demo\/?utm_source=li_csn&amp;utm_medium=post&amp;utm_campaign=meme&amp;utm_content=demo&amp;utm_term=100225\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Try for Free<\/a><\/code><\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/poc-exploit-released-for-anydesk-vulnerability-exploited\/\">PoC Exploit Released for AnyDesk Vulnerability Exploited to Gain Admin Access Via Wallpapers<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Guru Baran<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/poc-exploit-released-for-anydesk-vulnerability-exploited\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PoC Exploit Released for AnyDesk Vulnerability Exploited to Gain Admin Access Via Wallpapers A recently disclosed vulnerability in AnyDesk, a popular remote desktop software, identified as CVE-2024-12754, enables local attackers to exploit the handling of Windows background images to gain unauthorized access to sensitive system files.\u00a0 This could potentially escalate their privileges to administrative levels, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,131],"tags":[130],"class_list":["post-1867","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerability","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/1867"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=1867"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/1867\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=1867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=1867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=1867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}