RC RANDOM CHAOS

Claude Document Tool Vulnerability Enables Linux Code Execution

· via Dark Reading

Original source

Attackers Crash Claude's 'Office Party' Flaw to Run Malicious Code on Linux

Dark Reading →

A vulnerability in Anthropic’s Claude document-processing tools allows attackers to execute arbitrary code on Linux systems. The flaw, dubbed “Office Party” by AIR Security researchers, exists in a helper script that invokes LibreOffice for document conversion. When Unix-domain sockets are unavailable—common in container and sandbox environments—the script uses Linux’s LD_PRELOAD mechanism to load a shared library without verifying its source or integrity. An attacker can place a malicious library in the shared temporary directory before Claude processes a document, causing it to load and execute with the user’s full privileges.

The vulnerability potentially affects hundreds of millions of Claude agent deployments. Researchers demonstrated two attack vectors: directly planting a malicious library in the temp directory, and using a separate AI skill to unpack a payload there beforehand. This second scenario is particularly dangerous because it shows how multiple individually benign skills can combine to create an attack chain that individual security reviews might overlook. The issue highlights a systemic organizational problem: most companies lack visibility into which AI skills employees are using and have no mechanism to quickly revoke or patch vulnerable ones.

Anthropicacknowledged the flaw when researchers reported it in May but declined to fix it, claiming the issue falls outside their security boundary since the vulnerable code runs in a sandbox. Researchers rejected this reasoning, noting that malicious code still executes with user-level permissions and can access the user’s files and environment. The incident underscores the need for enterprises to treat AI skills as software dependencies, maintaining inventories of all deployed skills and applying the same code review and patching discipline they use for traditional libraries.

Read the full article

Continue reading at Dark Reading →

This is an AI-generated summary. Read the original for the full story.