Sophos Web Appliance Remote/Secure Web Gateway Server up to 4.2.1.3 Web Admin Interface MgrDiagnosticTools.php exec $this->dtObj->executeCommand) command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.4$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in Sophos Web Appliance Remote and Secure Web Gateway Server up to 4.2.1.3. The affected element is the function exec of the file /controllers/MgrDiagnosticTools.php of the component Web Admin Interface. The manipulation of the argument $this->dtObj->executeCommand) leads to command injection. This vulnerability is referenced as CVE-2016-9554. Remote exploitation of the attack is possible. Furthermore, an exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in Sophos Web Appliance Remote and Secure Web Gateway Server up to 4.2.1.3 (Firewall Software). It has been rated as critical. This issue affects the function exec of the file /controllers/MgrDiagnosticTools.php of the component Web Admin Interface. The manipulation of the argument $this->dtObj->executeCommand) with an unknown input leads to a command injection vulnerability. Using CWE to declare the problem leads to CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

The Sophos Web Appliance Remote / Secure Web Gateway server (version 4.2.1.3) is vulnerable to a Remote Command Injection vulnerability in its web administrative interface. These vulnerabilities occur in MgrDiagnosticTools.php (/controllers/MgrDiagnosticTools.php), in the component responsible for performing diagnostic tests with the UNIX wget utility. The application doesn't properly escape the information passed in the 'url' variable before calling the executeCommand class function ($this->dtObj->executeCommand). This function calls exec() with unsanitized user input allowing for remote command injection. The page that contains the vulnerabilities, /controllers/MgrDiagnosticTools.php, is accessed by a built-in command answered by the administrative interface. The command that calls to that vulnerable page (passed in the 'section' parameter) is: 'configuration'. Exploitation of this vulnerability yields shell access to the remote machine under the 'spiderman' user account.

The bug was discovered 02/24/2017. The weakness was published 01/28/2017 by Russell Sanford (Website). The advisory is shared at community.sophos.com. The identification of this vulnerability is CVE-2016-9554 since 11/22/2016. The attack may be initiated remotely. A simple authentication is required for exploitation. Technical details as well as a public exploit are known. MITRE ATT&CK project uses the attack technique T1202 for this issue.

The exploit is available at exploit-db.com. It is declared as proof-of-concept. By approaching the search of inurl:controllers/MgrDiagnosticTools.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 100846 (Sophos Web Appliance < 4.3.1 Multiple Remote Command Injection Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r.

Upgrading eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Exploit-DB (41414), Tenable (100846) and SecurityFocus (BID 95858†). Similar entry is available at VDB-96244. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.7
VulDB Meta Temp Score: 6.4

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.2
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Command injection
CWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 100846
Nessus Name: Sophos Web Appliance < 4.3.1 Multiple Remote Command Injection Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Timelineinfo

11/22/2016 🔍
01/20/2017 +59 days 🔍
01/28/2017 +8 days 🔍
01/28/2017 +0 days 🔍
01/28/2017 +0 days 🔍
01/28/2017 +0 days 🔍
02/24/2017 +27 days 🔍
06/16/2017 +112 days 🔍
05/16/2026 +3256 days 🔍

Sourcesinfo

Vendor: sophos.com

Advisory: community.sophos.com
Researcher: Russell Sanford
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2016-9554 (🔍)
GCVE (CVE): GCVE-0-2016-9554
GCVE (VulDB): GCVE-100-96245
SecurityFocus: 95858 - Sophos Web Appliance CVE-2016-9554 Remote Command Injection Vulnerability

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 01/28/2017 22:32
Updated: 05/16/2026 23:21
Changes: 01/28/2017 22:32 (69), 12/29/2019 21:29 (11), 12/08/2024 13:25 (18), 05/16/2026 23:21 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!