Intel SSD Toolbox 3.4.3 DLL Hijacking

Intel SSD Toolbox version 3.4.3 suffers from a dll hijacking vulnerability.

MD5 | cfd10a2e92d00e760fa07674700e0a87

Hi @ll,

executable installers built with Intels Installation Framework,
for example "Intel SSD Toolbox - v3.4.3.exe", available from
<>, expose two
vulnerabilities, both resulting in arbitrary code execution
with escalation of privilege.

Vulnerability #1:

On a fully patched Windows 7 SP1 they load and execute (at least)
Cabinet.dll, Version.dll, RichEd20.dll, UXTheme.dll or DMWAPI.dll
(on other versions of Windows different DLLs may be affected)
from the directory they are stored (their so-called "application
directory") instead Windows' "system directory"
%SystemRoot%\System32\", resulting in arbitrary code execution.

DLL hijacking is a 20 year old, well-known and well-documented
vulnerability, and a typical (but ubiquituous) beginner's error:
see <>,
<> and
<> plus
<!execute.html> for more

For software downloaded with a web browser the "application
directory" is typically the user's "Downloads" directory: see
<> and
<> plus
<> and

Due to the specification "requireAdministrator" in the application
manifest embedded within the executable, installers like
"Intel SSD Toolbox - v3.4.3.exe" run with administrative privileges
("protected" administrators are prompted for consent, unprivileged
standard users are prompted for an administrator password),
resulting in an escalation of privilege!

If (one of) the DLLs named above get(s) planted in the users
"Downloads" directory, for example per "drive-by download", this
vulnerability becomes a remote code execution WITH escalation of

Proof of concept/demonstration:

1. visit <>,
and save it as Cabinet.dll in your "Downloads" directory, then
copy it as Version.dll, RichEd20.dll, UXTheme.dll and DWMAPI.dll;

2. visit <>, download
and save it in your "Downloads" directory;

3. execute "Intel SSD Toolbox - v3.4.3.exe" from your "Downloads"

4. notice the message boxes displayed from the DLLs placed in
step 1: PWNED!

Mitigation & detection:

* NEVER run executable installers from your "Downloads" directory;

* dump/avoid executable installers, use *.MSI instead!

* see <!execute.html> plus

* also see <>

Vulnerability #2:

On EVERY version of Windows these installers create UNSAFE
(sub)directories "%TEMP%\IIF<abcd>.tmp\", "%TEMP%\IIF<abcd>.tmp\Lang\"
and "%TEMP%\IIF<abcd>.tmp\Lang\<ll>-<CC>\", extract some dozen
DLLs "%TEMP%\IIF<abcd>.tmp\Lang\<ll>-<CC>\setup.exe.dll" and load
ALL of them with administrative privileges.

An unprivileged attacker^Wuser can replace these DLLs between their
creation and their use, again resulting in elevation of privilege.

See <> and
<> for this
well-known and well-documented vulnerability.

Proof of concept/demonstration:

1. visit <>,
then download
and save it in an arbitrary directory;

2. save the following batch script in the same directory:

--- IIF.CMD ---
@If Not Exist "%TEMP%\IIF????.tmp" Goto :WAIT
For /D %%! In ("%TEMP%\IIF????.tmp") Do Set IIFTMP=%%!
For /R "%IIFTMP%" %%! In (setup.exe.dll) Do Copy SENTINEL.DLL "%%!"
--- EOF ---

3. start the batch script;

4. execute "Intel SSD Toolbox - v3.4.3.exe".

stay tuned
Stefan Kanthak


2017-03-06 vulnerability report sent to vendor

2017-03-06 automatic reply "we received your report"

2017-03-06 reply from vendor:
"We will escalate this to the appropriate team and get
back to you in the next couple of days."

2017-03-14 followup from vendor:
"Our technical team has confirmed the finding and an
update is being created."

2017-03-15 question sent to vendor:
"Will all executable installers built with the
vulnerable IIF be fixed, or just the one I picked?"

2017-03-15 reply from vendor:
"We are getting an update from the product team this
week and will relay your concerns."

2017-04-21 notication from vendor:
"due to an unrelated problem we are delaying release
until the week of May 22. I can provide you with a
build that has the DLL hijacking fixed if you'd like."

2017-04-21 answer to vendor: "yes, I'd like to test it!"

2017-05-04 reply from vendor:
"we produced an official build (not beta) toward the
May 22 release, and we are very interested for you to
put it through your 'minefield'"

2017-05-05 notication from vendor:
"fixed installer for the SSD toolbox available from

2017-05-11 resent question from 2017-03-15 to vendor:
"Will all executable installers built with the
vulnerable IIF be fixed, or just the one I picked?"

2017-05-30 vendor publishes advisory INTEL-SA-00074

Related Posts