CVE-2016-9553
Description
The Sophos Web Appliance (version 4.2.1.3) is vulnerable to two Remote Command Injection vulnerabilities affecting its web administrative interface. These vulnerabilities occur in the MgrReport.php (/controllers/MgrReport.php) component responsible for blocking and unblocking IP addresses from accessing the device. The device doesn't properly escape the information passed in the variables 'unblockip' and 'blockip' before calling the shell_exec() function which allows for system commands to be injected into the device. The code erroneously suggests that the information handled is protected by utilizing the variable name 'escapedips' - however this was not the case. The Sophos ID is NSWA-1258.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Sophos Web Appliance 4.2.1.3 - block/unblock Remote Command Injection (Metasploit)
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| sophos | web_appliance | 4.2.1.3 | |
References
- http://pastebin.com/DUYuN0U5
- http://swa.sophos.com/rn/swa/concepts/ReleaseNotes_4.3.1.html
- http://www.securityfocus.com/bid/95853
- https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1
- http://pastebin.com/DUYuN0U5
- http://swa.sophos.com/rn/swa/concepts/ReleaseNotes_4.3.1.html
- http://www.securityfocus.com/bid/95853
- https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1
CWEs
CWE-77
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.