ID CVE-2014-2850
Summary The network interface configuration page (netinterface) in Sophos Web Appliance before 3.8.2 allows remote administrators to execute arbitrary commands via shell metacharacters in the address parameter.
References
Vulnerable Configurations
  • Sophos Web Appliance firmware 3.8.1.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.8.1.1
  • Sophos Web Appliance firmware 3.8.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.8.1
  • Sophos Web Appliance firmware 3.8.0
    cpe:2.3:o:sophos:web_appliance_firmware:3.8.0
  • cpe:2.3:o:sophos:web_appliance_firmware:3.7.9.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.9.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.7.9
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.9
  • Sophos Web Appliance firmware 3.7.8.2
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.8.2
  • Sophos Web Appliance firmware 3.7.8.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.8.1
  • cpe:2.3:a:sophos:web_appliance_firmware:3.7.8
    cpe:2.3:a:sophos:web_appliance_firmware:3.7.8
  • cpe:2.3:o:sophos:web_appliance_firmware:3.7.7
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.7
  • cpe:2.3:o:sophos:web_appliance_firmware:3.7.6
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.6
  • cpe:2.3:o:sophos:web_appliance_firmware:3.7.5
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.5
  • cpe:2.3:o:sophos:web_appliance_firmware:3.7.4
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.4
  • cpe:2.3:o:sophos:web_appliance_firmware:3.7.3
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.3
  • cpe:2.3:o:sophos:web_appliance_firmware:3.7.2
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.2
  • cpe:2.3:o:sophos:web_appliance_firmware:3.7.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.7.0
    cpe:2.3:o:sophos:web_appliance_firmware:3.7.0
  • cpe:2.3:o:sophos:web_appliance_firmware:3.6.4.2
    cpe:2.3:o:sophos:web_appliance_firmware:3.6.4.2
  • cpe:2.3:o:sophos:web_appliance_firmware:3.6.4.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.6.4.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.6.4
    cpe:2.3:o:sophos:web_appliance_firmware:3.6.4
  • cpe:2.3:o:sophos:web_appliance_firmware:3.6.3
    cpe:2.3:o:sophos:web_appliance_firmware:3.6.3
  • cpe:2.3:o:sophos:web_appliance_firmware:3.6.2.4.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.6.2.4.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.6.2.4.0
    cpe:2.3:o:sophos:web_appliance_firmware:3.6.2.4.0
  • cpe:2.3:o:sophos:web_appliance_firmware:3.6.2.3
    cpe:2.3:o:sophos:web_appliance_firmware:3.6.2.3
  • cpe:2.3:o:sophos:web_appliance_firmware:3.6.2.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.6.2.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.6.2
    cpe:2.3:o:sophos:web_appliance_firmware:3.6.2
  • cpe:2.3:o:sophos:web_appliance_firmware:3.6.1.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.6.1.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.6.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.6.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.5.6
    cpe:2.3:o:sophos:web_appliance_firmware:3.5.6
  • cpe:2.3:o:sophos:web_appliance_firmware:3.5.5
    cpe:2.3:o:sophos:web_appliance_firmware:3.5.5
  • cpe:2.3:o:sophos:web_appliance_firmware:3.5.4
    cpe:2.3:o:sophos:web_appliance_firmware:3.5.4
  • cpe:2.3:o:sophos:web_appliance_firmware:3.5.3
    cpe:2.3:o:sophos:web_appliance_firmware:3.5.3
  • cpe:2.3:o:sophos:web_appliance_firmware:3.5.2
    cpe:2.3:o:sophos:web_appliance_firmware:3.5.2
  • cpe:2.3:o:sophos:web_appliance_firmware:3.5.1.2
    cpe:2.3:o:sophos:web_appliance_firmware:3.5.1.2
  • cpe:2.3:o:sophos:web_appliance_firmware:3.5.1.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.5.1.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.5.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.5.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.5.0
    cpe:2.3:o:sophos:web_appliance_firmware:3.5.0
  • cpe:2.3:o:sophos:web_appliance_firmware:3.4.8
    cpe:2.3:o:sophos:web_appliance_firmware:3.4.8
  • cpe:2.3:o:sophos:web_appliance_firmware:3.4.7
    cpe:2.3:o:sophos:web_appliance_firmware:3.4.7
  • cpe:2.3:o:sophos:web_appliance_firmware:3.4.6
    cpe:2.3:o:sophos:web_appliance_firmware:3.4.6
  • cpe:2.3:o:sophos:web_appliance_firmware:3.4.5
    cpe:2.3:o:sophos:web_appliance_firmware:3.4.5
  • cpe:2.3:o:sophos:web_appliance_firmware:3.4.4
    cpe:2.3:o:sophos:web_appliance_firmware:3.4.4
  • cpe:2.3:o:sophos:web_appliance_firmware:3.4.3.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.4.3.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.4.3
    cpe:2.3:o:sophos:web_appliance_firmware:3.4.3
  • cpe:2.3:o:sophos:web_appliance_firmware:3.4.2
    cpe:2.3:o:sophos:web_appliance_firmware:3.4.2
  • cpe:2.3:o:sophos:web_appliance_firmware:3.4.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.4.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.4.0
    cpe:2.3:o:sophos:web_appliance_firmware:3.4.0
  • cpe:2.3:o:sophos:web_appliance_firmware:3.3.6.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.3.6.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.3.6
    cpe:2.3:o:sophos:web_appliance_firmware:3.3.6
  • cpe:2.3:o:sophos:web_appliance_firmware:3.3.5.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.3.5.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.3.5
    cpe:2.3:o:sophos:web_appliance_firmware:3.3.5
  • cpe:2.3:o:sophos:web_appliance_firmware:3.3.4
    cpe:2.3:o:sophos:web_appliance_firmware:3.3.4
  • cpe:2.3:o:sophos:web_appliance_firmware:3.3.3.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.3.3.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.3.3
    cpe:2.3:o:sophos:web_appliance_firmware:3.3.3
  • cpe:2.3:o:sophos:web_appliance_firmware:3.3.2
    cpe:2.3:o:sophos:web_appliance_firmware:3.3.2
  • cpe:2.3:o:sophos:web_appliance_firmware:3.3.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.3.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.3.0
    cpe:2.3:o:sophos:web_appliance_firmware:3.3.0
  • cpe:2.3:o:sophos:web_appliance_firmware:3.2.7
    cpe:2.3:o:sophos:web_appliance_firmware:3.2.7
  • cpe:2.3:o:sophos:web_appliance_firmware:3.2.6
    cpe:2.3:o:sophos:web_appliance_firmware:3.2.6
  • cpe:2.3:o:sophos:web_appliance_firmware:3.2.5
    cpe:2.3:o:sophos:web_appliance_firmware:3.2.5
  • cpe:2.3:o:sophos:web_appliance_firmware:3.2.4
    cpe:2.3:o:sophos:web_appliance_firmware:3.2.4
  • cpe:2.3:o:sophos:web_appliance_firmware:3.2.3
    cpe:2.3:o:sophos:web_appliance_firmware:3.2.3
  • cpe:2.3:o:sophos:web_appliance_firmware:3.2.2.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.2.2.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.2.2
    cpe:2.3:o:sophos:web_appliance_firmware:3.2.2
  • cpe:2.3:o:sophos:web_appliance_firmware:3.2.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.2.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.1.4
    cpe:2.3:o:sophos:web_appliance_firmware:3.1.4
  • cpe:2.3:o:sophos:web_appliance_firmware:3.1.3
    cpe:2.3:o:sophos:web_appliance_firmware:3.1.3
  • cpe:2.3:o:sophos:web_appliance_firmware:3.1.2
    cpe:2.3:o:sophos:web_appliance_firmware:3.1.2
  • cpe:2.3:o:sophos:web_appliance_firmware:3.1.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.1.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.1.0.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.1.0.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.1.0
    cpe:2.3:o:sophos:web_appliance_firmware:3.1.0
  • cpe:2.3:o:sophos:web_appliance_firmware:3.0.5.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.0.5.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.0.5
    cpe:2.3:o:sophos:web_appliance_firmware:3.0.5
  • cpe:2.3:o:sophos:web_appliance_firmware:3.0.4
    cpe:2.3:o:sophos:web_appliance_firmware:3.0.4
  • cpe:2.3:o:sophos:web_appliance_firmware:3.0.3
    cpe:2.3:o:sophos:web_appliance_firmware:3.0.3
  • cpe:2.3:o:sophos:web_appliance_firmware:3.0.2
    cpe:2.3:o:sophos:web_appliance_firmware:3.0.2
  • cpe:2.3:o:sophos:web_appliance_firmware:3.0.1.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.0.1.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.0.1
    cpe:2.3:o:sophos:web_appliance_firmware:3.0.1
  • cpe:2.3:o:sophos:web_appliance_firmware:3.0.0
    cpe:2.3:o:sophos:web_appliance_firmware:3.0.0
  • Sophos Web Appliance
    cpe:2.3:h:sophos:web_appliance
