Skip to content
RCE Write-up Advanced

Proofpoint ITM | 4.4.3.148–5.0.1

The Proofpoint ITM macOS agent built shell commands by inserting user-controlled file paths into a bash command without sanitising shell metacharacters. Any standard user could create a file with a crafted name in a OneDrive-managed directory and have arbitrary commands run as root.

bishopfox.com

Published on bishopfox.com

The following document describes a vulnerability identified by Bishop Fox staff in Proofpoint ITM (formerly ObserveIT) macOS agent 4.4.3.148–5.0.1. The vulnerability was discovered during a security assessment for a Bishop Fox client.

The author, on bishopfox.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

A standard user could gain root on a managed Mac and potentially collect credentials from other users of the same device; the Windows agent was not affected.

What the attacker needed

Local unprivileged user on a managed Mac; OneDrive Known Folder Move enabled; Proofpoint ITM macOS agent [redacted]–5.0.1

The fix

The agent should stop building shell commands from paths and instead pass filenames as discrete arguments to direct process execution, and the FAM daemon should run with least privilege; the text does not say a fix was released.

How it was found

  1. Create a file in a directory managed by OneDrive Known Folder Move.
  2. The macOS FileProvider subsystem signals the file creation to registered listeners.
  3. The Proofpoint FAM service receives the FileProvider notification.
  4. The FAM service calls the vulnerable logging function, which builds a bash command with the unsanitised filename.
  5. Bash executes the expression inside the shell metacharacters as root.

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 write-up has not been written yet. The Original tab links to the source.

A background service on the Mac, running with the highest privileges, watched for new files and then ran a shell command that included the file's name. Because the name was pasted into the command without cleaning, a name containing special shell syntax made the shell run extra commands as the administrator account. Any normal user on the machine could do this just by creating a file.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.