Skip to content

Security: Validate REST course access - refs GHSA-h4w8-c66c-p8r2 - #9238

Merged
christianbeeznest merged 1 commit into
chamilo:1.11.xfrom
christianbeeznest:security/auto-fix-GHSA-h4w8-c66c-p8r2
Oct 16, 2026
Merged

christianbeeznest merged 1 commit into
chamilo:1.11.xfrom
christianbeeznest:security/auto-fix-GHSA-h4w8-c66c-p8r2

Conversation

@christianbeeznest

Copy link
Copy Markdown
Contributor

REST v2 accepted a client-supplied course context without checking whether the authenticated webservice user could access that course.

The REST course context is now validated before it is stored in the session. Access follows the existing course visibility, membership, session and contextual role rules, while platform administrators keep their existing access.

Verified against a running 1.11.x instance:

  • An authenticated user who is not enrolled in a registered course is denied access through course_info.
  • After legitimate student enrolment, the same user can access course_info normally.

Refs GHSA-h4w8-c66c-p8r2

@christianbeeznest
christianbeeznest merged commit 496771e into chamilo:1.11.x Oct 16, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant