{"id":"CVE-2020-12271","kind":"vulnerability","aliases":["CVE-2020-12271"],"related":[],"title":"Sophos SFOS: Sophos SFOS SQL Injection Vulnerability","description":"A SQL injection issue was found in SFOS 17.0, 17.1, 17.5, and 18.0 before 2020-04-25 on Sophos XG Firewall devices, as exploited in the wild in April 2020. This affected devices configured with either the administration (HTTPS) service or the User Portal exposed on the WAN zone. A successful attack may have caused remote code execution that exfiltrated usernames and hashed passwords for the local device admin(s), portal admins, and user accounts used for remote access (but not external Active Directory or LDAP passwords)","summary":"Sophos Firewall (SFOS) has an SQL injection flaw in its web administration and User Portal when either is exposed on the WAN zone. Successful exploitation can lead to remote code execution and theft of local admin, portal and remote-access user password hashes.","severity":"critical","cvss":10.0,"epss":0.42434,"exploited":true,"exploited_at":"2021-11-03T00:00:00+00:00","products":[{"name":"Sophos SFOS","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["exploited","firewall","infrastructure","ransomware","self-hosted","sophos-sfos"],"not_affected_if":["default-config","no-wan-admin-or-portal-exposure"],"how_to_check":"Check whether the administration (HTTPS) service or the User Portal is enabled on the WAN zone in the firewall's web admin settings.","fix":"Apply the Sophos SFOS update per vendor instructions (CISA required action; specific fixed version unknown from sources).\nRemove WAN exposure of the admin HTTPS service and User Portal.","status":"open","published_at":"2020-04-27T04:15:10+00:00","first_seen_at":"2026-10-23T19:11:53+00:00","triaged_at":"2026-10-23T21:41:33+00:00","updated_at":"2026-10-23T21:57:34+00:00","category":"infrastructure","confidence":0.7,"triage":{"at":"2026-10-23T21:41:33Z","model":"claude-haiku-5-5","output":{"fix":"Apply the Sophos SFOS update per vendor instructions (CISA required action; specific fixed version unknown from sources).\nRemove WAN exposure of the admin HTTPS service and User Portal.","reach":"internet","impact":"high","summary":"Sophos Firewall (SFOS) has an SQL injection flaw in its web administration and User Portal when either is exposed on the WAN zone. Successful exploitation can lead to remote code execution and theft of local admin, portal and remote-access user password hashes.","category":"infrastructure","who_cares":["sophos-sfos","firewall","self-hosted"],"confidence":0.7,"needs_auth":"no","worst_case":"Attacker runs code on firewall and steals password hashes.","analyst_note":"Confirm fixed SFOS versions and exposure conditions from the Sophos advisory for CVE-2020-12271; sources given do not name a version.","how_to_check":"Check whether the administration (HTTPS) service or the User Portal is enabled on the WAN zone in the firewall's web admin settings.\nunknown","needs_analyst":true,"not_affected_if":["no-wan-admin-or-portal-exposure","default-config"],"user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"critical"},"cost_usd":0.000516,"input_tokens":2922,"output_tokens":447,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-04':85C '-12271':10A,13A '-2020':9A,12A '-25':86C '17.0':78C '17.1':79C '17.5':80C '18.0':82C '2020':84C,99C 'access':66B,148C 'account':144C 'activ':152C 'admin':61B,138C,141C 'administr':37B,107C 'affect':101C 'april':98C 'attack':121C 'caus':124C 'code':55B,126C 'configur':103C 'cve':8A,11A 'devic':91C,102C,137C 'directori':153C 'either':42B,105C 'execut':56B,127C 'exfiltr':129C 'exploit':16B,50B,93C 'expos':44B,114C 'extern':151C 'firewal':17B,27B,90C 'flaw':33B 'found':75C 'hash':69B,132C 'host':22B 'https':108C 'infrastructur':18B 'inject':6A,32B,72C 'issu':73C 'ldap':155C 'lead':52B 'local':60B,136C 'may':122C 'password':68B,133C,156C 'portal':40B,62B,113C,140C 'ransomwar':19B 'remot':54B,65B,125C,147C 'remote-access':64B 'self':21B 'self-host':20B 'servic':109C 'sfos':2A,4A,15A,25B,28B,77C 'sopho':1A,3A,24B,26B,88C 'sophos':14A 'sophos-sfo':23B 'sql':5A,31B,71C 'success':49B,120C 'theft':58B 'use':145C 'user':39B,67B,112C,143C 'usernam':130C 'vulner':7A 'wan':47B,117C 'web':36B 'wild':96C 'xg':89C 'zone':48B,118C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2020-04-27T04:15:10+00:00","kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","requiredAction":"Apply updates per vendor instructions.","knownRansomwareCampaignUse":"Known"},"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"nvd@nist.gov","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2020-12271","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2020-12271","severity":null,"published_at":"2021-11-03T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:53+00:00","fetched_at":"2026-10-25T12:39:25+00:00","note":null},{"source":"epss","external_id":"CVE-2020-12271","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-12271","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:43+00:00","fetched_at":"2026-10-23T19:13:43+00:00","note":null},{"source":"nvd","external_id":"CVE-2020-12271","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12271","severity":null,"published_at":"2020-04-27T04:15:10+00:00","modified_at":"2026-06-17T02:51:32+00:00","first_seen_at":"2026-10-23T21:57:34+00:00","fetched_at":"2026-10-23T21:57:34+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}