T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:93- Finding
Unverified Remote Installer Executed Directly Through Bash
- Content
View full analysis
= 3.3.3 required** > Run `aliyun version` to verify >= 3.3.3. If not installed or version too low, > run `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash` to install/update, > or see [references/cli-installation-guide.md](references/cli-installation-guide.md). ``` ### Technical Analysis The command passes the HTTP response body directly to Bash. The downloaded script is not pinned to a reviewed version and is not checked against a cryptographic checksum or signature before execution. Although the URL uses HTTPS and appears associated with Alibaba Cloud, transport encryption alone does not establish that the retrieved script is identical to the version reviewed with this Skill. The effective executable payload can change after publication of the Skill. Compromise of the CDN, origin server, DNS path, certificate infrastructure, or release process could therefore turn this installation command into arbitrary code execution. Executing the response as it streams also prevents meaningful inspection before execution. This behavior is not required for the declared read-only WAF export functionality. ### Attack Path 1. An attacker compromises or gains influence over the remote installer, hosting infrastructure, or delivery path. 2. The Agent follows the Skill instruction because Aliyun CLI is absent or outdated. 3. `curl` retrieves the attacker-controlled response. 4. Bash immediately interprets the response as shell code. 5. The payload executes with the privileges and environment of the user running the Agent. 6. The payload can inspect local files, steal cloud credentials, modify tools, or establish persistence before the backup begins. ### Impact Assessment Successful exploitation provides arbitrary local command execution wit ...[truncated 317 chars]- Remediation
View remediation
