CVE-2018-6228 SQL injection in Trend Micro Email Encryption Gateway

Critical 9.8 Published Updated

Attackers can exploit SQL injection in Trend Micro Email Encryption Gateway to upload and execute arbitrary code on the target system.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-6228?

CVE-2018-6228 is a critical SQL injection vulnerability in Trend Micro Email Encryption Gateway, published on 15 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A SQL injection vulnerability in a Trend Micro Email Encryption Gateway 5.5 policy script could allow an attacker to execute SQL commands to upload and execute arbitrary code that may harm the target system.

Weakness: CWE-89

Which versions are affected by CVE-2018-6228?

It affects 1 product.

Products include Trendmicro Email Encryption Gateway.

How do I fix CVE-2018-6228?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2018-6228 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-6228 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-252f-47x2-rgxx.

Is CVE-2018-6228 in your software?

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

Check your SBOMs for free