SSH Authorized Keys Injection in Trustwave SWG
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.