Open edX Platform has an Open Redirect in Survey Views via Unvalidated redirect_url Parameter
Platform
python
Component
openedx-platform
Fixed in
76462f1e5fa9b37d2621ad7ad19514b403908970
Open edX Platform enables the authoring and delivery of online learning at any scale. he view_survey endpoint accepts a redirect_url GET parameter that is passed directly to HttpResponseRedirect() without any URL validation. When a non-existent survey name is provided, the server issues an immediate HTTP 302 redirect to the attacker-controlled URL. Additionally, the same unvalidated URL is embedded in a hidden form field and returned in a JSON response after form submission, where client-side JavaScript performs location.href = url. This enables phishing and credential theft attacks against authenticated Open edX users. This vulnerability is fixed with commit 76462f1e5fa9b37d2621ad7ad19514b403908970.
How to fix
Actualice la plataforma Open edX a la versión que incluya la corrección del commit 76462f1e5fa9b37d2621ad7ad19514b403908970. Esta actualización valida las URLs de redirección, previniendo ataques de phishing y robo de credenciales.
Monitor your dependencies automatically
Get notified when new vulnerabilities affect your projects. Free forever.
Start free