CVSS
Base: 8.5 (as of 14-04-2014 - 11:38)
Impact:
Exploitability:
CWE CWE-78
CAPEC
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.
  • Command Delimiters
    An attack of this type exploits a programs' vulnerabilities that allows an attacker's commands to be concatenated onto a legitimate command with the intent of targeting other resources such as the file system or database. The system that uses a filter or a blacklist input validation, as opposed to whitelist validation is vulnerable to an attacker who predicts delimiters (or combinations of delimiters) not present in the filter or blacklist. As with other injection attacks, the attacker uses the command delimiter payload as an entry point to tunnel through the application and activate additional attacks through SQL queries, shell commands, network scanning, and so on.
  • Exploiting Multiple Input Interpretation Layers
    An attacker supplies the target software with input data that contains sequences of special characters designed to bypass input validation logic. This exploit relies on the target making multiples passes over the input data and processing a "layer" of special characters with each pass. In this manner, the attacker can disguise input that would otherwise be rejected as invalid by concealing it with layers of special/escape characters that are stripped off by subsequent processing steps. The goal is to first discover cases where the input validation layer executes before one or more parsing layers. That is, user input may go through the following logic in an application: In such cases, the attacker will need to provide input that will pass through the input validator, but after passing through parser2, will be converted into something that the input validator was supposed to stop.
  • Argument Injection
    An attacker changes the behavior or state of a targeted application through injecting data or command syntax through the targets use of non-validated and non-filtered arguments of exposed services or methods.
  • OS Command Injection
    In this type of an attack, an adversary injects operating system commands into existing application functions. An application that uses untrusted input to build command strings is vulnerable. An adversary can leverage OS command injection in an application to elevate privileges, execute arbitrary commands and compromise the underlying operating system.
