Description
pbi-cli 3.10.1 through 3.12.0 contains an OS command injection vulnerability in desktop_sync.py that passes unquoted .pbip paths to cmd /c start when reopening projects. Attackers can lure victims into opening a Power BI project from a space-free path containing & to run commands with victim privileges during report write or reload.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MinaSaad1 | pbi-cli | 3.10.1 – ≤ 3.12.0 | — |
References
- https://hackmd.io/@haind/pbi-cli-desktop-sync-pbip-cmd-argument-injection third-party-advisory
- https://github.com/MinaSaad1/pbi-cli/blob/c8655cb9a131e2ce87ae5e1380994099f693d6af/src/pbi_cli/utils/desktop_sync.py#L398-L405 technical-description
- https://github.com/MinaSaad1/pbi-cli/blob/c8655cb9a131e2ce87ae5e1380994099f693d6af/src/pbi_cli/utils/desktop_sync.py#L286-L291 technical-description
- https://github.com/MinaSaad1/pbi-cli product
- VulnCheck Advisory: pbi-cli 3.10.1 through 3.12.0 OS Command Injection via Desktop Sync third-party-advisory