In some configurations an attacker can inject a new executable path into the extensions.load file for osquery and hard link a parent folder of a malicious binary to a folder with known βsafeβ permissions. Under those circumstances osquery will load said malicious executable with SYSTEM permissions. The solution is to migrate installations to the βProgram Filesβ directory on Windows which restricts unprivileged write access. This issue affects osquery prior to v3.4.0.
[
{
"product": "osquery",
"vendor": "Facebook",
"versions": [
{
"status": "affected",
"version": "3.4.0"
},
{
"lessThan": "3.4.0",
"status": "affected",
"version": "unspecified",
"versionType": "custom"
}
]
}
]