Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-28893 Overview
CVE-2024-28893 affects certain HP software packages known as SoftPaqs. Attackers can achieve arbitrary code execution when the SoftPaq configuration file is modified after extraction. The flaw is classified as improper control of code generation [CWE-94] and requires local access with high privileges plus user interaction. HP has released updated SoftPaqs to address the issue.
Critical Impact
Successful exploitation leads to arbitrary code execution with scope change, compromising confidentiality, integrity, and availability on affected HP systems running vulnerable SoftPaq installers.
Affected Products
- HP SoftPaqs (software distribution packages)
- HP commercial and consumer systems that consume affected SoftPaqs
- Deployments where SoftPaq contents are extracted and staged before execution
Discovery Timeline
- 2024-05-01 - CVE-2024-28893 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in the NVD database
Technical Details for CVE-2024-28893
Vulnerability Analysis
The vulnerability resides in how HP SoftPaq installers process their configuration files after extraction. SoftPaqs are self-extracting bundles that unpack installation payloads and configuration data to a staging directory before invoking setup logic. The installer trusts the extracted configuration file at execution time rather than validating its integrity against the signed package.
An attacker with local access who can modify the extracted configuration file can redirect the installer to run attacker-controlled code. Because installation routines typically execute with elevated rights and may interact across security boundaries, the issue produces a scope change and full compromise of confidentiality, integrity, and availability.
Root Cause
The root cause is improper control of generation of code [CWE-94] driven by configuration input. The installer treats the post-extraction configuration file as trusted and does not re-verify its signature or hash against the signed SoftPaq. This design assumption allows modified configuration directives to steer execution to attacker-chosen binaries or scripts.
Attack Vector
Exploitation requires a local attacker with high privileges and user interaction. The attacker extracts a SoftPaq, tampers with the configuration file in the staging directory, and waits for a user or administrator to launch the installer. When the installer parses the modified configuration, it executes code specified by the attacker. The attack vector is local, the attack complexity is low, and no network path is required.
No verified public proof-of-concept code is available for CVE-2024-28893. See the HP Security Advisory for vendor technical details.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2024-28893
Indicators of Compromise
- Modifications to SoftPaq configuration files (for example .cva, .ini, or installer manifest files) within SoftPaq extraction directories after extraction completes
- Child processes spawned by HP SoftPaq installers that reference binaries outside the signed SoftPaq payload
- Unexpected execution of scripting hosts such as cmd.exe, powershell.exe, or wscript.exe from HP SoftPaq working directories
Detection Strategies
- Monitor file integrity on SoftPaq staging and extraction paths and alert on writes to configuration files between extraction and installer launch
- Correlate process lineage so that any non-HP child process launched by an HP SoftPaq installer raises an alert
- Hunt for installer invocations that occur shortly after a user modifies files inside a SoftPaq extraction directory
Monitoring Recommendations
- Collect endpoint process creation, command line, and file write telemetry for all workstations that receive HP driver and firmware updates
- Alert on administrator-run installers that originate from user-writable paths such as %TEMP% or user profile directories
- Review software deployment pipelines to confirm SoftPaqs are executed directly from signed sources rather than from pre-extracted staging areas
How to Mitigate CVE-2024-28893
Immediate Actions Required
- Download and deploy the updated SoftPaqs that HP has released for affected products
- Inventory all currently staged SoftPaq extraction directories and remove any that are not actively in use
- Restrict write permissions on SoftPaq extraction and staging locations to administrators only
Patch Information
HP has released updated software packages addressing CVE-2024-28893. Administrators should obtain the fixed SoftPaqs listed in the HP Security Advisory and replace any older copies cached in software distribution shares, imaging pipelines, or endpoint management tools.
Workarounds
- Execute SoftPaqs directly from the signed self-extracting executable rather than extracting first and launching the installer later
- Enforce application control policies that only permit HP-signed installer binaries to run from approved paths
- Verify SoftPaq integrity using HP-provided hashes before deployment through any management system
# Configuration example: restrict write access to a SoftPaq staging directory on Windows
icacls "C:\SWSetup" /inheritance:r
icacls "C:\SWSetup" /grant:r "Administrators:(OI)(CI)F" "SYSTEM:(OI)(CI)F"
icacls "C:\SWSetup" /grant:r "Users:(OI)(CI)RX"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

