CVE-2023-37901: Indico Indico Vulnerable To Cross-Site-Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-fmqq-25x9-c6hm
CVSS 5.4
CWE-79
Published
Advisory Summary

CVE-2023-37901 is a MODERATE (CVSS 5.4) indico vulnerable to cross-site-scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Indico libraries in the PyPI ecosystem. The issue involves indico vulnerable to cross-site-scripting via confirmation prompts. Remediation is available by upgrading affected packages to version 3.2.6.

CVE-2023-37901 at a Glance

CVE Identifier CVE-2023-37901
GHSA Identifier GHSA-fmqq-25x9-c6hm
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Indico
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2023-37901

To remediate this vulnerability, upgrade all affected Indico dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

indico fixed: 3.2.6
pip install indico>=3.2.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show indico

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2023-37901, inspect your installed packages using pip:

pip show indico

Analyze the terminal output to locate any version of Indico in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.6), your application is affected.

Note: The pip show indico command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Indico, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact There is a Cross-Site-Scripting vulnerability in confirmation prompts commonly used when deleting content from Indico. Exploitation requires someone with at least submission privileges (such as a speaker) and then someone else to attempt to delete this content. Considering that event organizers may want to delete suspicious-looking content when spotting it, there is a non-negligible risk of such an attack to succeed. The risk of this could be further increased when combined with some some social engineering pointing the victim towards this content. ### Patches You need to update to [Indico 3.2.6](https://github.com/indico/indico/releases/tag/v3.2.6) as soon as possible. See [the docs](https://docs.getindico.io/en/stable/installation/upgrade/) for instructions on how to update. ### Workarounds Only let trustworthy users manage categories, create events or upload materials ("submission" privileges on a contribution/event). This should already be the case in a properly-configured setup when it comes to category/event management. Note that a conference doing a Call for Abstracts actively invites external speakers (who the organizers may not know and thus cannot fully trust) to submit content, hence the need to update to a a fixed version ASAP in particular when using such workflows. 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](mailto:indico-team@cern.ch)

CVE-2023-37901 Affected Indico Versions

1 component(s)
Fixed Versions:
3.2.6
Product / Package Ecosystem Affected Versions Fixed Version
indico
PyPI
< 3.2.6
3.2.6

References

Frequently Asked Questions

What is CVE-2023-37901?
CVE-2023-37901 is a security vulnerability in Indico involving Indico vulnerable to Cross-Site-Scripting via confirmation prompts under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Indico versions are affected?
Affected versions include releases prior to 3.2.6 across affected packages: indico.
What version fixes CVE-2023-37901?
Upgrading to 3.2.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is indico affected?
Yes, indico is affected in releases prior to 3.2.6. Upgrade your dependency to 3.2.6 or later.
What is the CVSS score of CVE-2023-37901?
CVE-2023-37901 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2023-37901?
CVE-2023-37901 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check PyPI dependencies for CVE-2023-37901?
Run the dependency tree command: 'pip show indico'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fmqq-25x9-c6hm",
  "modified" : "2024-09-23T17:02:05Z",
  "published" : "2023-07-21T20:24:10Z",
  "aliases" : [ "CVE-2023-37901" ],
  "summary" : "Indico vulnerable to Cross-Site-Scripting via confirmation prompts",
  "details" : "### Impact\nThere is a Cross-Site-Scripting vulnerability in confirmation prompts commonly used when deleting content from Indico.\nExploitation requires someone with at least submission privileges (such as a speaker) and then someone else to attempt to delete this content.\n\nConsidering that event organizers may want to delete suspicious-looking content when spotting it, there is a non-negligible risk of such an attack to succeed. The risk of this could be further increased when combined with some some social engineering pointing the victim towards this content.\n\n### Patches\nYou need to update to [Indico 3.2.6](https://github.com/indico/indico/releases/tag/v3.2.6) as soon as possible.\nSee [the docs](https://docs.getindico.io/en/stable/installation/upgrade/) for instructions on how to update.\n\n### Workarounds\nOnly let trustworthy users manage categories, create events or upload materials (\"submission\" privileges on a contribution/event). This should already be the case in a properly-configured setup when it comes to category/event management.\n\nNote that a conference doing a Call for Abstracts actively invites external speakers (who the organizers may not know and thus cannot fully trust) to submit content, hence the need to update to a a fixed version ASAP in particular when using such workflows.\n\nFor more information\n\nIf you have any questions or comments about this advisory:\n\n* Open a thread in [our forum](https://talk.getindico.io/)\n* Email us privately at [indico-team@cern.ch](mailto:indico-team@cern.ch)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "indico"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.2.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/indico/indico/security/advisories/GHSA-fmqq-25x9-c6hm"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-37901"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/indico/indico/commit/2ee636d318653fb1ab193803dafbfe3e371d4130"
  }, {
    "type" : "WEB",
    "url" : "https://docs.getindico.io/en/stable/installation/upgrade"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/indico/indico"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/indico/indico/releases/tag/v3.2.6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/indico/PYSEC-2023-129.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-21T20:24:10Z",
    "nvd_published_at" : "2023-07-21T19:15:10Z"
  }
}