CVE-2018-6854: Buffer Overflow

Published Jul 9, 2018
·
Updated

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 multiple IOCTLs, e.g., 0x8810200B, 0x8810200F, 0x8810201B, 0x8810201F, 0x8810202B, 0x8810202F, 0x8810203F, 0x8810204B, 0x88102003, 0x88102007, 0x88102013, 0x88102017, 0x88102027, 0x88102033, 0x88102037, 0x88102043, and 0x88102047. When some conditions in the user-controlled input buffer are not met, the driver writes an error code (0x2000001A) to a user-controlled address. Also, note that all the aforementioned IOCTLs use transfer type METHODNEITHER, which means that the I/O manager does not validate any of the supplied pointers and buffer sizes. So, even though the driver checks for input/output buffer sizes, it doesn't validate if the pointers to those buffers are actually valid. So, we can supply a pointer for the output buffer to a kernel address space address, and the error code will be written there. We can take advantage of this condition to modify the SEPTOKENPRIVILEGES structure of the Token object belonging to the exploit process and grant SEDEBUGNAME privilege. This allows the exploit process to interact with higher privileged processes running as SYSTEM and execute code in their security context.

Affected Software

13 affected components
Sophos SafeGuard Easy Device Encryption Client=6.00
Sophos SafeGuard Easy Device Encryption Client=6.10
Sophos SafeGuard Easy Device Encryption Client=7.00
Sophos Safeguard Enterprise Client=5.60.3-vs-nfd
Sophos Safeguard Enterprise Client=6.00
Sophos Safeguard Enterprise Client=6.00.1
Sophos Safeguard Enterprise Client=6.10
Sophos Safeguard Enterprise Client=7.00
Sophos Safeguard Enterprise Client=8.00
Sophos Safeguard Lan Crypt Client=3.90.1-ts
Sophos Safeguard Lan Crypt Client=3.90.2
Sophos Safeguard Lan Crypt Client=3.95.1
Sophos Safeguard Lan Crypt Client=3.95.1-ts

Event History

Jul 9, 2018
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-6854?

CVE-2018-6854 is considered a high severity vulnerability due to its potential for local privilege escalation.

2

How do I fix CVE-2018-6854?

To mitigate CVE-2018-6854, update Sophos SafeGuard Enterprise, SafeGuard Easy, or SafeGuard LAN Crypt to the latest versions: SafeGuard Enterprise 8.00.5 or later, SafeGuard Easy 7.00.3 or later, and SafeGuard LAN Crypt 3.95.2 or later.

3

What products are affected by CVE-2018-6854?

CVE-2018-6854 affects Sophos SafeGuard Enterprise versions before 8.00.5, SafeGuard Easy versions before 7.00.3, and SafeGuard LAN Crypt versions before 3.95.2.

4

What type of vulnerability is CVE-2018-6854?

CVE-2018-6854 is classified as a local privilege escalation vulnerability.

5

Can CVE-2018-6854 be exploited remotely?

No, CVE-2018-6854 requires local access to the affected system for exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203