RCE in Trendmicro Interscan Messaging Security Virtual Appliance

CVE-2017-6398

An issue was discovered in Trend Micro InterScan Messaging Security (Virtual Appliance) 9.1-1600. An authenticated user can execute a terminal command in the context of the web server user (which is root). Besides, the default installation of IMSVA comes with default administrator credentials. The saveCert.imss endpoint takes several user inputs and performs blacklisting. After that, it uses them as arguments to a predefined operating-system command without proper sanitization. However, because of an improper blacklisting rule, it's possible to inject arbitrary commands into it.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.541 (98.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2017-6398?
CVE-2017-6398 is a high-severity vulnerability in Trendmicro Interscan Messaging Security Virtual Appliance, classified under OS Command Injection. CVSS score: 8.8/10. Published 2017-03-14.
How severe is CVE-2017-6398?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2017-6398 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.