Skip to content
Access control Advisory Intermediate CVE-2021-22784

Schneider Electric C-Bus Toolkit Missing Authentication Vulnerability

The C-Gate 2 Service in Schneider Electric C-Bus Toolkit lacks authentication, allowing a crafted webpage to enable remote access. An attacker could combine this with other vulnerabilities to execute arbitrary code as SYSTEM.

rgod Follow

Originally disclosed on Zero Day Initiative

Medium 6.5 View original

This vulnerability allows remote attackers to bypass authentication on affected installations of Schneider Electric C-Bus Toolkit. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

rgod, 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 C-Gate 2 Service does not require any authentication before accepting commands that enable remote access.

Impact

An attacker could enable remote access and, in conjunction with other vulnerabilities, execute arbitrary code with SYSTEM privileges, but user interaction is required.

What the attacker needed

Target visits a malicious page; C-Gate 2 Service reachable on TCP port 20023

The fix

The vulnerability was fixed by the vendor in an update.

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.

This is a missing authentication flaw in a service that runs on a computer. Normally, a service should check who is connecting before allowing access, but here it does not. An attacker could trick a user into visiting a malicious webpage that then talks to the service and turns on remote access, which could later be used to run harmful code.

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 rgod

View all

696 more disclosed reports, best first.

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.