Description
UnoPim versions before 2.0.1 and 2.1.1 trust all connecting clients as proxies and honor the X-Forwarded-Host header without validation, allowing unauthenticated attackers to inject arbitrary origins into admin layout pages. Attackers can set X-Forwarded-Host to redirect JavaScript asset loading to their server, and when responses are cached by shared proxies, subsequent administrators execute attacker-supplied code in their authenticated sessions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| unopim | unopim | 2.0.0 – < 2.0.1, 2.1.0 – < 2.1.1 | 2.0.1 |
References
- Patch Commit patch
- unopim v2.0.1 Release Notes release-notes
- unopim v2.1.1 Release Notes release-notes
- https://github.com/unopim/unopim/blob/v2.1.0/bootstrap/app.php#L24 technical-description
- https://github.com/unopim/unopim/blob/v2.1.0/packages/Webkul/Admin/src/Resources/views/components/layouts/index.blade.php#L9 technical-description
- https://github.com/unopim/unopim product
- VulnCheck Advisory: UnoPim 2.0.0 before 2.0.1 and 2.1.0 before 2.1.1 Cache Poisoning via X-Forwarded-Host third-party-advisory