{"schemaVersion":3,"id":"CVE-2018-6857","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Sophos SafeGuard Enterprise before 8.00.5, SafeGuard Easy before 7.00.3, and SafeGuard LAN Crypt before 3.95.2 are vulnerable to Local Privilege Escalation via IOCTL 0x802022E0. By crafting an input buffer we can control the execution path to the point where the constant 0x12 will be written to a user-controlled address. We can take advantage of this condition to modify the SEP_TOKEN_PRIVILEGES structure of the Token object belonging to the exploit process and grant SE_DEBUG_NAME privilege. This allows the exploit process to interact with higher privileged processes running as SYSTEM and execute code in their security context.","dates":{"published":"2018-07-09T18:00:00.000Z","modified":"2024-08-05T06:17:17.086Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00614,"percentile":0.48414,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00614},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00905,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00614,"percentile":0.48414}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00905,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00614,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00614,"percentile":0.48414}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_9A5374AF81B13118","name":"Exploit Reference (labs.nettitude.com)","source":"reference","url":"https://labs.nettitude.com/blog/cve-2018-6851-to-cve-2018-6857-sophos-privilege-escalation-vulnerabilities/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"sophos","product":"safeguard_easy_device_encryption_client","name":"safeguard easy device encryption client","label":"safeguard_easy_device_encryption_client","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"6.00","noFixRecorded":false,"fixedIn":null},{"text":"6.10","noFixRecorded":false,"fixedIn":null},{"text":"7.00","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.00 | 6.10 | 7.00","eol":null,"hubHref":"/vendor/sophos/safeguard_easy_device_encryption_client"},{"vendor":"sophos","product":"safeguard_enterprise_client","name":"safeguard enterprise client","label":"safeguard_enterprise_client","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.60.3:vs-nfd","noFixRecorded":false,"fixedIn":null},{"text":"6.00","noFixRecorded":false,"fixedIn":null},{"text":"6.00.1","noFixRecorded":false,"fixedIn":null},{"text":"6.10","noFixRecorded":false,"fixedIn":null},{"text":"7.00","noFixRecorded":false,"fixedIn":null},{"text":"8.00","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.60.3:vs-nfd | 6.00 | 6.00.1 | 6.10 | 7.00 | 8.00","eol":null,"hubHref":"/vendor/sophos/safeguard_enterprise_client"},{"vendor":"sophos","product":"safeguard_lan_crypt_client","name":"safeguard lan crypt client","label":"safeguard_lan_crypt_client","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.90.1:ts","noFixRecorded":false,"fixedIn":null},{"text":"3.90.2","noFixRecorded":false,"fixedIn":null},{"text":"3.95.1","noFixRecorded":false,"fixedIn":null},{"text":"3.95.1:ts","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.90.1:ts | 3.90.2 | 3.95.1 | 3.95.1:ts","eol":null,"hubHref":"/vendor/sophos/safeguard_lan_crypt_client"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://community.sophos.com/kb/en-us/131934","label":"community.sophos.com/kb/en-us/131934","hostname":"community.sophos.com","tags":["X Refsource CONFIRM","Patch","Vendor Advisory"]},{"url":"http://seclists.org/fulldisclosure/2018/Jul/20","label":"seclists.org/fulldisclosure/2018/Jul/20","hostname":"seclists.org","tags":["Mailing List","X Refsource FULLDISC","Third Party Advisory"]},{"url":"https://labs.nettitude.com/blog/cve-2018-6851-to-cve-2018-6857-sophos-privilege-escalation-vulnerabilities/","label":"labs.nettitude.com/blog/cve-2018-6851-to-cve-2018-6857-sophos-privilege-escalation-vulnerabilities/","hostname":"labs.nettitude.com","tags":["X Refsource MISC","Exploit","Technical Description","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-07-09T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T06:17:17.086Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:11:51.359Z","stale":false,"partial":false}}