Skip to content
RCE Write-up Advanced

F5 Networks Endpoint Inspector – Browser-to-RCE?

The F5 Endpoint Inspector can be triggered by a malicious website to run arbitrary code, but only if the attacker has a trusted code-signing certificate and the user has admin rights to approve a UAC prompt. F5 does not consider this a vulnerability.

Dave U. Ramdon Follow

Published on pentestpartners.com

If a bug falls in the forest, and the vendor denies that it’s a bug, is it still a bug? ?

PTP Admin, on pentestpartners.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

Root cause

Likely the F5 Endpoint Inspector accepts and executes CAB files signed by third-party certificates, only checking the 'Signer Name' field, which allows arbitrary code execution if the attacker has a trusted certificate.

Impact

An attacker could run arbitrary code with admin privileges, but only if the user has admin rights and clicks through a UAC prompt, and the attacker has a trusted code-signing certificate; F5 argues this is not a vulnerability.

What the attacker needed

Victim has admin privileges; attacker has trusted code-signing certificate; victim visits malicious website; victim clicks through UAC prompt

The fix

F5 should block third-party certificates, check more than just the 'Signer Name' field, and use a better update mechanism than extracting CAB files.

How it was found

  1. Browse to a malicious website that contains a specially crafted f5-epi:// URI.
  2. The F5 Endpoint Inspector runs, showing a UAC prompt for a process signed by F5 Networks.
  3. After the user approves the UAC prompt, powershell.exe runs as a subprocess of f5instd.exe with admin privileges.

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 security tool that checks if your computer meets company rules can be tricked into running harmful code. An attacker could make you visit a website that starts this tool and, if you click through some warnings, run their code with high permissions. The tool's maker says this is not a security flaw because it requires the attacker to have a special certificate and you to have admin rights.

What is RCE?

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

More from F5

View all

The newest disclosed reports for this program.

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.