CVE-2021-30185
JSON

7.5high

Indico Tampering with links (e.g. password reset) in sent emails

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
1.05% (higher than 65% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-wgpj-7c2j-vfjmPYSEC-2021-18

Description

CERN Indico before 2.3.4 can use an attacker-supplied Host header in a password reset link.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
indico (PyPI)before 2.3.4GitHub Advisory Database, PyPA Advisory Database
cern indicobefore 2.3.4NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

CERN Indico before 2.3.4 can use an attacker-supplied Host header in a password reset link.

GitHub Advisory Database
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 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:

NVD (es)

CERN Indico versiones anteriores a 2.3.4, puede usar un encabezado de host proporcionado por un atacante en un enlace de restablecimiento de contraseƱa

References

Sources

SourceRecordLicence
CVE ListCVE-2021-30185 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-wgpj-7c2j-vfjm changed 2024-09-23CC-BY-4.0
NVDCVE-2021-30185 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-18 changed 2023-11-08CC-BY-4.0