Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Endpoint Security

Multiple Vulnerabilities Patched in CleanMyMac Utility

Recently addressed vulnerabilities in the popular macOS cleanup application CleanMyMac X could allow attackers to modify the file system as root, Cisco Talos security researchers reveal.

Recently addressed vulnerabilities in the popular macOS cleanup application CleanMyMac X could allow attackers to modify the file system as root, Cisco Talos security researchers reveal.

Created by MacPaw, CleanMyMac X allows users to scan their macOS machines for unused or unnecessary files and delete them to free up extra space. The application includes various other optimization and performance monitor functions, and can also remove malware.

Talos’ security researchers found a total of 13 vulnerabilities in version 4.04 of the application, 12 of which are privilege escalation flaws, while the last is a denial-of-service issue.

Tracked as CVE-2018-4032 and CVE-2018-4033, the first two privilege escalation bugs reside in the `moveItemAtPath` and `moveToTrashItemAtPath` functions of the helper protocol, respectively. Because CleanMyMac X improperly validates inputs, an attacker can use `nil` to function arguments, resulting in any other application accessing that function and deleting files from the root file system.

Three other flaws, CVE-2018-4034, CVE-2018-4035, and CVE-2018-4036, impact the `removeItemAtPath`, `truncateFileAtPath`, and `removeKextAtPath` functions of the helper protocol, respectively. Lack of validation makes it possible for any application to access these functions and run them as root, which could allow an attacker to delete files from the root file system.

The next three flaws, CVE-2018-4037, CVE-2018-4041, and CVE-2018-4042, impact the `removeDiagnosticsLogs`, the `enableLaunchdAgentAtPath`, and the `removeLaunchdAgentAtPath` functions of the helper protocol and could be exploited by a non-root user to delete the main log data from the system.

The CVE-2018-4043 and CVE-2018-4044 flaws reside in the `removeASL` and the `removePackageWithID` functions of the helper protocol and could be exploited by non-root users to delete a package’s privileged information.

Also a privilege escalation vulnerability, CVE-2018-4045 impacts the `securelyRemoveItemAtPath` function of the helper protocol and could allow non-root users to delete files from the root file system.

Advertisement. Scroll to continue reading.

CleanMyMac X’s helper service is also impacted by a denial-of-service issue, due to improper input validation. Residing in the `pleaseTerminate` function, the vulnerability is caused by the lack of validation of the calling application, which allows non-root users to terminate this root daemon.

Another privilege escalation vulnerability in the software’s helper service impacts the `disableLaunchdAgentAtPath` function and is also the result of lack of validation, potentially allowing any non-root users to uninstall `launchd` scripts as root.

“It is recommended that users update to the latest version of this software (CleanMyMac X version 4.2.0). There are several ways in which an attacker could bypass the usual protections in place to acquire greater access to the machine and modify the file system as root,” Talos concludes.

Related: Secure Messaging Applications Prone to Session Hijacking

Related: Vulnerabilities in WibuKey Could Lead to Code Execution

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

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

Cody Barrow has been appointed as CEO of threat intelligence company EclecticIQ.

Shay Mowlem has been 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.

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.