7.2high

CVE-2016-9554in critical feed1 exploit

The Sophos Web Appliance Remote / Secure Web Gateway server (version 4.2.1.3) is vulnerable to a Remote Command Injection vulnerability in…

Published 9 y ago · modified 4 mo ago · JSON

CVSS
7.2
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
25.1%
percentile 98%
Public exploits
1
Exploit-DB

Summary

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.

Exploit prediction (EPSS)

25.06% probability of exploitation in the next 30 days, higher than 98% of all scored CVEs.

Exploits and detections

  • EDB-41414 Sophos Web Appliance 4.2.1.3 - DiagnosticTools Remote Command Injection (Metasploit) · webapps · 2016-12-12

CVSS scores

Assigned byVersionScoreVector
NVD3.07.2CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD2.09.0AV:N/AC:L/Au:S/C:C/I:C/A:C

Classification

Weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

  • securityfocus.com /bid/95858 · vdb-entry, x_refsource_BID, x_transferred
  • pastebin.com /UB8Ye6ZU · x_refsource_MISC, x_transferred
  • community.sophos.com /products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1 · x_refsource_CONFIRM, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.