CVE-2017-18001: SSH Authorized Keys Injection in Trustwave SWG
- Vendor
- Trustwave
A vulnerability in Trustwave Secure Web Gateway (SWG) through version 11.8.0.27 allows remote attackers to append arbitrary public keys to the device's SSH Authorized Keys file by sending a crafted request with the publicKey parameter to the /sendKey URI. This enables attackers to gain remote root access to the device via SSH.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to gain root access to the affected device by injecting their own SSH public key, leading to full system compromise.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the /sendKey URI to trusted hosts only, and monitor for unauthorized requests. Disable or tightly control access to SSH where possible until the vulnerability is remediated.
Remediation
Patch, then assume compromise.
Upgrade Trustwave Secure Web Gateway to a version where the /sendKey endpoint is properly secured and does not allow unauthorized modification of the SSH Authorized Keys file. Apply any patches or mitigations provided by the vendor.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2017-18001 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2017-18001 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2017-18001?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2017-18001.
- Is there a patch for CVE-2017-18001?
- Upgrade Trustwave Secure Web Gateway to a version where the /sendKey endpoint is properly secured and does not allow unauthorized modification of the SSH Authorized Keys file. Apply any patches or mitigations provided by the vendor.
- What products are affected by CVE-2017-18001?
- Trustwave Secure Web Gateway.
- How severe is CVE-2017-18001?
- CVE-2017-18001 has a CVSS v3 score of 9.8 (Critical) and an EPSS score of 14.1% (97th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.