CVE-2021-30185
mediumpriority · track · 30EPSS 0.010 · 64 %ileEUUSEPSS · scored 2026-10-27
CERN Indico before 2.3.4 can use an attacker-supplied Host header in a password reset link.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-wgpj-7c2j-vfjmIndico Tampering with links (e.g. password reset) in sent emails2021-04-08ghsa · osvUS
### 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 ([`LOCAL_IDENTITIES`](https://docs.getindico.io/en/stable/config/settings/#LOCAL_IDENTITIES) 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](https://github.com/indico/indico/releases/tag/v2.3.4) as soon as possible. See [the docs](https://docs.getindico.io/en/stable/installation/upgrade/) 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](https://github.com/indico/indico/pull/4815/commits/b6bff6d004abcf07db1891e26a0eb4aa0edb7c21) 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](https://talk.getindico.io/) - Email us privately at indico-team@cern.ch
- PYSEC-2021-182021-04-07vendor · osvUS
CERN Indico before 2.3.4 can use an attacker-supplied Host header in a password reset link.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/indico/indico/releases/tag/v2.3.4cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-30185cnnvd
- https://www.shorebreaksecurity.com/blog/cnnvd
- https://github.com/indico/indico/releases/tag/v2.3.4enisa_euvd
- https://www.shorebreaksecurity.com/blog/enisa_euvd
- https://github.com/indico/indico/releases/tag/v2.3.4Release NotesThird Party Advisorynvd
- https://www.shorebreaksecurity.com/blog/Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan