Description
ClipBucket V5's web installer fails to properly validate or escape the php_cli_filepath parameter before passing it to shell execution. Unauthenticated attackers can submit a crafted POST request to the installer with a malicious php_cli_filepath value to execute arbitrary commands as the web server user.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MacWarrior | clipbucket-v5 | 5.5.1 – ≤ 5.5.3-#153 | — |
References
- https://github.com/MacWarrior/clipbucket-v5 product
- https://github.com/MacWarrior/clipbucket-v5/commit/36e7c6cfd81f62a091d2aeef96a8fc2fc2d85dc4 patch
- https://github.com/MacWarrior/clipbucket-v5/blob/5.5.3-%23153/upload/includes/classes/system.class.php technical-description
- https://github.com/MacWarrior/clipbucket-v5/blob/5.5.3-%23153/upload/cb_install/functions_install.php technical-description
- VulnCheck Advisory: ClipBucket V5 5.5.1 through 5.5.3-#153 OS Command Injection via Installer php_cli_filepath Parameter third-party-advisory