Description
ClipBucket v5 before 5.5.3-#197 contains a path traversal vulnerability in the admin template editor that allows authenticated administrators to overwrite PHP files by supplying directory traversal sequences in the folder parameter. Attackers with manage_template_access permission can traverse outside the layout directory to modify executable PHP files and achieve remote code execution as the web server user.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MacWarrior | clipbucket-v5 | < 5.5.3-#197 | 5.5.3-#197 |
References
- https://hackmd.io/@leediay/S1AIRjzqfx exploit third-party-advisory
- https://github.com/MacWarrior/clipbucket-v5/commit/f31de49b2194482ffef7147aa1e9b1c8f0f04eb7 patch
- https://github.com/MacWarrior/clipbucket-v5/blob/61cce55ab26ef88fb782dfde47b44c17c56978cd/upload/admin_area/template_editor.php#L44-L69 technical-description
- clipbucket-v5 5.5.3-%23197 Release Notes release-notes
- https://github.com/MacWarrior/clipbucket-v5 product
- VulnCheck Advisory: ClipBucket v5 before 5.5.3-#197 Path Traversal via template_editor.php third-party-advisory