Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. indico
  4. ›
  5. CVE-2021-30185

CVE-2021-30185: Indico Tampering with links (e.g. password reset) in sent emails

April 8, 2021 (updated September 23, 2024)

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)

References

  • github.com/advisories/GHSA-wgpj-7c2j-vfjm
  • github.com/indico/indico/releases/tag/v2.3.4
  • github.com/indico/indico/security/advisories/GHSA-wgpj-7c2j-vfjm
  • github.com/pypa/advisory-database/tree/main/vulns/indico/PYSEC-2021-18.yaml
  • nvd.nist.gov/vuln/detail/CVE-2021-30185
  • www.shorebreaksecurity.com/blog

Code Behaviors & Features

Detect and mitigate CVE-2021-30185 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.4

Fixed versions

  • 2.3.4

Solution

Upgrade to version 2.3.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-640: Weak Password Recovery Mechanism for Forgotten Password

Source file

pypi/indico/CVE-2021-30185.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:25 +0000.