CVE-2018-16118
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 3.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.7% in the next 30 days (EPSS).
- Severity: 8.1 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.7% · EPSS, next 30 days
- Weakness
- CWE-78 · OS command injection
- Record status
- Modified
Affected
- Sophos Sfos ≤ 16.0
- Sophos Sfos 16.5
- Sophos Sfos 17.0
- Sophos Sfos 17.0.8
- Sophos Sfos 17.1
Attack profile CVSS 3.0 · 8.1
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2018-16118.md and follow it. Check whether this project is affected by CVE-2018-16118. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://community.sophos.com/kb/en-us/132637
- https://github.com/klsecservices/Advisories/blob/master/KL-SOPHOS-2018-003.md
- https://www.sophos.com/en-us/legal/sophos-responsible-disclosure-policy.aspx
- https://community.sophos.com/kb/en-us/132637
- https://github.com/klsecservices/Advisories/blob/master/KL-SOPHOS-2018-003.md
- https://www.sophos.com/en-us/legal/sophos-responsible-disclosure-policy.aspx
References
- https://community.sophos.com/kb/en-us/132637
- https://github.com/klsecservices/Advisories/blob/master/KL-SOPHOS-2018-003.md
- https://www.sophos.com/en-us/legal/sophos-responsible-disclosure-policy.aspx
- https://community.sophos.com/kb/en-us/132637
- https://github.com/klsecservices/Advisories/blob/master/KL-SOPHOS-2018-003.md
- https://www.sophos.com/en-us/legal/sophos-responsible-disclosure-policy.aspx