CVE-2023-23611: Lti consumer xblock LTI 1.3 Grade Pass Back Vulnerability

LOW
Advisory Identifier: GHSA-7j9p-67mm-5g87
CVSS 3.7
CWE-862
Published
Advisory Summary

CVE-2023-23611 is a LOW (CVSS 3.7) lti 1.3 grade pass back vulnerability (CWE-862: Missing Authorization) affecting Lti consumer xblock libraries in the PyPI ecosystem. The issue involves lti 1.3 grade pass back implementation has missing authorization vulnerability. Remediation is available by upgrading affected packages to version 7.2.2.

CVE-2023-23611 at a Glance

CVE Identifier CVE-2023-23611
GHSA Identifier GHSA-7j9p-67mm-5g87
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-862: Missing Authorization
Affected Product Lti consumer xblock
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 3.7

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

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

How to Fix CVE-2023-23611

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

lti-consumer-xblock fixed: 7.2.2
pip install lti-consumer-xblock>=7.2.2
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 lti-consumer-xblock

How to Check if You Are Affected

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

pip show lti-consumer-xblock

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

Note: The pip show lti-consumer-xblock command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Lti consumer xblock, 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

### Problem TL;DR: Any LTI tool that is integrated with on the Open edX platform can post a grade back for any LTI XBlock so long as it knows or can guess the block location for that XBlock. In LTI 1.3, LTI tools can "pass back" scores that learners earn while using LTI tools to the edX platform. The edX platform then stores those LTI scores in a separate table. If the right conditions are met, these scores are then persisted to the LMS grades tables. LTI tools can create what are called "line items" on the edX platform. A line item can be thought of as a column in a grade book; it stores results for a specific activity (i.e. XBlock) for a specific set of users (i.e. users in the course using the XBlock). A line item has an optional resource_link_id field, which is basically the XBlock location. An LTI tool can supply any value for this field. An LTI tool submits scores to the edX platform for line items. The code that uploads that score to the LMS grade tables determines which XBlock to upload the grades for by reading the resource_link_id field of the associated line item. Because the LTI tool could have submitted any value for the resource_link_id field, this introduces the potential for a nefarious LTI tool to submit scores for any LTI XBlock on the platform. ### Impact Any LTI tool that is integrated with on the Open edX platform can post a grade back for any LTI XBlock so long as it knows the resource_link_id (i.e. block location) for that XBlock. The impact is a loss of integrity for LTI XBlock grades. ### Patches No available patch ### Workarounds No

CVE-2023-23611 Affected Lti consumer xblock Versions

1 component(s)
Fixed Versions:
7.2.2
Product / Package Ecosystem Affected Versions Fixed Version
lti-consumer-xblock
PyPI
≥ 7.0.0
< 7.2.2
7.2.2

References

Frequently Asked Questions

What is CVE-2023-23611?
CVE-2023-23611 is a security vulnerability in Lti consumer xblock involving LTI 1.3 Grade Pass Back Implementation has Missing Authorization Vulnerability under CWE-862: Missing Authorization.
Which Lti consumer xblock versions are affected?
Affected versions include releases prior to 7.2.2 across affected packages: lti-consumer-xblock.
What version fixes CVE-2023-23611?
Upgrading to 7.2.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is lti-consumer-xblock affected?
Yes, lti-consumer-xblock is affected in releases prior to 7.2.2. Upgrade your dependency to 7.2.2 or later.
What is the CVSS score of CVE-2023-23611?
CVE-2023-23611 has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2023-23611?
CVE-2023-23611 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check PyPI dependencies for CVE-2023-23611?
Run the dependency tree command: 'pip show lti-consumer-xblock'. 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-7j9p-67mm-5g87",
  "modified" : "2024-08-30T18:47:14Z",
  "published" : "2024-08-30T18:47:14Z",
  "aliases" : [ "CVE-2023-23611" ],
  "summary" : "LTI 1.3 Grade Pass Back Implementation has Missing Authorization Vulnerability",
  "details" : "### Problem\nTL;DR: Any LTI tool that is integrated with on the Open edX platform can\npost a grade back for any LTI XBlock so long as it knows or can guess the\nblock location for that XBlock.\n\nIn LTI 1.3, LTI tools can \"pass back\" scores that learners earn while using\nLTI tools to the edX platform. The edX platform then stores those LTI\nscores in a separate table. If the right conditions are met, these scores\nare then persisted to the LMS grades tables.\n\nLTI tools can create what are called \"line items\" on the edX platform. A\nline item can be thought of as a column in a grade book; it stores results\nfor a specific activity (i.e. XBlock) for a specific set of users (i.e.\nusers in the course using the XBlock). A line item has an optional\nresource_link_id field, which is basically the XBlock location. An LTI tool\ncan supply any value for this field.\n\nAn LTI tool submits scores to the edX platform for line items. The code\nthat uploads that score to the LMS grade tables determines which XBlock to\nupload the grades for by reading the resource_link_id field of the\nassociated line item. Because the LTI tool could have submitted any value\nfor the resource_link_id field, this introduces the potential for a\nnefarious LTI tool to submit scores for any LTI XBlock on the platform.\n\n### Impact\nAny LTI tool that is integrated with on the Open edX platform can post a\ngrade back for any LTI XBlock so long as it knows the resource_link_id\n(i.e. block location) for that XBlock.\n\nThe impact is a loss of integrity for LTI XBlock grades.\n\n### Patches\nNo available patch\n\n### Workarounds\nNo\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "lti-consumer-xblock"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.2.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/openedx/xblock-lti-consumer/security/advisories/GHSA-7j9p-67mm-5g87"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-23611"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openedx/xblock-lti-consumer/commit/252f94bd182cd0962af9251015930cb55ec515d7"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openedx/xblock-lti-consumer"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/lti-consumer-xblock/PYSEC-2023-21.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-08-30T18:47:14Z",
    "nvd_published_at" : "2023-01-26T21:18:00Z"
  }
}