{"id":44756,"date":"2022-01-10T17:00:00","date_gmt":"2022-01-10T17:00:00","guid":{"rendered":"https:\/\/www.microsoft.com\/security\/blog\/?p=104385"},"modified":"2022-01-10T17:00:00","modified_gmt":"2022-01-10T17:00:00","slug":"new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access","status":"publish","type":"post","link":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/","title":{"rendered":"New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access"},"content":{"rendered":"<p>Following our discovery of the <a href=\"https:\/\/www.microsoft.com\/security\/blog\/2021\/10\/28\/microsoft-finds-new-macos-vulnerability-shrootless-that-could-bypass-system-integrity-protection\/\">\u201cShrootless\u201d vulnerability<\/a>, Microsoft uncovered a new macOS vulnerability, \u201cpowerdir,\u201d that could allow an attacker to bypass the operating system\u2019s Transparency, Consent, and Control (TCC) technology, thereby gaining unauthorized access to a user\u2019s protected data. We shared our findings with Apple through <a href=\"https:\/\/www.microsoft.com\/msrc\/cvd\">Coordinated Vulnerability Disclosure<\/a> (CVD) via <a href=\"https:\/\/www.microsoft.com\/msrc\/msvr\">Microsoft Security Vulnerability Research<\/a> (MSVR). Apple released a fix for this vulnerability, now identified as <a href=\"https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2021-30970\">CVE-2021-30970<\/a>, as part of <a href=\"https:\/\/support.apple.com\/en-us\/HT212978\">security updates<\/a> released on December 13, 2021. We encourage macOS users to apply these security updates as soon as possible.<\/p>\n<p>Introduced by Apple in 2012 on macOS Mountain Lion, TCC is essentially designed to help users configure the privacy settings of their apps, such as access to the device\u2019s camera, microphone, or location, as well as access to the user\u2019s calendar or iCloud account, among others. To protect TCC, Apple introduced a feature that prevents unauthorized code execution and enforced a policy that restricts access to TCC to only apps with full disk access. We discovered that it is possible to programmatically change a target user\u2019s home directory and plant a fake TCC database, which stores the consent history of app requests. If exploited on unpatched systems, this vulnerability could allow a malicious actor to potentially orchestrate an attack based on the user\u2019s protected personal data. For example, the attacker could hijack an app installed on the device\u2014or install their own malicious app\u2014and access the microphone to record private conversations or capture screenshots of sensitive information displayed on the user\u2019s screen.<\/p>\n<p>It should be noted that other TCC vulnerabilities were previously reported and subsequently patched before our discovery. It was also through our examination of one of the latest fixes that we came across this bug. In fact, during this research, we had to update our proof-of-concept (POC) exploit because the initial version no longer worked on the latest macOS version, Monterey. This shows that even as macOS or other operating systems and applications become more hardened with each release, software vendors like Apple, security researchers, and the larger security community, need to continuously work together to identify and fix vulnerabilities before attackers can take advantage of them.<\/p>\n<p>Microsoft security researchers continue to monitor the threat landscape to discover new vulnerabilities and attacker techniques that could affect macOS and other non-Windows devices. The discoveries and insights from our research enrich our protection technologies and solutions, such as <a href=\"https:\/\/www.microsoft.com\/security\/business\/threat-protection\/endpoint-defender\">Microsoft Defender for Endpoint<\/a>, which allows organizations to gain visibility to their networks that are increasingly becoming heterogeneous. For example, this research informed the generic detection of behavior associated with this vulnerability, enabling Defender for Endpoint to immediately provide visibility and protection against exploits even before the patch is applied. Such visibility also enables organizations to detect, manage, respond to, and remediate vulnerabilities and cross-platform threats faster.<\/p>\n<p>In this blog post, we will share some information about TCC, discuss previously reported vulnerabilities, and present our own unique findings.<\/p>\n<h2>TCC overview<\/h2>\n<p>As mentioned earlier, TCC is a technology that prevents apps from accessing users\u2019 personal information without their prior consent and knowledge. The user commonly manages it under System Preferences in macOS (System Preferences &gt; Security &amp; Privacy &gt; Privacy):<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"893\" src=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig1-macOS-TCC-Security-and-Privacy-Pane-1024x893.png\" alt=\"Screenshot of the Security &amp; Privacy pane on macOS\" class=\"wp-image-104394\" srcset=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig1-macOS-TCC-Security-and-Privacy-Pane-1024x893.png 1024w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig1-macOS-TCC-Security-and-Privacy-Pane-300x262.png 300w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig1-macOS-TCC-Security-and-Privacy-Pane-768x670.png 768w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig1-macOS-TCC-Security-and-Privacy-Pane.png 1181w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><figcaption> Figure 1. The macOS Security &amp; Privacy pane that serves as the front end of TCC. <\/figcaption><\/figure>\n<p>TCC maintains databases that contain consent history for app requests. Generally, when an app requests access to protected user data, one of two things can happen:<\/p>\n<ol type=\"1\">\n<li>If the app and the type of request have a record in the TCC databases, then a flag in the database entry dictates whether to allow or deny the request without automatically and without any user interaction.<\/li>\n<li>If the app and the type of request do not have a record in the TCC databases, then a prompt is presented to the user, who decides whether to grant or deny access. The said decision is backed into the databases so that succeeding similar requests will now fall under the first scenario.<\/li>\n<\/ol>\n<p>Under the hood, there are two kinds of TCC databases. Each kind maintains only a subset of the request types:<\/p>\n<ul>\n<li><strong>User-specific database:<\/strong> contains stored permission types that only apply to the specific user profile; it is saved under <strong><em>~<\/em><\/strong><em>\/Library\/Application Support\/com.apple.TCC\/TCC.db <\/em>and can be accessed by the user who owns the said profile<\/li>\n<li><strong>System-wide database:<\/strong> contains stored permission types that apply on a system level; it is saved under <em>\/Library\/Application Support\/com.apple.TCC\/TCC.db <\/em>and can be accessed by users with root or full disk access<\/li>\n<\/ul>\n<p>macOS implements the TCC logic by using a special daemon called <em>tccd<\/em>. Indeed, there are at least two instances of tccd: one run by the user and the other by root.<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"56\" src=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig2-macOS-TCC-two-TCCD-instances-1024x56.png\" alt=\"Screenshot of two tccd instances\" class=\"wp-image-104400\" srcset=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig2-macOS-TCC-two-TCCD-instances-1024x56.png 1024w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig2-macOS-TCC-two-TCCD-instances-300x16.png 300w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig2-macOS-TCC-two-TCCD-instances-768x42.png 768w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig2-macOS-TCC-two-TCCD-instances-1420x78.png 1420w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig2-macOS-TCC-two-TCCD-instances.png 1430w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><figcaption> Figure 2. Two tccd instances: per-user and system-wide. <\/figcaption><\/figure>\n<p>Each type of request starts with a <em>kTCCService<\/em> prefix. While not an exhaustive list, below are some examples:<\/p>\n<figure class=\"wp-block-table is-style-stripes\">\n<table>\n<thead>\n<tr>\n<th>Request type<\/th>\n<th>Description<\/th>\n<th>Handled by<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>kTCCServiceLiverpool<\/strong><\/td>\n<td>Location services access<\/td>\n<td>User-specific TCC database<\/td>\n<\/tr>\n<tr>\n<td><strong>kTCCServiceUbiquity<\/strong><\/td>\n<td>iCloud access<\/td>\n<td>User-specific TCC database<\/td>\n<\/tr>\n<tr>\n<td><strong>kTCCServiceSystemPolicyDesktopFolder<\/strong><\/td>\n<td>Desktop folder access<\/td>\n<td>User-specific TCC database<\/td>\n<\/tr>\n<tr>\n<td><strong>kTCCServiceCalendar<\/strong><\/td>\n<td>Calendar access<\/td>\n<td>User-specific TCC database<\/td>\n<\/tr>\n<tr>\n<td><strong>kTCCServiceReminders<\/strong><\/td>\n<td>Access to reminders<\/td>\n<td>User-specific TCC database<\/td>\n<\/tr>\n<tr>\n<td><strong>kTCCServiceMicrophone<\/strong><\/td>\n<td>Microphone access<\/td>\n<td>User-specific TCC database<\/td>\n<\/tr>\n<tr>\n<td><strong>kTCCServiceCamera<\/strong><\/td>\n<td>Camera access<\/td>\n<td>User-specific TCC database<\/td>\n<\/tr>\n<tr>\n<td><strong>kTCCServiceSystemPolicyAllFiles<\/strong><\/td>\n<td>Full disk access capabilities<\/td>\n<td>System-wide TCC database<\/td>\n<\/tr>\n<tr>\n<td><strong>kTCCServiceScreenCapture<\/strong><\/td>\n<td>Screen capture capabilities<\/td>\n<td>System-wide TCC database<\/td>\n<\/tr>\n<\/tbody>\n<\/table><figcaption> <em>Table 1. Types of TCC requests.<\/em> <\/figcaption><\/figure>\n<p>It should also be noted that the <em>TCC.db<\/em> file is a SQLITE database, so if a full disk access is granted to a user, they can view the database and even edit it:<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"492\" src=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig3-macOS-TCC-dumping0-the-TCC-table-1024x492.png\" alt=\"Screenshot of TCC.db access table dump\" class=\"wp-image-104403\" srcset=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig3-macOS-TCC-dumping0-the-TCC-table-1024x492.png 1024w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig3-macOS-TCC-dumping0-the-TCC-table-300x144.png 300w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig3-macOS-TCC-dumping0-the-TCC-table-768x369.png 768w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig3-macOS-TCC-dumping0-the-TCC-table.png 1430w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><figcaption> Figure 3. Dumping the TCC.db access table, given a full disk access. <\/figcaption><\/figure>\n<p>The database columns are self-explanatory, save for the <em>csreq<\/em> column. The <em>csreq<\/em> values contain a hexadecimal blob that encodes the code signing requirements for the app. These values can be calculated easily with the <em>codesign<\/em> and <a href=\"https:\/\/developer.apple.com\/library\/archive\/documentation\/Security\/Conceptual\/CodeSigningGuide\/RequirementLang\/RequirementLang.html\">csreq<\/a> utilities, as seen in Figure 4 below:<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"137\" src=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig4-macOS-TCC-Building-the-csreq-blob-1024x137.png\" alt=\"Screenshot of building the csreq blob\" class=\"wp-image-104409\" srcset=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig4-macOS-TCC-Building-the-csreq-blob-1024x137.png 1024w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig4-macOS-TCC-Building-the-csreq-blob-300x40.png 300w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig4-macOS-TCC-Building-the-csreq-blob-768x103.png 768w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig4-macOS-TCC-Building-the-csreq-blob-1420x191.png 1420w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig4-macOS-TCC-Building-the-csreq-blob.png 1430w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><figcaption> Figure 4. Building the csreq blob manually for an arbitrary app. <\/figcaption><\/figure>\n<p>Given these, should a malicious actor gain full disk access to the TCC databases, they could edit it to grant arbitrary permissions to any app they choose, including their own malicious app. The affected user would also not be prompted to allow or deny the said permissions, thus allowing the app to run with configurations they may not have known or consented to.<\/p>\n<h2>Securing (and bypassing) TCC: Techniques and previously reported vulnerabilities<\/h2>\n<p>Previously, apps could access the TCC databases directly to view and even modify their contents. Given the risk of bypass mentioned earlier, Apple made two changes. First, Apple protected the system-wide <em>TCC.db<\/em> via <a href=\"https:\/\/developer.apple.com\/documentation\/security\/disabling_and_enabling_system_integrity_protection\">System Integrity Protection<\/a> (SIP), a macOS feature that prevents unauthorized code execution. Secondly, Apple enforced a TCC policy that only apps with full disk access can access the <em>TCC.db<\/em> files. Note, though, that this policy was also subsequently abused as some apps required such access to function properly (for example, the SSH daemon, <a href=\"https:\/\/man7.org\/linux\/man-pages\/man8\/sshd.8.html\">sshd<\/a>).<\/p>\n<p>Interestingly, attackers can still find out whether a user\u2019s Terminal has full disk access by simply trying to list the files under <em>\/Library\/Application Support\/com.apple.TCC<\/em>. A successful attempt means that the Terminal has full disk access capabilities, and an attacker can, therefore, freely modify the user\u2019s <em>TCC.db<\/em>.<\/p>\n<p>In addition, there have been several previously reported vulnerabilities related to TCC bypass. These include the following:<\/p>\n<ul>\n<li><strong>Time Machine mounts<\/strong> (<a href=\"https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2020-9771\">CVE-2020-9771<\/a>): macOS offers a built-in backup and restore solution called <a href=\"https:\/\/support.apple.com\/en-us\/HT201250\">Time Machine<\/a>. It was discovered that Time Machine backups could be mounted (using the <em>apfs_mount<\/em> utility) with the \u201c<em>noowners<\/em>\u201d flag. Since these backups contain the <em>TCC.db<\/em> files, an attacker could mount those backups and determine the device\u2019s TCC policy without having full disk access.<\/li>\n<li><strong>Environment variable poisoning<\/strong> (<a href=\"https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2020-9934\">CVE-2020-9934<\/a>): It was discovered that the user\u2019s <em>tccd<\/em> could build the path to the <em>TCC.db<\/em> file by expanding <em>$HOME\/Library\/Application Support\/com.apple.TCC\/TCC.db<\/em>. Since the user could manipulate the <em>$HOME<\/em> environment variable (as introduced to <em>tccd<\/em> by <em>launchd<\/em>), an attacker could plant a chosen <em>TCC.db<\/em> file in an arbitrary path, poison the <em>$HOME<\/em> environment variable, and make <em>TCC.db<\/em> consume that file instead.<\/li>\n<li><strong>Bundle conclusion issue<\/strong> (<a href=\"https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2021-30713\">CVE-2021-30713<\/a>): <a href=\"https:\/\/www.jamf.com\/blog\/zero-day-tcc-bypass-discovered-in-xcsset-malware\/\">First disclosed by Jamf<\/a> in a blog post about the XCSSET malware family, this bug abused how macOS was deducing app bundle information. For example, suppose an attacker knows of a specific app that commonly has microphone access. In that case, they could plant their application code in the target app\u2019s bundle and \u201cinherit\u201d its TCC capabilities.<\/li>\n<\/ul>\n<p>Apple has since patched these vulnerabilities. However, based on our research, the potential bypass to <em>TCC.db<\/em> can still occur. The following section discusses the vulnerability we discovered and some details about the POC exploits we developed to prove the said vulnerability.<\/p>\n<h2>Modifying the home directory: The \u2018powerdir\u2019 vulnerability<\/h2>\n<p>In assessing the previous TCC vulnerabilities, we evaluated how Apple fixed each issue. One fix that caught our attention was for CVE-2020-9934 (the <em>$HOME<\/em> environment variable poisoning vulnerability). The fix can be seen in the <em>_db_open<\/em> function in <em>tccd<\/em>:<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"828\" height=\"327\" src=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig5-macOS-TCC-tccd-fix.png\" alt=\"Screenshot of the tccd fix for CVE-2020-9934\" class=\"wp-image-104415\" srcset=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig5-macOS-TCC-tccd-fix.png 828w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig5-macOS-TCC-tccd-fix-300x118.png 300w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig5-macOS-TCC-tccd-fix-768x303.png 768w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\"><figcaption> Figure 5. The tccd fix for CVE-2020-9934. <\/figcaption><\/figure>\n<p>We noted that instead of expanding the <em>$HOME<\/em> environment variable, Apple decided to invoke <a href=\"https:\/\/developer.apple.com\/library\/archive\/documentation\/System\/Conceptual\/ManPages_iPhoneOS\/man3\/getpwuid.3.html\">getpwuid()<\/a> on the current user (retrieved with <a href=\"https:\/\/developer.apple.com\/library\/archive\/documentation\/System\/Conceptual\/ManPages_iPhoneOS\/man2\/getuid.2.html\">getuid()<\/a>). First, the <em>getpwuid<\/em> function retrieves a structure in memory (<em>struct password*<\/em>) that contains information about the given user. Then, <em>tccd<\/em> extracts the <em>pwdir<\/em> member from it. This <em>pwdir<\/em> member includes the user\u2019s home directory, and its value persists even after the <em>$HOME<\/em> environment variable is modified.<\/p>\n<p>While the solution indeed prevents an attack by environment variable poisoning, it does not protect against the core issue. Thus, we set out to investigate: can an app programmatically change the user\u2019s home directory and plant a fake <em>TCC.db<\/em> file?<\/p>\n<h3>The first POC exploit<\/h3>\n<p>Our first attempt to answer the above question was simple: plant a fake <em>TCC.db<\/em> file and change the home directory using the Directory Services command-line utility (<a href=\"https:\/\/www.unix.com\/man-page\/osx\/1\/dscl\/\">dscl<\/a>):<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"800\" height=\"45\" src=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Exploitb.png\" alt class=\"wp-image-104505\" srcset=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Exploitb.png 800w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Exploitb-300x17.png 300w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Exploitb-768x43.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\"><\/figure>\n<p>While requiring root access, we discovered that this works only if the app is granted with the TCC policy <em>kTCCServiceSystemPolicySysAdminFiles<\/em>, which the local or user-specific <em>TCC.db <\/em>maintains. That is weaker than having full disk access, but we managed to bypass that restriction with the <a href=\"https:\/\/www.unix.com\/man-page\/osx\/1\/dsexport\/\">dsexport<\/a> and <a href=\"https:\/\/www.unix.com\/man-page\/osx\/1\/dsimport\/\">dsimport<\/a> utilities.<\/p>\n<p>Next, simply by exporting the Directory Services entry of a user, manipulating the output file, and importing the file again, we managed to bypass the <em>dscl<\/em> TCC policy restriction.<\/p>\n<p>Our first POC exploit, therefore, does the following:<\/p>\n<ol type=\"1\">\n<li>Get a <em>csreq<\/em> blob for the target app.<\/li>\n<li>Plant a fake <em>TCC.db<\/em> file with required access and the <em>csreq<\/em> blob.<\/li>\n<li>Export the user\u2019s Directory Services entry with <em>dsexport<\/em>.<\/li>\n<li>Modify the Directory Services entry to change the user\u2019s home directory.<\/li>\n<li>Import the modified Directory Services entry with <em>dsimport<\/em>.<\/li>\n<li>Stop the user\u2019s <em>tccd<\/em> and reboot the process.<\/li>\n<\/ol>\n<p>Using this exploit, an attacker could change settings on any application. In the screenshot below, we show how the exploit could allow attackers to enable microphone and camera access on any app, for example, Teams.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"936\" height=\"523\" src=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig6-macOS-TCC-POC.png\" alt=\"Screenshot of the working exploit\" class=\"wp-image-104418\" srcset=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig6-macOS-TCC-POC.png 936w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig6-macOS-TCC-POC-300x168.png 300w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig6-macOS-TCC-POC-768x429.png 768w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig6-macOS-TCC-POC-687x385.png 687w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\"><figcaption> Figure 6. Our first working POC exploit working without a popup notification from TCC. <\/figcaption><\/figure>\n<p>We reported our initial findings to the Apple product security team on July 15, 2021, before becoming aware of a <a href=\"https:\/\/wojciechregula.blog\/post\/change-home-directory-and-bypass-tcc-aka-cve-2020-27937\/\">similar bypass<\/a> presented by Wojciech Regu\u0142a and Csaba Fitzl at BlackHat USA 2021 in August. However, our exploit still worked even after Apple fixed the said similar finding (now assigned as <a href=\"https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2020-27937\">CVE-2020-27937<\/a>). Therefore, we still considered our research to be a new vulnerability.<\/p>\n<h3>Monterey release and the second POC exploit<\/h3>\n<p>We shared our findings to Apple through <a href=\"https:\/\/www.microsoft.com\/msrc\/cvd\">Coordinated Vulnerability Disclosure<\/a> (CVD) via <a href=\"https:\/\/www.microsoft.com\/msrc\/msvr\">Microsoft Security Vulnerability Research<\/a> (MSVR) before the release of macOS Monterey in October. However, upon the release of the said version, we noticed that our initial POC exploit no longer worked because of the changes made in how the <em>dsimport<\/em> tool works. Thus, we looked for another way of changing the home directory silently.<\/p>\n<p>While examining macOS Monterey, we came across <em>\/usr\/libexec\/configd<\/em>, an Apple binary shipped with the said latest macOS release that is a System Configuration daemon responsible for many configuration aspects of the local system. There are three aspects of <em>configd<\/em> that we took note and made use of:<\/p>\n<ol type=\"1\">\n<li>It is an Apple-signed binary entitled with \u201c<em>com.apple.private.tcc.allow<\/em>\u201d with the value <em>kTCCServiceSystemPolicySysAdminFiles<\/em>. This means it can change the home directory silently.<\/li>\n<li>It has extensibility in configuration agents, which are macOS Bundles under the hood. This hints that it might load a custom Bundle, meaning we could inject code for our purposes.<\/li>\n<li>It does not have the hardened runtime flag to load custom configuration agents. While this aspect is most likely by design, it also means we could load completely unsigned code into it.<\/li>\n<\/ol>\n<p>By running <em>configd <\/em>with the <em>-t<\/em> option, an attacker could specify a custom Bundle to load. Therefore, our new POC exploit replaces the <em>dsexport<\/em> and <em>dsimport<\/em> method of changing the user\u2019s home directory with a <em>configd<\/em> code injection. This results in the same outcome as our first POC exploit, which allows the modification of settings to grant, for example, any app like Teams, to access the camera, among other services.<\/p>\n<p>As before, we shared our latest findings with Apple. Again, we want to thank their product security team for their cooperation.<\/p>\n<h2>Detecting the powerdir vulnerability with Microsoft Defender for Endpoint<\/h2>\n<p>Our research on the powerdir vulnerability is yet another example of the tight race between software vendors and malicious actors: that despite the continued efforts of the former to secure their applications through regular updates, other vulnerabilities will inevitably be uncovered, which the latter could exploit for their own gain. And as system vulnerabilities are possible entry points for attackers to infiltrate an organization\u2019s network, comprehensive protection is needed to allow security teams to manage vulnerabilities and threats across all platforms.<\/p>\n<p><a href=\"https:\/\/www.microsoft.com\/security\/business\/threat-protection\/endpoint-defender\">Microsoft Defender for Endpoint<\/a> is an industry-leading, cloud-powered endpoint security solution that lets organizations manage their heterogeneous computing environments through a unified security console. Its <a href=\"https:\/\/docs.microsoft.com\/microsoft-365\/security\/defender-endpoint\/next-gen-threat-and-vuln-mgt?view=o365-worldwide\">threat and vulnerability management<\/a> capabilities empower defenders to quickly discover, prioritize, and remediate misconfigurations and vulnerabilities, such as the powerdir vulnerability. In addition, Defender for Endpoint\u2019s unparalleled threat optics are built on the industry\u2019s deepest threat intelligence and backed by world-class security experts who continuously monitor the threat landscape.<\/p>\n<p>One of the key strengths of Defender for Endpoint is its ability to generically detect and recognize malicious behavior. For example, as seen in the previous section, our POC exploits conduct many suspicious activities, including:<\/p>\n<ul>\n<li>Dropping a new <em>TCC.db<\/em> file with an appropriate directory structure<\/li>\n<li>Killing an existing <em>tccd<\/em> instance<\/li>\n<li>Suspicious Directory Services invocations such as <em>dsimport<\/em> and <em>dsexport<\/em><\/li>\n<\/ul>\n<p>By generically detecting behavior associated with CVE-2020-9934 (that is, dropping a new <em>TCC.db<\/em> file fires an alert), Defender for Endpoint immediately provided protection against these exploits before the powerdir vulnerability was patched. This is a testament of Defender for Endpoint\u2019s capabilities: with strong, intelligent generalization, it will detect similar bypass vulnerabilities discovered in the future.<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"683\" src=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig8-macOS-TCC-Microsoft-Defender-for-Endpoint-1024x683.png\" alt=\"Screenshot of Microsoft Defender for Endpoint alert for potential TCC bypass\" class=\"wp-image-104424\" srcset=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig8-macOS-TCC-Microsoft-Defender-for-Endpoint-1024x683.png 1024w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig8-macOS-TCC-Microsoft-Defender-for-Endpoint-300x200.png 300w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig8-macOS-TCC-Microsoft-Defender-for-Endpoint-768x512.png 768w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig8-macOS-TCC-Microsoft-Defender-for-Endpoint-1536x1024.png 1536w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig8-macOS-TCC-Microsoft-Defender-for-Endpoint-293x195.png 293w, https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig8-macOS-TCC-Microsoft-Defender-for-Endpoint.png 1711w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><figcaption> Figure 7. Microsoft Defender for Endpoint detecting potential TCC bypass. <\/figcaption><\/figure>\n<p><a href=\"https:\/\/www.microsoft.com\/microsoft-365\/security\/endpoint-defender\">Learn how Microsoft Defender for Endpoint delivers a complete endpoint security solution across all platforms<\/a>.<\/p>\n<p><strong><em>Jonathan Bar Or<\/em><\/strong><\/p>\n<p><strong><em>Microsoft 365 Defender Research Team<\/em><\/strong><\/p>\n<p> READ MORE <a href=\"https:\/\/www.microsoft.com\/security\/blog\/2022\/01\/10\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/\">HERE<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new macOS vulnerability, \u201cpowerdir,\u201d could allow an attacker to bypass the operating system\u2019s TCC technology and gain unauthorized access to a user\u2019s protected data. We shared our findings with Apple through Coordinated Vulnerability Disclosure (CVD) and Apple released a fix.<br \/>\nThe post New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access appeared first on Microsoft Security Blog. READ MORE HERE&#8230;<\/p>\n","protected":false},"author":2,"featured_media":44757,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"default_layout","footnotes":""},"categories":[276],"tags":[347,1247,7221,2279,9815,55],"class_list":["post-44756","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-secure","tag-cybersecurity","tag-macos","tag-microsoft-security-intelligence","tag-poc","tag-tcc","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access 2026 | ThreatsHub Cybersecurity News<\/title>\n<meta name=\"description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access 2026 | ThreatsHub Cybersecurity News\" \/>\n<meta property=\"og:description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/\" \/>\n<meta property=\"og:site_name\" content=\"ThreatsHub Cybersecurity News\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-10T17:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig1-macOS-TCC-Security-and-Privacy-Pane-1024x893.png\" \/>\n<meta name=\"author\" content=\"TH Author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threatshub\" \/>\n<meta name=\"twitter:site\" content=\"@threatshub\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TH Author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/\"},\"author\":{\"name\":\"TH Author\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\"},\"headline\":\"New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access\",\"datePublished\":\"2022-01-10T17:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/\"},\"wordCount\":2538,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access.png\",\"keywords\":[\"Cybersecurity\",\"macOS\",\"Microsoft security intelligence\",\"poc\",\"TCC\",\"Vulnerability\"],\"articleSection\":[\"Microsoft Secure\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/\",\"name\":\"New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access 2026 | ThreatsHub Cybersecurity News\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access.png\",\"datePublished\":\"2022-01-10T17:00:00+00:00\",\"description\":\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access.png\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access.png\",\"width\":1024,\"height\":893},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cybersecurity\",\"item\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/tag\\\/cybersecurity\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"name\":\"ThreatsHub Cybersecurity News\",\"description\":\"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"alternateName\":\"Threatshub.org\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\",\"name\":\"ThreatsHub.org\",\"alternateName\":\"Threatshub.org\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"width\":432,\"height\":435,\"caption\":\"ThreatsHub.org\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/threatshub\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\",\"name\":\"TH Author\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"caption\":\"TH Author\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access 2026 | ThreatsHub Cybersecurity News","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/","og_locale":"en_US","og_type":"article","og_title":"New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access 2026 | ThreatsHub Cybersecurity News","og_description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","og_url":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/","og_site_name":"ThreatsHub Cybersecurity News","article_published_time":"2022-01-10T17:00:00+00:00","og_image":[{"url":"https:\/\/www.microsoft.com\/security\/blog\/uploads\/securityprod\/2022\/01\/Fig1-macOS-TCC-Security-and-Privacy-Pane-1024x893.png","type":"","width":"","height":""}],"author":"TH Author","twitter_card":"summary_large_image","twitter_creator":"@threatshub","twitter_site":"@threatshub","twitter_misc":{"Written by":"TH Author","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/#article","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/"},"author":{"name":"TH Author","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476"},"headline":"New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access","datePublished":"2022-01-10T17:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/"},"wordCount":2538,"publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2022\/01\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access.png","keywords":["Cybersecurity","macOS","Microsoft security intelligence","poc","TCC","Vulnerability"],"articleSection":["Microsoft Secure"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/","url":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/","name":"New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access 2026 | ThreatsHub Cybersecurity News","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/#primaryimage"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2022\/01\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access.png","datePublished":"2022-01-10T17:00:00+00:00","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","breadcrumb":{"@id":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/#primaryimage","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2022\/01\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access.png","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2022\/01\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access.png","width":1024,"height":893},{"@type":"BreadcrumbList","@id":"https:\/\/www.threatshub.org\/blog\/new-macos-vulnerability-powerdir-could-lead-to-unauthorized-user-data-access\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threatshub.org\/blog\/"},{"@type":"ListItem","position":2,"name":"Cybersecurity","item":"https:\/\/www.threatshub.org\/blog\/tag\/cybersecurity\/"},{"@type":"ListItem","position":3,"name":"New macOS vulnerability, \u201cpowerdir,\u201d could lead to unauthorized user data access"}]},{"@type":"WebSite","@id":"https:\/\/www.threatshub.org\/blog\/#website","url":"https:\/\/www.threatshub.org\/blog\/","name":"ThreatsHub Cybersecurity News","description":"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform","publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"alternateName":"Threatshub.org","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threatshub.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.threatshub.org\/blog\/#organization","name":"ThreatsHub.org","alternateName":"Threatshub.org","url":"https:\/\/www.threatshub.org\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","width":432,"height":435,"caption":"ThreatsHub.org"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/threatshub"]},{"@type":"Person","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476","name":"TH Author","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","caption":"TH Author"}}]}},"_links":{"self":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/44756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/comments?post=44756"}],"version-history":[{"count":0,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/44756\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media\/44757"}],"wp:attachment":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media?parent=44756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/categories?post=44756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/tags?post=44756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}