Сакаи — Collaboration и Learning Environment (CLE). От 23.0 до 23.5 и 25.3, конечная точка DELETE /api/users/{userId}/profile/image позволяет аутентифицированному пользователю удалять изображение профиля другого пользователя, потому что ProfileController.removeProfileImage() передает управляемый злоумышленником userId в ProfileServiceImpl.removeProfileImage() без проверки прав собственности, а profileImageUploadedRepose.de Соответствующая конечная точка DELETE /api/users/{userId}/profile/pronunciation также пропускает проверку сеанса и проверку прав собственности, прежде чем ProfileServiceImpl.removePronunciationRecording() удаляет запись целевого пользователя. Путь загрузки не затрагивается, потому что он уже проверяет право собственности, и суперпользователи остаются намеренно уполномоченными изменять другие профили.
Успешное использование может многократно удалять артефакты идентификации профиля, включая образы администратора и инструктора, и нарушать рабочие процессы, которые полагаются на эти артефакты. Эта проблема исправлена в версиях 23.5, 25.3 и 26.0.
Показать оригинальное описание (EN)
Sakai is a Collaboration and Learning Environment (CLE). From 23.0 until 23.5 and 25.3, the DELETE /api/users/{userId}/profile/image endpoint allows an authenticated user to delete another user's profile image because ProfileController.removeProfileImage() passes the attacker-controlled userId to ProfileServiceImpl.removeProfileImage() without verifying ownership, and profileImageUploadedRepository.deleteById(userId) removes the selected row. The related DELETE /api/users/{userId}/profile/pronunciation endpoint also omits session validation and ownership checks before ProfileServiceImpl.removePronunciationRecording() deletes the target user's recording. The upload path is not affected because it already verifies ownership, and superusers remain intentionally authorized to modify other profiles. Successful exploitation can repeatedly remove profile identity artifacts, including administrator and instructor images, and disrupt workflows that rely on those artifacts. This issue is fixed in versions 23.5, 25.3, and 26.0.
Характеристики атаки
Последствия
Строка CVSS v3.1