CVE-2017-18001 Missing authorization in n/a

Critical 9.8 Published Updated

Remote attackers can add arbitrary SSH keys to gain root access due to missing authorization on the key upload endpoint.

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-2017-18001?

CVE-2017-18001 is a critical missing authorization vulnerability in n/a, published on 31 Dec 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Trustwave Secure Web Gateway (SWG) through 11.8.0.27 allows remote attackers to append an arbitrary public key to the device's SSH Authorized Keys data, and consequently obtain remote root access, via the publicKey parameter to the /sendKey URI.

Weakness: CWE-306

Which versions are affected by CVE-2017-18001?

It affects 1 product.

Products include Trustwave Secure Web Gateway.

How do I fix CVE-2017-18001?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2017-18001 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-p7mr-jqmx-qq7x.

Is CVE-2017-18001 in your software?

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

Check your SBOMs for free