Inappropriate implementation in Google Updater (CVE-2025-13631)
The Google Updater, which runs as root, follows a symbolic link when writing the Crashpad settings file inside a user's home folder. A non-privileged local user could therefore cause an arbitrary file to be created or overwritten with root privileges, though the report says the file's content cannot be controlled.
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
Summary: LPE - Arbitrary File Write in Google Chrome Enterprise (MacOS): The GoogleUpdater, which is executed by root, follows symlinks when writing the file settings.dat in the user folder
Program: Google VRP
Vulnerability type: Privilege Escalation
Details
Vulnerability Description
When accessing chrome://settings/help in Google Chrome Enterprise - Version 140.0.7339.214 (Official Build) (x86_64) for MacOS, the GoogleUpdater.app ("/Library/Application Support/Google/GoogleUpdater/Current/GoogleUpdater.app/Contents/Helpers/launcher") is executed as root.
The launcher executes the following command:
- /Library/Application\ Support/Google/GoogleUpdater/Current/GoogleUpdater.app/Contents/MacOS/GoogleUpdater --server --service=update --system
Which will execute the following command:
- /Library/Application Support/Google/GoogleUpdater/142.0.7416.0/GoogleUpdater.app/Contents/MacOS/GoogleUpdater --crash-handler --system --database=/Library/Application Support/Google/GoogleUpdater/142.0.7416.0/Crashpad --url=https://clients2.google.com/cr/report --annotation=prod=Update4 --annotation=ver=142.0.7416.0 --handshake-fd=5
This will trigger a file read and write of:
- /Users/<User>/Library/Application Support/Google/Chrome/Crashpad/settings.dat
The user has full permissions on the folder Crashpad and the file settings.dat. This allows the user to create a symbolic link in the folder which will be followed by the GoogleUpdater application when writing the file settings.dat.
This allows a non-privileged user to obtain a arbitrary file write. However, I did not found a way to control the content of the file.
Attack Preconditions
To exploit this issue, an attacker must have access as non-privileged user to the machine.
Reproduction Steps / POC
To exploit this issue, perform the following steps:
- Open Google Chrome Enterpise
- Remove the file /Users/<User>/Library/Application Support/Google/Chrome/Crashpad/settings.dat
if it exists 3. Create the symlink: ln -sf /tmp/arbitrary_write /Users/$USER/Library/Application\ Support/Google/Chrome/Crashpad/settings.dat 4. Go to Help -> About Google Chrome 5. Verify that the file /tmp/arbitrary_write was created by root
Attack scenario
Every user in the system independently of their privileges is able to exploit this issue, since the GoogleUpdater will go through every user folder at /Users.
This allows a non-privileged user to overwrite any file in the filesystem. However, I did not found a way to control the content of the settings.dat file, which means that in the end the impact will depend on the file that the user overwrites.
Context
Google Chrome Enterprise on macOS ships a separate updater component, GoogleUpdater, which keeps the browser current. When a user opens the About page at chrome://settings/help, Chrome triggers that updater. The updater runs with root privileges, and as part of its work it reads and writes a Crashpad settings file inside each user's home directory.
The report describes a local privilege escalation through that file write. The updater, running as root, follows a symbolic link placed by an unprivileged user, so the write lands wherever the link points. The researcher was able to obtain an arbitrary file write but states plainly that they did not find a way to control the content written.
Setup
The testing was done on macOS with Google Chrome Enterprise, Version 140.0.7339.214 (Official Build) (x86_64). The only precondition is local access to the machine as a non-privileged user. No other role, account or tooling is described.
The relevant components are:
- The launcher at
/Library/Application Support/Google/GoogleUpdater/Current/GoogleUpdater.app/Contents/Helpers/launcher, which is executed as root. - The updater binary at
/Library/Application Support/Google/GoogleUpdater/142.0.7416.0/GoogleUpdater.app/Contents/MacOS/GoogleUpdater. - The per-user file
/Users/<User>/Library/Application Support/Google/Chrome/Crashpad/settings.dat.
Finding it
Opening chrome://settings/help causes the launcher to run as root. The launcher in turn executes the updater in server mode:
/Library/Application\ Support/Google/GoogleUpdater/Current/GoogleUpdater.app/Contents/MacOS/GoogleUpdater --server --service=update --system
That process then starts the crash handler with a database directory and a report URL:
/Library/Application Support/Google/GoogleUpdater/142.0.7416.0/GoogleUpdater.app/Contents/MacOS/GoogleUpdater --crash-handler --system --database=/Library/Application Support/Google/GoogleUpdater/142.0.7416.0/Crashpad --url=https://clients2.google.com/cr/report --annotation=prod=Update4 --annotation=ver=142.0.7416.0 --handshake-fd=5
As part of this, the updater reads and writes:
/Users/<User>/Library/Application Support/Google/Chrome/Crashpad/settings.dat
The user has full permissions on the Crashpad folder and the settings.dat file. Because the root updater follows symbolic links when writing that path, a user can replace the file with a symbolic link and have the root write follow it. That is the whole of the finding: a root process writing through a user-controlled path.
Exploitation
Step 1: Open Google Chrome Enterprise
Start the browser as the unprivileged user. This is the context in which the About page will be visited.
Step 2: Remove the existing settings file
Delete the file if it is present, so the path is free for a link:
/Users/<User>/Library/Application Support/Google/Chrome/Crashpad/settings.dat
Step 3: Create the symbolic link
Point the settings path at an arbitrary target:
ln -sf /tmp/arbitrary_write /Users/$USER/Library/Application\ Support/Google/Chrome/Crashpad/settings.dat
The -s makes a symbolic link and -f removes any existing destination first. The link lives in the user's own Crashpad folder, which the user fully controls, and it points at /tmp/arbitrary_write.
Step 4: Trigger the updater
Go to Help -> About Google Chrome. This is the same action as visiting chrome://settings/help, and it causes the root launcher and updater chain described above to run.
Step 5: Check the result
Verify that /tmp/arbitrary_write was created by root. The root updater followed the link and wrote settings.dat through it, so the file appears at the target location, created by root.
Root cause
The updater runs as root and writes settings.dat at a path inside a directory the unprivileged user owns and can modify. It follows a symbolic link placed at that path, so the user can redirect the write to the link's target. The report does not describe any specific check that was missing or bypassed beyond this; the behaviour is that the root process follows the link.
Impact
A non-privileged local user can cause a root-owned write to an arbitrary path. The researcher notes that every user on the system can exploit this regardless of their privileges, because the updater walks every user folder under /Users. This allows a non-privileged user to overwrite any file in the filesystem, though the impact depends on the file overwritten.
The limit is important: the researcher did not find a way to control the content of settings.dat. The practical impact therefore depends entirely on which file the attacker chooses to overwrite and what the fixed content does to it. The report does not claim code execution or any specific escalation beyond the arbitrary write.
Fix
The report does not describe a fix or a change made in response. The behaviour to remove is the root process writing through a user-controlled path: the updater should not follow symbolic links when writing settings.dat, for example by opening the file without following links or by writing to a location the user cannot redirect.
Variants to test
- Other per-user files written by a privileged service. Look for root-run components that touch paths under a user's home. A positive result is a file created or modified outside the user's directory after the user replaces the path with a link.
- Other link types at the same path. Try a hard link or a link to a directory rather than a file. A positive result is a write landing somewhere the user did not point a plain symlink at.
- Content influence. Try to make the written
settings.datcontent useful, for example by pre-seeding the file or the target. A positive result is a target file whose contents the attacker can predict or shape, which would turn the write into a stronger primitive. - Multi-user reach. On a machine with several accounts, confirm whether one user's link is followed when another user's session triggers the updater. A positive result is a write into a different user's tree or a system path from a single unprivileged account.
What happened, in plain words
Google Chrome Enterprise on macOS comes with a helper program called GoogleUpdater. Its job is to keep the browser up to date. When you open the browser's About page, Chrome starts that updater, and the updater runs with the highest level of permission on the computer, the same level as the system administrator account (this is called running as root).
While it works, the updater reads and writes a small settings file that lives inside each user's personal folder. The problem is that the updater follows a symbolic link placed at that path. A normal user can replace it with a symbolic link, which is a kind of shortcut that points somewhere else. When the updater, running as root, writes to the settings file, it follows the shortcut and writes to whatever place the shortcut points at instead.
That is a local privilege escalation: a normal user can make a powerful program write a file in a place the user should not be able to write to. The researcher who found it could make the file appear anywhere, but states plainly that they did not find a way to control what goes inside the file.
The pieces involved
Before the steps, here are the parts of the system the report talks about.
- Google Chrome Enterprise: the version of Chrome that companies install and manage centrally. It behaves like normal Chrome for the user but comes with extra management features.
- GoogleUpdater: a separate program that ships alongside Chrome and keeps it current. It is not the browser window you see; it is a background helper.
- macOS: Apple's operating system for Mac computers. It stores each person's files in a home folder under
/Users. - Root: the all-powerful account on a Unix-like system. A program running as root can read and write almost any file on the machine, no matter who owns it.
- Symbolic link (symlink): a file that acts as a signpost to another path. When a program opens the link, the operating system quietly opens the target instead. Think of a note on a door saying "the room you want is down the hall": you follow the note and end up somewhere else.
- Crashpad: a component that collects crash reports, the technical details recorded when a program fails. It keeps a small settings file called
settings.dat. - Arbitrary file write: a weakness where an attacker can make a program create or overwrite a file at a location of the attacker's choosing. It is called "arbitrary" because the location is not fixed.
- Local privilege escalation (LPE): a weakness that lets someone who already has a low-privilege account on a machine gain the effect of a higher-privilege one. "Local" means the attacker is sitting at the machine or logged into it, not attacking over the internet.
The setup
The testing was done on macOS with Google Chrome Enterprise, Version 140.0.7339.214 (Official Build) (x86_64). The only precondition is local access to the machine as a non-privileged user. No other role, account or tooling is described.
The relevant components are:
- The launcher at
/Library/Application Support/Google/GoogleUpdater/Current/GoogleUpdater.app/Contents/Helpers/launcher, which is executed as root. - The updater binary at
/Library/Application Support/Google/GoogleUpdater/142.0.7416.0/GoogleUpdater.app/Contents/MacOS/GoogleUpdater. - The per-user file
/Users/<User>/Library/Application Support/Google/Chrome/Crashpad/settings.dat.
A launcher is a small program whose only job is to start another program. Here it starts the updater. The path /Users/<User>/... means "inside the home folder of whichever user is logged in"; <User> is a placeholder for the real account name.
Finding it
Opening chrome://settings/help causes the launcher to run as root. chrome://settings/help is an internal page inside Chrome, the one you reach through the menu as Help, then About Google Chrome. It is not a website on the internet; the chrome:// prefix tells the browser to show one of its own built-in pages.
The launcher in turn executes the updater in server mode:
/Library/Application\ Support/Google/GoogleUpdater/Current/GoogleUpdater.app/Contents/MacOS/GoogleUpdater --server --service=update --system
Line by line:
- The first part is the full path to the updater program. The backslash before the space (
Application\ Support) is how a command line keeps a space inside a single path instead of treating it as a separator between two things. --servertells the updater to run as a background service rather than as a one-off task.--service=updatesays which service it is providing: the update service.--systemsays it is operating for the whole machine, not just one user. This is the flag tied to running with system-wide (root) power.
That process then starts the crash handler with a database directory and a report URL:
/Library/Application Support/Google/GoogleUpdater/142.0.7416.0/GoogleUpdater.app/Contents/MacOS/GoogleUpdater --crash-handler --system --database=/Library/Application Support/Google/GoogleUpdater/142.0.7416.0/Crashpad --url=https://clients2.google.com/cr/report --annotation=prod=Update4 --annotation=ver=142.0.7416.0 --handshake-fd=5
Line by line:
- The path points at a specific versioned copy of the updater,
142.0.7416.0. Version numbers like this identify exactly which build of a program is running. --crash-handlerputs the program into the role of collecting crash information.--systemagain means system-wide, root-level operation.--database=...gives the folder where crash data is stored.--url=https://clients2.google.com/cr/reportis the web address where crash reports are sent. A URL is simply the address of something on a network, the same kind of address you type into a browser.--annotation=prod=Update4and--annotation=ver=142.0.7416.0attach labels to the report, here the product name and version, so the receiving side knows what the report is about.--handshake-fd=5passes a numbered channel (a file descriptor, a handle the operating system uses to track open connections) that the two processes use to coordinate with each other.
As part of this, the updater reads and writes:
/Users/<User>/Library/Application Support/Google/Chrome/Crashpad/settings.dat
This is the crash handler's settings file, sitting inside the logged-in user's home folder. The user has full permissions on the Crashpad folder and the settings.dat file. Permissions are the rules that say who may read, change or delete a file; "full permissions" means the user can do anything with it, including deleting it and putting something else in its place.
Because the root updater follows symbolic links when writing that path, a user can replace the file with a symbolic link and have the root write follow it. That is the whole of the finding: a root process writing through a user-controlled path. The everyday comparison is a courier with a master key who is told "deliver this to the box marked settings.dat". If you swap the box's label for a forwarding note, the courier follows the note and delivers wherever it says, because nobody told the courier to check that the box is still a box.
Exploitation
Step 1: Open Google Chrome Enterprise
Start the browser as the unprivileged user. This is the context in which the About page will be visited. You do this first because the whole chain is triggered from inside the browser; without the browser running there is nothing to click.
Step 2: Remove the existing settings file
Delete the file if it is present, so the path is free for a link:
/Users/<User>/Library/Application Support/Google/Chrome/Crashpad/settings.dat
Why: a symbolic link has to occupy the same name as the file it replaces. If the real file is still there, you cannot put a link at that path. Removing it first clears the way.
Step 3: Create the symbolic link
Point the settings path at an arbitrary target:
ln -sf /tmp/arbitrary_write /Users/$USER/Library/Application\ Support/Google/Chrome/Crashpad/settings.dat
Line by line:
lnis the standard command for creating links.-smakes a symbolic link, the signpost kind, rather than a hard link (a second name for the same underlying file).-fmeans force: if something already exists at the destination, remove it first instead of complaining./tmp/arbitrary_writeis the target the link points to./tmpis a temporary folder that every user on the machine can write to, which makes it a convenient place to watch for a file appearing./Users/$USER/...is the destination of the link.$USERis a shell variable that the command line fills in with the name of the account running the command, so you do not have to type your own name. The backslash before the space inApplication\ Supportkeeps that space inside the path.
The link lives in the user's own Crashpad folder, which the user fully controls, and it points at /tmp/arbitrary_write. Nothing here needs special permission, which is the point: an ordinary user can do all of it.
Step 4: Trigger the updater
Go to Help -> About Google Chrome. This is the same action as visiting chrome://settings/help, and it causes the root launcher and updater chain described above to run. This step is the trigger: it is what makes the powerful program wake up and write its settings file, and therefore what makes it follow the link.
Step 5: Check the result
Verify that /tmp/arbitrary_write was created by root. The root updater followed the link and wrote settings.dat through it, so the file appears at the target location, created by root. You can tell the owner from the file's details in Finder or with a command such as ls -l, which lists files together with their owner. Seeing that the file was created by root is the proof: your own account could not have done that.
Root cause
The updater runs as root and writes settings.dat at a path inside a directory the unprivileged user owns and can modify. It follows a symbolic link placed at that path, so the user can redirect the write to the link's target. The report does not describe any specific check that was missing or bypassed beyond this; the behaviour is that the root process follows the link.
In security terms, the mistake is trusting a path that an untrusted party controls. The program assumes "this path leads to my settings file", but the user can change what the path leads to at any moment.
Impact
A non-privileged local user can cause a root-owned write to an arbitrary path. The researcher notes that every user on the system can exploit this regardless of their privileges, because the updater walks every user folder under /Users. This allows a non-privileged user to overwrite any file in the filesystem, though the impact depends on the file overwritten.
The limit is important: the researcher did not find a way to control the content of settings.dat. The practical impact therefore depends entirely on which file the attacker chooses to overwrite and what the fixed content does to it. The report does not claim code execution or any specific escalation beyond the arbitrary write.
Put simply: being able to write a file anywhere is serious, but being able to write a file anywhere with content you choose would be far more serious. Here the attacker picks the destination but not the message.
Fix
The report does not describe a fix or a change made in response. The behaviour to remove is the root process writing through a user-controlled path: the updater should not follow symbolic links when writing settings.dat, for example by opening the file without following links or by writing to a location the user cannot redirect.
Variants to test
These are follow-up ideas for anyone repeating the research, each with what would count as a positive result.
- Other per-user files written by a privileged service. Look for root-run components that touch paths under a user's home. A positive result is a file created or modified outside the user's directory after the user replaces the path with a link.
- Other link types at the same path. Try a hard link or a link to a directory rather than a file. A positive result is a write landing somewhere the user did not point a plain symlink at.
- Content influence. Try to make the written
settings.datcontent useful, for example by pre-seeding the file or the target. A positive result is a target file whose contents the attacker can predict or shape, which would turn the write into a stronger primitive. - Multi-user reach. On a machine with several accounts, confirm whether one user's link is followed when another user's session triggers the updater. A positive result is a write into a different user's tree or a system path from a single unprivileged account.
Glossary
- Root: the all-powerful account on a Unix-like system; programs running as root can read and write almost any file.
- Privilege escalation: gaining the effect of higher permissions than your account should have.
- Local privilege escalation (LPE): privilege escalation performed by someone who already has access to the machine, rather than from outside over a network.
- Google Chrome Enterprise: the centrally managed edition of the Chrome browser used by organisations.
- GoogleUpdater: the separate helper program that keeps Chrome up to date.
- Launcher: a small program whose job is to start another program.
- Symbolic link (symlink): a file that points to another path; opening it opens the target instead.
- Hard link: a second name for the same underlying file, rather than a signpost to it.
- Crashpad: the component that collects crash reports and keeps a settings file called
settings.dat. - Arbitrary file write: a weakness that lets an attacker make a program create or overwrite a file at a location of the attacker's choosing.
- Permissions: the rules that decide who may read, change or delete a file.
- Path: the address of a file or folder on the computer, such as
/Users/<User>/.... - URL: the address of something on a network, such as
https://clients2.google.com/cr/report. - File descriptor: a numbered handle the operating system uses to track an open file or connection.
- Flag (command-line option): a word starting with
--that changes how a program behaves, such as--system. - Shell variable: a named value the command line substitutes into a command, such as
$USER. /tmp: a temporary folder on the machine that every user can write to.chrome://settings/help: Chrome's built-in About page, reached through Help, then About Google Chrome.- Root cause: the underlying mistake that makes a weakness possible, as opposed to its symptoms.
- Primitive: a basic capability an attacker has obtained, which may be combined with others for a bigger effect.
- Code execution: the ability to make a computer run code of the attacker's choosing, generally the most serious outcome.