Description
e621ng versions before 26.09.16 pass untrusted request parameters directly to Rails url_for in PaginatorComponent and controller navigation links, allowing attackers to redirect pagination and navigation controls to attacker-controlled origins. Attackers can supply host, protocol, and port query parameters that are interpreted as URL generation options, causing pagination links to point to malicious domains while the initial page loads from the legitimate site.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| e621ng | e621ng | < 26.09.16 | 26.09.16 |
References
- Pull Request #2518 patch issue-tracking
- Patch Commit patch
- e621ng 26.09.16 Release Notes release-notes
- PaginatorComponent#nav_params_for at 26.09.02 technical-description
- https://github.com/e621ng/e621ng product
- VulnCheck Advisory: e621ng before 26.09.16 Open Redirect via URL Parameters third-party-advisory