Lucene search

K
githubGitHub Advisory DatabaseGHSA-WGPJ-7C2J-VFJM
HistoryApr 08, 2021 - 4:33 p.m.

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

2021-04-0816:33:38
CWE-640
GitHub Advisory Database
github.com
58

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:N/I:P/A:N

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

31.0%

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:

Affected configurations

Vulners
Node
cernindicoRange<2.3.4
CPENameOperatorVersion
indicolt2.3.4

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:N/I:P/A:N

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

31.0%

Related for GHSA-WGPJ-7C2J-VFJM