All vulnerabilities

Servers and applications

GHSA-j7rr-2665-j2w3

Missing Authorization in StudentPublicationController allows any authenticated user (incl. students) to read all submissions, exfiltrate submitted files, and tamper with corrections (< 3.0.0)

Severity
High 8.3
Published
17 Nov 2026
Last changed
17 Nov 2026
Added to UpHeron
17 Nov 2026
Fixed in
2.1.0
Weakness
Missing authorization (CWE-862)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Sources
Project advisories (GitHub)

Description

Four teacher-only routes in Chamilo\CoreBundle\Controller\StudentPublicationController are gated only by a class-level #[IsGranted('ROLE_USER')] annotation. There is no per-method check that the caller is a teacher of the course, the owner of the resource, or even enrolled in the course where the assignment lives. Any authenticated account — including a ROLE_STUDENT from an unrelated course — can read every submission for any assignmentId, download a ZIP of all submitted files, delete every correction, and upload attacker-controlled correction packages that mutate grading state.

The vulnerability is identical in pattern to the previously-accepted SocialController BOLA (GHSA-27x6-c5c7-gpf5) and is still present in origin/master at the time of writing.

  • Mass disclosure of student submission metadata (usernames, real names, submission timestamps, filenames) for any assignment on the platform.
From chamilo/chamilo-lms's security advisory. Shortened; the full text is there.

Workarounds

Each affected method must resolve the assignment and call denyAccessUnlessGranted() on its resource node before doing any work:

Apply this at the top of:

  • getAssignmentSubmissionsForTeacher() (line 143)
  • deleteAllCorrections() (line 403)
  • downloadAssignmentPackage() (line 435) — currently does a find() for existence only, not authorization
  • uploadCorrectionsPackage() (line 479) A secondary review should also confirm whether getStudentProgress() (line 93), getUnsubmittedUsers() (line 285), emailUnsubmittedUsers() (line 321), and exportPdf() (line 359) need a teacher-only resource check…
Workarounds as given by chamilo/chamilo-lms's security advisory.

Affected software

SoftwareAffected versions
Chamilo LMSServers and applications · github:chamilo/chamilo-lms
  • Every version before 2.1.0

About Chamilo LMS

Free Software Learning Management System

From Wikidata, CC0 1.0.
Share of websites with a known CMS
0.6%W3Techs, Nov 2026
GitHub stars
1,024GitHub, 15 Nov 2026
Forks
567GitHub, 15 Nov 2026
Latest release
v3.0.2GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
License
GPL-3.0GitHub
Written in
PHP, JavaScriptWikidata
First released
18 Jan 2010Wikidata
First published on GitHub
29 Mar 2013GitHub

References