CVE-2017-6340 Cross-site scripting in n/a

Medium 5.4 Published Updated

An authenticated user can inject malicious JavaScript via report templates, leading to code execution and bypassing access controls in Trend Micro IWSVA.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2017-6340?

CVE-2017-6340 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Apr 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Trend Micro InterScan Web Security Virtual Appliance (IWSVA) 6.5 before CP 1746 does not sanitize a rest/commonlog/report/template name field, which allows a 'Reports Only' user to inject malicious JavaScript while creating a new report. Additionally, IWSVA implements incorrect access control that allows any authenticated, remote user (even with low privileges like 'Auditor') to create or modify reports, and consequently take advantage of this XSS vulnerability. The JavaScript is executed when victims visit reports or auditlog pages.

Weakness: CWE-79

Which versions are affected by CVE-2017-6340?

It affects 1 product.

Products include Trendmicro Interscan Web Security Virtual Appliance.

How do I fix CVE-2017-6340?

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

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2017-6340 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-v737-x8qm-mgf3.

Is CVE-2017-6340 in your software?

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

Check your SBOMs for free