Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Apple Finally Patches “Rootpipe” Privilege Escalation Flaw in OS X

In early October 2014, a researcher discovered a serious privilege escalation vulnerability in Apple’s Mac OS X operating system. The flaw, which has been around since at least 2011, has been finally fixed by the company.

In early October 2014, a researcher discovered a serious privilege escalation vulnerability in Apple’s Mac OS X operating system. The flaw, which has been around since at least 2011, has been finally fixed by the company.

Software updates released by Apple on Wednesday address tens of security holes, including a hidden backdoor API that can be exploited to gain root privileges. The vulnerability, dubbed “rootpipe,” was discovered last year by TrueSec security software engineer Emil Kvarnhammar. Now that Apple has patched the issue with the release of OS X Yosemite 10.10.3, the researcher has provided additional technical details on the bug.

The vulnerability (CVE-2015-1130), which plagues the Admin framework in OS X, existed since at least the release of OS X 10.7. According to Kvarnhammar, the flaw can be exploited by an attacker with physical access to the targeted device, but a remote attacker can also leverage the bug in combination with remote code execution exploits.

“[Apple’s] intention was probably to serve the ‘System Preferences’ app and systemsetup (command-line tool), but there is no access restriction. This means the API is accessible (through XPC) from any user process in the system,” the researcher explained in a blog post.

Initially, Kvarnhammar’s exploit only worked for users with administrator permissions, but he later got it to work for all users. It’s worth noting that user accounts created when OS X is installed have admin privileges by default.

Apple was informed of the issue on October 3. The company initially told the researcher that it was planning to patch the vulnerability in mid-January. However, it only managed to fix it in early March with the release of OS X 10.10.3 public beta. The patch was delivered on Wednesday to all users.

Apple has pointed out that the fix for this flaw will not be backported to OS X 10.9.x and older versions because it required significant changes to be made.

Another interesting vulnerability patched by Apple on Wednesday was discovered by Kaspersky Lab researchers. In a blog post published on Friday, the security firm disclosed the details of a Darwin kernel flaw (CVE-2015-1102) that can be exploited to cause devices running OS X or iOS to enter a denial-of-service (DoS) state. Because TCP headers are not processed correctly, an attacker can cause a system to crash simply by sending it a specially crafted network packet.

Advertisement. Scroll to continue reading.

Kaspersky researchers have pointed out that many firewalls and routers are designed to drop invalid packets, but they have found a way to bypass these mechanisms. “A true professional can easily use [the vulnerability] to break down a user’s device or even interrupt the work of a corporate network,” experts said.

One of the vulnerabilities fixed by Apple in the Safari browser was reported in January by Jouko Pynnonen of the Finland-based company Klikki Oy. The vulnerability (CVE-2015-1126) allows an attacker to bypass the browser’s cross-domain policies and access resources belonging to another website. A malicious actor simply needs to get the victim to visit a website containing the exploit in order for the attack to work.

“The attacker could access or modify cookies belonging to another website in order to hijack a logged-in session of that website,” Pynnonen told SecurityWeek.

The researcher’s example exploit targeted cookies, but Apple noted in its advisory that “visiting a maliciously crafted website may lead to resources of another origin being accessed.” The fact that Apple used the term “resources” could indicate that not just cookies can be accessed, but the company hasn’t confirmed this when asked by the researcher.

“Technically, the [attacker’s] page would contain an IFRAME tag pointing to a specially formatted URL. Due to the bug, Safari would ‘miscalculate’ the domain of the attacker-supplied IFRAMEd document. That document would then have access to cookies of another domain, which could be anything the attacker chooses (e.g. apple.com),” the researcher explained.

“Another attack scenario is ‘session fixation’, i.e. the attacker would write the victim’s session cookie and wait for the victim to authenticate that session. After a successful attack the attacker would gain login access to the website with the victim’s credentials,” Pynnonen added.

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Shay Mowlem named CMO of runtime and application security company Contrast Security.

Attack detection firm Vectra AI has appointed Jeff Reed to the newly created role of Chief Product Officer.

Shaun Khalfan has joined payments giant PayPal as SVP, CISO.

More People On The Move

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

IoT Security

A vulnerability affecting Dahua cameras and video recorders can be exploited by threat actors to modify a device’s system time.