Skip to content
Access control Advisory Intermediate CVE-2018-4051

GOG Galaxy Games createFolderAtPath privilege escalation vulnerability

The privileged helper tool in GOG Galaxy for macOS allowed any local user to create directories anywhere on the root file system with world-writable permissions. An attacker could exploit this to modify the root file system and escalate privileges.

Tyler Bohan Follow

Originally disclosed on Cisco Talos

High 7.1 View original

An exploitable local privilege escalation vulnerability exists in the privileged helper tool of GOG Galaxy’s Games, version 1.2.47 for macOS. An attacker can globally create directories and subdirectories on the root file system, as well as change the permissions of existing directories.

Tyler Bohan, on Cisco Talos

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

The helper tool's createFolderAtPath function did not properly validate or restrict the paths it was asked to create, and it set overly permissive permissions on the created directories.

Impact

An attacker could modify the root file system, leading to privilege escalation.

What the attacker needed

Local access to the macOS system

The fix

The vulnerability was fixed by the vendor in version 1.2.47 (patched on 2018-12-14).

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 background program that runs with high privileges to perform tasks for a main application. Here, the helper tool let any user on the computer create folders anywhere, even in protected system areas, and made those folders writable by everyone. This means a normal user could change important system files and gain more control over the machine.

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.

More by Tyler Bohan

View all

84 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.