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

Medium 6.1 Published Updated

Unauthenticated attackers can execute persistent XSS in the WAF log page to gain admin privileges and perform actions like creating users or enabling SSH.

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

What is CVE-2017-18014?

CVE-2017-18014 is a medium-severity cross-site scripting vulnerability in n/a, published on 12 Jan 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An NC-25986 issue was discovered in the Logging subsystem of Sophos XG Firewall with SFOS before 17.0.3 MR3. An unauthenticated user can trigger a persistent XSS vulnerability found in the WAF log page (Control Center -> Log Viewer -> in the filter option "Web Server Protection") in the webadmin interface, and execute any action available to the webadmin of the firewall (e.g., creating a new user, enabling SSH, or adding an SSH authorized key). The WAF log page will execute the "User-Agent" parameter in the HTTP POST request.

Weakness: CWE-79

Which versions are affected by CVE-2017-18014?

It affects 1 product.

Products include Sophos Sfos.

How do I fix CVE-2017-18014?

No fix has been published for CVE-2017-18014 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-18014 being exploited?

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

Sources

Also known as GHSA-9x6w-27m6-6fwq.

Is CVE-2017-18014 in your software?

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

Check your SBOMs for free