CVE-2021-30185: High severity cern indico vulnerability
Impact An external audit of the Indico codebase has discovered a vulnerability in Indico's URL generation logic which could have allowed an attacker to make Indico send a password reset link with a valid token pointing to an attacker-controlled domain by sending that domain in the Host header. Had a user clicked such a link without realizing it does not point to Indico (and that they never requested it), it would have revealed their password reset token to the attacker, allowing them to reset the password for that user and thus take over their Indico account.
- If the web server already enforces a canonical host name, this cannot be exploited (this was not part of the default config from the Indico setup guide) - If only SSO is used (LOCALIDENTITIES set to False), the vulnerability cannot be exploited for password reset links, but other links in emails set by Indico could be tampered with in the same way (with less problematic impact though)
Patches You need to update to Indico 2.3.4 as soon as possible. See the docs for instructions on how to update.
Workarounds You can configure the web server to canonicalize the URL to the hostname used for Indico. See this commit for the changes in our setup docs; they can be easily applied to your existing web server config.
For more information If you have any questions or comments about this advisory:
- Open a thread in our forum - Email us privately at indico-team@cern.ch
Other sources
CERN Indico before 2.3.4 can use an attacker-supplied Host header in a password reset link.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-30185?
CVE-2021-30185 has been classified as a medium severity vulnerability.
How do I fix CVE-2021-30185?
To fix CVE-2021-30185, upgrade Indico to version 2.3.4 or later.
What type of vulnerability is CVE-2021-30185?
CVE-2021-30185 is a vulnerability related to improper URL generation that can lead to phishing attacks.
Which versions of Indico are affected by CVE-2021-30185?
CVE-2021-30185 affects all versions of Indico prior to 2.3.4.
What are the potential consequences of CVE-2021-30185?
If exploited, CVE-2021-30185 could allow an attacker to manipulate password reset links and direct users to a harmful site.