T09 · Insecure Skill Coding Practices
- Location
scripts/vw_env_export.sh:44- Finding
Command Injection Through Unescaped Vault Values Sourced as Shell Code
- Content
View full analysis
/tmp/vw-injected; # ``` This would produce shell source resembling: ```bash export BW_PASSWORD=''; id > /tmp/vw-injected; #' ``` ### Attack Path 1. An attacker gains permission to create or modify one of the selected Vaultwarden items, or causes an attacker-controlled item to be selected through the helper's ambiguous search behavior. 2. The attacker sets the item's password to a value that closes the generated single-quoted assignment and appends a shell command. 3. A vict ...[truncated 901 chars]- Remediation
View remediation
