{"id":"CVE-2020-12271","aliases":["CVE-2020-12271"],"related":[],"kind":"vulnerability","state":"published","title":"Sophos SFOS SQL Injection Vulnerability","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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)","source":"cvelist"},{"lang":"es","text":"Se descubrió´ un problema de inyección SQL en SFOS versiones 17.0, 17.1, 17.5 y versiones 18.0 antes del 25-04-2020, en los dispositivos Firewall Sophos XG, tal como se explotó \"in the wild\" en abril de 2020. Esto afectó a los dispositivos configurados con el servicio de administración (HTTPS) o el Portal de Usuario expuesto en la zona WAN. Un ataque con éxito puede haber filtrado nombres de usuario y contraseñas del hash a los administradores de los dispositivos locales, los administradores del portal y las cuentas de usuario usadas para el acceso remoto (pero no las contraseñas externas de Active Directory o LDAP).","source":"nvd"},{"lang":"en","text":"Sophos Firewall operating system (SFOS) firmware contains a SQL injection vulnerability when configured with either the administration (HTTPS) service or the User Portal is exposed on the WAN zone. Successful exploitation may cause remote code execution to exfiltrate 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).","source":"kev"}],"published":"2020-04-27T04:00:01.000Z","modified":"2026-06-17T02:51:32.573Z","severity":{"scorer":"mitre","scheme":"CVSS:3.0","vector":"CVSS:3.0/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.0","vector":"CVSS:3.0/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"17.0"},{"status":"affected","version":"17.1"},{"status":"affected","version":"17.5"},{"status":"affected","version":"18.0"}],"vendor":"sophos","product":"sfos","cpe":"cpe:2.3:o:sophos:sfos:17.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"Sophos","product":"SFOS","source":"kev"}],"references":[{"url":"https://cwe.mitre.org/data/definitions/89.html","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://community.sophos.com/kb/en-us/135412","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://news.sophos.com/en-us/2020/04/26/asnarok/","tags":["exploit","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-12271","tags":["government-resource","us-government-resource"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12271","tags":["kev"],"sources":["kev"]}],"credits":[],"assigner":"mitre","kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","name":"Sophos SFOS SQL Injection Vulnerability","requiredAction":"Apply updates per vendor instructions.","ransomware":true,"notes":"https://nvd.nist.gov/vuln/detail/CVE-2020-12271"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"yes","technicalImpact":"total","date":"2025-02-04T19:54:52.090Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-12271","url":"https://www.cve.org/CVERecord?id=CVE-2020-12271","licence":"CVE Terms of Use","modified":"2025-10-21T23:35:45.408Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-12271","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12271","licence":"Public domain","modified":"2026-06-17T02:51:32.573Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2020-12271","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2020-12271","licence":"CC0-1.0","modified":"2021-11-03T00:00:00.000Z"}],"updatedAt":"2026-11-25T22:57:52.184Z","epss":{"score":0.43062,"percentile":0.98745,"date":"2026-12-01T12:00:22.000Z"}}