Access
VectorComplexityAuthentication
NETWORK MEDIUM SINGLE_INSTANCE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
exploit-db via4
description Sophos Web Protection Appliance Interface Authenticated Arbitrary Command Execution. CVE-2014-2850. Remote exploit for unix platform
file exploits/unix/remote/32789.rb
id EDB-ID:32789
last seen 2016-02-03
modified 2014-04-10
platform unix
port 443
published 2014-04-10
reporter metasploit
source https://www.exploit-db.com/download/32789/
title Sophos Web Protection Appliance Interface Authenticated Arbitrary Command Execution
type remote
metasploit via4
description This module takes advantage of two vulnerabilities in order to gain remote code execution as root as an otherwise non-privileged authorized user. By taking advantage of a mass assignment vulnerability that allows an unprivileged authenticated user to change the administrator's password hash, the module updates the password to login as the admin to reach the second vulnerability. No server-side sanitization is done on values passed when configuring a static network interface. This allows an administrator user to run arbitrary commands in the context of the web application, which is root when configuring the network interface. This module will inadvertently delete any other users that may have been present as a side effect of changing the admin's password.
id MSF:EXPLOIT/LINUX/HTTP/SOPHOS_WPA_IFACE_EXEC
last seen 2019-03-13
modified 2018-07-12
published 2014-04-09
reliability Excellent
reporter Rapid7
source https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/sophos_wpa_iface_exec.rb
title Sophos Web Protection Appliance Interface Authenticated Arbitrary Command Execution
refmap via4
bid 66734
confirm http://www.sophos.com/en-us/support/knowledgebase/120230.aspx
misc http://www.zerodayinitiative.com/advisories/ZDI-14-069/
secunia 57706
Last major update 14-04-2014 - 11:38
Published 11-04-2014 - 11:55
Back to Top