CleanMyMac X incomplete update patch privilege escalation vulnerability
The CleanMyMac X updater failed to remove vulnerable helper components when upgrading to version 4.20, leaving the old code running and listening. A local attacker could exploit this to modify the file system as root.
Originally disclosed on Cisco Talos
An exploitable privilege escalation vulnerability exists in the helper service CleanMyMac X, version 4.20, due to improper updating. The application failed to remove the vulnerable components upon upgrading to the latest version, leaving the user open to attack.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the update process did not remove or disable the previously installed vulnerable helper components.
Impact
A local attacker could modify the file system as root, but local access to the machine is required.
What the attacker needed
Local access to the machine
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A helper tool is a small program that runs with high privileges to do tasks like deleting system files. When the app was updated, the old, insecure version of this helper was not removed, so an attacker who can already run code on the Mac could use it to gain full control.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.