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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://pastebin.com/DUYuN0U5Exploit
- http://swa.sophos.com/rn/swa/concepts/ReleaseNotes_4.3.1.htmlRelease Notes
- http://www.securityfocus.com/bid/95853Third Party Advisory, VDB Entry
- https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1Release Notes
- http://pastebin.com/DUYuN0U5Exploit
- http://swa.sophos.com/rn/swa/concepts/ReleaseNotes_4.3.1.htmlRelease Notes
- http://www.securityfocus.com/bid/95853Third Party Advisory, VDB Entry
- https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1Release Notes
Timeline
- Published
- Jan 28, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified