CVE-2018-16118: Sophos XG Firewall - Command Injection
- Cve: CVE-2018-16118
- Name: Sophos XG Firewall - Command Injection
- Description: A shell escape vulnerability in /webconsole/APIController in the API Configuration component of Sophos XG firewall 17.0.8 MR-8 allows remote attackers to execute arbitrary OS commands via shell metachracters in the "X-Forwarded-for" HTTP header.
- Impact: Remote attackers can execute arbitrary OS commands, potentially leading to full system compromise.
- Remediation: Update to the latest firmware version that addresses this vulnerability or apply security patches provided by Sophos.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03724
- Epss percentile: 0.90082
- Assignee: [email protected]
- Published at: 2019-06-20T17:15:10Z
- Age in days: 2714
- Modified at: 2026-06-17T01:43:44Z
- Patch available: yes
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-16118
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/klsecservices/Advisories/blob/master/KL-SOPHOS-2018-003.md | Patch, Third Party Advisory |
| https://community.sophos.com/kb/en-us/132637 | Vendor Advisory |
| https://www.sophos.com/en-us/legal/sophos-responsible-disclosure-policy.aspx | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sophos:sfos | = 17.1, = 17.0.8 mr8, = 17.0, = 16.5, <= 16.0 | yes | nvd | /v1/products/sophos/sfos |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 9304
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports