9

CVE-2016-9554: sophos web_appliance Command Injection

CVSS: 9.0v2.0HighModified
Published 28-01-2017Last modified 06-08-2024

Vulnerability summary

CVE-2016-9554 is a high (CVSS 9.0) Command Injection vulnerability in sophos web_appliance. EPSS estimates a 25.06% chance of exploitation in the next 30 days, higher than 97.9% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.0/10
010
High · v2.0 (NVD)
EPSS score
25.06%
0%100%
High · +0.43 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference, exploit-database

Timeline

  1. 28-01-2017
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

25.06%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

+0.43 pp

From 24.63% on 20-09-2026

20-09-202620-10-2026
EPSS score
25.06%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (pastebin.com)

    Maturity: unknown

  • exploit-databaselinuxVerified

    Sophos Web Appliance 4.2.1.3 - DiagnosticTools Remote Command Injection (Metasploit)

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Sophos1 product

1 vendor · 1 product

References

3 links