Skip to content
Access control Advisory Advanced CVE-2022-43946

Fortinet FortiClient VPN Improper Access Control Remote Code Execution Vulnerability

The FortiClient Logging daemon applies insufficient access controls to a sensitive pipe, allowing a remote authenticated attacker to execute code as SYSTEM. A local attacker can also use this to escalate privileges to SYSTEM.

Ting Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Fortinet FortiClient VPN. Authentication is required to exploit this vulnerability.

Ting, on the Zero Day Initiative

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 logging daemon's inter-process communication pipe lacked proper access controls, allowing unauthorised users to send privileged commands.

Impact

A remote authenticated attacker could execute arbitrary code as SYSTEM, and a local attacker could escalate privileges to SYSTEM.

What the attacker needed

Authentication required; local access for privilege escalation

The fix

Fortinet issued an update to correct the vulnerability.

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 pipe is a way for programs on the same computer to talk to each other. Here, a background service (the logging daemon) did not check properly who was allowed to use its pipe, so someone who should not have access could send it commands. Because the service runs with high privileges, those commands ran with the same high privileges, letting an attacker take control of 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 from Zero Day Initiative

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.