Description
UAC (Unix-like Artifacts Collector) before 3.3.0-rc1 contains a command injection vulnerability in the placeholder substitution and command execution pipeline where the _run_command() function passes constructed command strings directly to eval without proper sanitization. Attackers can inject shell metacharacters or command substitutions through attacker-controlled inputs including %line% values from foreach iterators and %user% / %user_home% values derived from system files to achieve arbitrary command execution with the privileges of the UAC process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tclahr | UAC | < 3.3.0-rc1 | 3.3.0-rc1 |
References
- Pull Request issue-tracking patch
- Patch Commit #1 patch
- Patch Commit #2 patch
- Patch Commit #3 patch
- Related Issue issue-tracking
- Mobasi Sentinel Vulnerability Index vendor-advisory
- VulnCheck Advisory: UAC < 3.3.0-rc1 Command Injection via Placeholder Substitution third-party-advisory