Chamilo LMS — это система управления обучением с открытым исходным кодом. С 2.0.0 по 2.0.1 GET /user/username доступен анонимно и отображает шесть полей профиля (firstname, lastname, competences, openarea, teach и diplomas) внутри % autoescape false %, без санации на стороне сервера на пути записи. Злоумышленник ROLE_STUDENT может установить HTML в свой профиль; саморегистрация, если она включена, позволяет анонимному злоумышленнику получить эту роль.
The stored content executes in the browser of any visitor, including administrators, who follows the public profile link, potentially allowing account takeover through session, JWT, or `localStorage` exfiltration. Эта проблема исправлена в версии 2.0.1.
Показать оригинальное описание (EN)
Chamilo LMS is an open-source learning management system. From 2.0.0 until 2.0.1, `GET /user/{username}` is anonymously reachable and renders six user-editable profile fields (`firstname`, `lastname`, `competences`, `openarea`, `teach`, and `diplomas`) inside `{% autoescape false %}`, without server-side sanitization on the write path. A ROLE_STUDENT attacker can plant HTML in their own profile; self-registration, when enabled, lets an otherwise anonymous attacker obtain that role. The stored content executes in the browser of any visitor, including administrators, who follows the public profile link, potentially allowing account takeover through session, JWT, or `localStorage` exfiltration. This issue is fixed in version 2.0.1.
Характеристики атаки
Последствия
Строка CVSS v3.1