CVE-2018-7502 Privilege escalation in Beckhoff TwinCAT PLC products

High 7.8 Published Updated

Attackers with local code execution can exploit improper pointer validation in TwinCAT kernel drivers to gain SYSTEM privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-7502?

CVE-2018-7502 is a high-severity vulnerability in ICS-CERT Beckhoff TwinCAT PLC products, published on 23 Mar 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Kernel drivers in Beckhoff TwinCAT 3.1 Build 4022.4, TwinCAT 2.11 R3 2259, and TwinCAT 3.1 lack proper validation of user-supplied pointer values. An attacker who is able to execute code on the target may be able to exploit this vulnerability to obtain SYSTEM privileges.

Weakness: CWE-20, CWE-822

Which versions are affected by CVE-2018-7502?

It affects 2 products.

Products include Beckhoff Twincat, Beckhoff Twincat C\+\+.

How do I fix CVE-2018-7502?

No fix has been published for CVE-2018-7502 yet. Limit exposure of the affected software until one is available.

Is CVE-2018-7502 being exploited?

There is no known exploitation of CVE-2018-7502 in the wild and no public exploit code.

Sources

Also known as CVE-2017-14776, CVE-2017-14777, CVE-2017-14778, CVE-2017-14779, CVE-2017-14780, CVE-2017-14781 and 14 more.

Is CVE-2018-7502 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free