CVE-2023-23611: Lti consumer xblock LTI 1.3 Grade Pass Back Vulnerability
LOWCVE-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
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).
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.
pip install lti-consumer-xblock>=7.2.2
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
CVE-2023-23611 Affected Lti consumer xblock Versions
1 component(s)| 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?
Which Lti consumer xblock versions are affected?
What version fixes CVE-2023-23611?
Is lti-consumer-xblock affected?
What is the CVSS score of CVE-2023-23611?
What CWE is associated with CVE-2023-23611?
How can I check PyPI dependencies for CVE-2023-23611?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}