CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway. Learn More

CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

SanDisk SSD Dashboard Vulnerabilities: CVE-2019-13466 & CVE-2019-13467

While recently upgrading my laptop with a new Solid State Drive (SSD), I installed a management utility that is used for SanDisk SSDs. A quick examination revealed a some potentially dangerous vulnerabilities in it. Now that these issues have gone through our responsible disclosure program and have been patched, we can discuss the details.

I discovered the first vulnerability (CVE-2019-13466) when doing quick strings dump from the main application binary (SanDiskSSDDashboard.exe):

strings - SanDiskSSDDashboard.exe
...
-pS@nD!sk.1
...

I was curious where this string is used and started monitoring the processes (with Process Monitor) that are created by the application when various functions are used. The "Generate Report File" feature eventually resulted in the following process creation:

"C:/Program Files (x86)/SanDisk/SSD Dashboard/7za.exe"  a -tzip "C:/SSD_Dashboard_Report.zip" "C:/Users/martin/Desktop/SSD_Dashboard_Report_msinfo.txt" "C:/SSD_Dashboard_Report_msinfo.txt" -pS@nD!sk.1

You can see here that the app uses a hard-coded password to protect customer report data which then supposed to be sent to SanDisk for examination. Needless to say, this "encryption" has no value. A better approach would be use public key instead of the password so only SanDisk having corresponding private key can decrypt the message. However according to the vendor advisory, they decided to get rid of the encryption altogether. Instead they recommend customers requiring support should manually share such reports with their Customer Support teams.

The second vulnerability (CVE-2019-13467) is more severe. Using a network capture running on the same computer as the app, it was clear that the application uses HTTP instead of HTTPS for communication with SanDisk site. This makes it trivial to attack users running this application in untrusted environments (e.g. using public internet hotspot). Specifically, a malicious user can create a rouge hotspot that the computer will join or launch a man-in-the-middle attack and then serve malicious content instead of the data requested by the app. One request it does is for available updates:

http://wddashboarddownloads.wdc.com/Dashboard/config/lista_updater.xml

The response looks like below:

<?xml version="1.0"?>
<lista xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Application_Installer>
    <version>2.3.3.0</version>
    <create_date>10/12/2018</create_date>
    <url>SanDiskSSDDashboardSetup.exe</url>
  </Application_Installer>
</lista>

If the version in the xml is greater than current app version, the app will download and run the executable specified in the url element. It would be incredibly easy to manipulate those values. In an attack scenario an unsuspecting user would be prompted to update the app but would end up running any arbitrary code or malware that the attacker wanted.

Sandisk addressed this issue by switching to HTTPS.

Users of the Western Digital and SanDisk SSD Dashboard are recommended to upgrade as soon as possible to at least version 2.5.1.0 in order address these issues. More information can be found on Western Digital’s website: https://www.westerndigital.com/support/productsecurity/wdc-19009-sandisk-and-western-digital-ssd-dashboard-vulnerabilities

Disclosure Timeline 

04/12/2019 - Vulnerability disclosed to vendor
07/11/2019 - Patch released by vendor
07/31/2019 - Advisory published

Latest SpiderLabs Blogs

Fake Dialog Boxes to Make Malware More Convincing

Let’s explore how SpiderLabs created and incorporated user prompts, specifically Windows dialog boxes into its malware loader to make it more convincing to phishing targets during a Red Team...

Read More

The Secret Cipher: Modern Data Loss Prevention Solutions

This is Part 7 in my ongoing project to cover 30 cybersecurity topics in 30 weekly blog posts. The full series can be found here. Far too many organizations place Data Loss Prevention (DLP) and Data...

Read More

CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway

Overview A command injection vulnerability has been discovered in the GlobalProtect feature within Palo Alto Networks PAN-OS software for specific versions that have distinct feature configurations...

Read More