Cross-site scripting in hydra - CVE-2019-8400
Published: February 17, 2019 / Updated: August 8, 2020
hydra
Detailed vulnerability description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the oauth2/fallbacks/error error_hint parameter. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
How to mitigate CVE-2019-8400
Sources
- https://drive.google.com/file/d/1-25expUYVfK6vsiCmEabUCuelOP7aUDj/view?usp=drivesdk
- https://github.com/ory/hydra/blob/master/CHANGELOG.md#v100-rc3oryos9-2018-12-06
- https://github.com/ory/hydra/commit/9b5bbd48a72096930af08402c5e07fce7dd770f3
- https://hackerone.com/reports/456333
- https://www.youtube.com/watch?v=RIyZLeKEC8E