diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-09-21 17:12:50 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-09-26 17:44:03 +0200 |
commit | 9b24da3398581da1fa66c6b8f682bbcfa7ded4fd (patch) | |
tree | 2bac6d8a51f43dfe559f5283b96c02350b12a1dd /src/Common/Apidrvr.h | |
parent | b7f9df6e4f09ba342fdbbadc63af5062cc57eaf2 (diff) | |
download | VeraCrypt-9b24da3398581da1fa66c6b8f682bbcfa7ded4fd.tar.gz VeraCrypt-9b24da3398581da1fa66c6b8f682bbcfa7ded4fd.zip |
Windows Driver: Fix inherited TrueCrypt local elevation of privilege vulnerability caused by abusing the drive letter symbolic link creation facilities to remap the main system drive. Thanks to James Forshaw (Google) for reporting this issue and for helping implementing the fix.
Diffstat (limited to 'src/Common/Apidrvr.h')
-rw-r--r-- | src/Common/Apidrvr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Apidrvr.h b/src/Common/Apidrvr.h index d78e96db..4fc15767 100644 --- a/src/Common/Apidrvr.h +++ b/src/Common/Apidrvr.h @@ -322,7 +322,7 @@ typedef struct #define NT_MOUNT_PREFIX DRIVER_STR("\\Device\\VeraCryptVolume")
#define NT_ROOT_PREFIX DRIVER_STR("\\Device\\VeraCrypt")
-#define DOS_MOUNT_PREFIX DRIVER_STR("\\DosDevices\\")
+#define DOS_MOUNT_PREFIX DRIVER_STR("\\GLOBAL??\\") // Explicitely use Global MS-DOS device names to avoid security issues
#define DOS_ROOT_PREFIX DRIVER_STR("\\DosDevices\\VeraCrypt")
#define WIN32_ROOT_PREFIX DRIVER_STR("\\\\.\\VeraCrypt")
|