Sunday, July 14, 2024

MacOS “DirtyNIB” Vulnerability: Let Attackers Execute Malicious Code

A new zero-day vulnerability has been discovered in Apple’s macOS systems, which allows threat actors to execute code on behalf of a legitimate Apple application. This particular vulnerability was first discovered in macOS Monterey. However, the researcher was able to replicate the issue in Ventura and Sonoma.

According to the reports shared with Cyber Security News, Apple has addressed this vulnerability by assigning CVE-2022-48505 with a severity of 5.5 (Medium). However, the researcher stated that the issue still exists with macOS and needs to be addressed accordingly.


Deploy Advanced AI-Powered Email Security Solution

Implementing AI-Powered Email security solutions “Trustifi” can secure your business from today’s most dangerous email threats, such as Email Tracking, Blocking, Modifying, Phishing, Account Take Over, Business Email Compromise, Malware & Ransomware

MacOS “DirtyNIB” Vulnerability

Apple uses NIB files for storing interfaces of applications. Bundled NIB files can be swapped, which does not invalidate the access of these files once Gatekeeper verifies these files. 

Initially, a NIB file is created with a class as NSAppleScript, and the source property is set using User-Defined Runtime Attributes. In addition to this, a button is added and binded with Apple Script. This is also set to invoke executeAndReturnError: selector. As part of the exploitation of this vulnerability, the DirtyNIB file is used.

For proof of concept, the Pages application owned by Apple is targeted. The application is copied to the /tmp folder and launched using Gatekeeper. After this, the NIB file is overwritten with the DirtyNIB file, which triggers the code execution.

Code execution with DirtyNIB file overwriting
Code execution with DirtyNIB file overwriting (Source: xpnsec)

Moreover, this vulnerability had several constraints when moving to the latest macOS versions. The constraint of exploiting this in macOS Ventura was the inclusion of PkgKit, whereas, in macOS Sonoma, there were new restrictions around accessing Application bundle contents.

A complete report has been published by the security researcher, which provides detailed information about the exploitation of this vulnerability, the codes, and the tools used as part of the research.

Protect yourself from vulnerabilities using Patch Manager Plus to patch over 850 third-party applications quickly. Take advantage of the free trial to ensure 100% security.


Latest articles

mSpy Data Breach: Millions of Customers’ Data Exposed

mSpy, a widely used phone spyware application, has suffered a significant data breach, exposing...

Advance Auto Parts Cyber Attack: Over 2 Million Users Data Exposed

RALEIGH, NC—Advance Stores Company, Incorporated, a prominent commercial entity in the automotive industry, has...

Hackers Using ClickFix Social Engineering Tactics to Deploy Malware

Cybersecurity researchers at McAfee Labs have uncovered a sophisticated new method of malware delivery,...

Coyote Banking Trojan Attacking Windows Users To Steal Login Details

Hackers use Banking Trojans to steal sensitive financial information. These Trojans can also intercept...

Hackers Created 700+ Fake Domains to Sell Olympic Games Tickets

As the world eagerly anticipates the Olympic Games Paris 2024, a cybersecurity threat has...

Japanese Space Agency Spotted zero-day via Microsoft 365 Services

The Japan Aerospace Exploration Agency (JAXA) has revealed details of a cybersecurity incident that...

Top 10 Active Directory Management Tools – 2024

Active Directory Management Tools are essential for IT administrators to manage and secure Active...
Eswar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

Free Webinar

Low Rate DDoS Attack

9 of 10 sites on the AppTrana network have faced a DDoS attack in the last 30 days.
Some DDoS attacks could readily be blocked by rate-limiting, IP reputation checks and other basic mitigation methods.
More than 50% of the DDoS attacks are employing botnets to send slow DDoS attacks where millions of IPs are being employed to send one or two requests per minute..
Key takeaways include:

  • The mechanics of a low-DDoS attack
  • Fundamentals of behavioural AI and rate-limiting
  • Surgical mitigation actions to minimize false positives
  • Role of managed services in DDoS monitoring

Related Articles