xmlrpc-exploitation
Warn
Audited by Gen Agent Trust Hub on Nov 9, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses complex shell scripts and
curlcommands within a loop to perform bulk reconnaissance and exploitation against remote targets. - [DYNAMIC_EXECUTION]: Executable XML payloads and Python code are generated at runtime to facilitate method enumeration, brute-force amplification, and data parsing.
- [DATA_EXFILTRATION]: The skill provides procedures for performing SSRF attacks specifically targeting the AWS Instance Metadata Service (IMDSv1) at
169.254.169.254to harvest IAM role credentials and instance metadata. - [REMOTE_CODE_EXECUTION]: Includes a complete chain for achieving remote code execution on target WordPress instances by uploading a Base64-encoded PHP web shell (
<?php system($_GET["cmd"]); ?>) via thewp.uploadFilemethod. - [INDIRECT_PROMPT_INJECTION]: The skill processes external XML responses from target servers using regular expressions in Python scripts, which creates a potential vulnerability surface if the target returns malicious data.
- Ingestion points: XML responses from
xmlrpc.phpin Phase 2, 3, 3b, 4, and 5. - Boundary markers: No delimiters or safety instructions are used to separate target data from the processing logic.
- Capability inventory: Uses
curlfor networking,python3for logic,subprocess.runfor execution, and writes temporary files to/tmp/. - Sanitization: External content is parsed directly via
re.findallandre.searchwithout escaping or validation.
Audit Metadata