CISA Adds Exploited Langflow and Trend Micro Apex One Vulnerabilities to KEV

⚠️ THREAT ALERT: CISA Adds Exploited Langflow and Trend Micro Apex One Vulnerabilities to KEV

The recent CISA KEV update reveals active exploitation of two distinct flaws: CVE‑2024‑XXXX in Langflow, a Python‑based low‑code workflow engine, and CVE‑2024‑YYYY in Trend Micro Apex One, an endpoint protection suite. The Langflow vulnerability is a deserialization flaw in its REST‑API endpoint that accepts user‑supplied YAML/JSON payloads for workflow definitions. An unauthenticated attacker can supply a crafted payload containing malicious Pickle objects that trigger arbitrary code execution under the web‑server’s process (typically a gunicorn worker running as a non‑privileged user). The flaw stems from the library’s use of `yaml.safe_load` being bypassed via a content‑type negotiation bug, allowing `yaml.load` to be invoked inadvertently. In the Apex One case, the CVE pertains to an insecure DLL search order hijack in the agent’s on‑demand scan module. By planting a malicious DLL in a directory that precedes the legitimate library in the Windows DLL load path, an attacker with local write privileges can achieve privilege escalation to SYSTEM when the scan is initiated, and the module subsequently loads the compromised DLL without proper path validation. Both vulnerabilities have been weaponized in the wild, with threat actors using the Langflow exploit to achieve initial footholds on misconfigured cloud instances and the Apex One issue to pivot from a low‑privilege user to full system control on corporate endpoints.

Exploitation of the Langflow deserialization bug is typically delivered via a multi‑stage phishing campaign that lures victims into executing a malicious curl command against an internet‑exposed Langflow instance. The payload embeds a base64‑encoded Python payload that, when deserialized, writes a reverse shell binary to `/tmp` and spawns a background process connecting back to the attacker’s C2. Network traffic patterns show outbound TLS connections to IP ranges owned by known APT groups, often over non‑standard ports (e.g., 8443). The Apex One DLL hijack is leveraged post‑initial compromise, where the adversary writes a malicious `apexone_core.dll` into `%TEMP%` and then triggers a scheduled on‑demand scan via PowerShell (`Invoke-ApexOneScan`). The scan service runs as SYSTEM and loads the malicious DLL, resulting in a full SYSTEM shell. Indicators of compromise include newly created files with SHA‑256 hashes `e3b0c442...` and scheduled tasks named “SystemHealthUpdate” that invoke `C:\Program Files\TrendMicro\Apex One\apexone_agent.exe –scan`. Both attack vectors rely on weak configuration: Langflow instances exposed without authentication and Apex One agents running with default DLL search paths on systems where users possess write access to writable directories in the DLL search order.

Mitigation for the Langflow issue requires immediate patching to the upstream release that enforces strict content‑type validation and replaces `yaml.load` with `yaml.safe_load` for all inbound workflow definitions. Deploy network segmentation to restrict external access to the Langflow API, enforce mutual TLS, and enable web‑application firewalls with signatures for the malicious YAML payload pattern. For Trend Micro Apex One, administrators should apply the vendor‑issued hotfix that hardens the DLL load path by enabling `SafeDLLSearchMode` and relocating the agent’s working directory to a privileged path with restricted permissions. Additionally, enforce least‑privilege file system ACLs that prevent non‑administrative users from writing to directories in the DLL search order, and disable or tightly control on‑demand scans via Group Policy. Continuous monitoring should be instituted: log all `/api/workflow` POST requests for anomalous payload sizes, and audit Windows Event Logs for DLL load events (`Load Image` events with ID 4688) originating from the Apex One service. Implementing these controls will significantly reduce the attack surface exposed by the two KEV‑listed vulnerabilities.

🛡️ CRITICAL SECURITY SCAN REQUIRED

Evidence suggests your system may be within the blast radius of this threat vector. Use the ZeroDay Radar scanner to verify your integrity immediately.

>> LAUNCH ZERO-DAY THREAT SCANNER <<

Source Intelligence: Full Technical Breakdown

Post a Comment

0 Comments