Ryot - это приложение для персонального отслеживания. До 10.4.0 мутация createOrUpdateUserIntegration GraphQL в crates/services/user/src/integration_operations.rs позволяла низкопривилегированному аутентифицированному пользователю поставлять integrationId в create_or_update_user_integration() другого пользователя без проверки прав собственности. SeaORM обрабатывает поставляемый первичный ключ как цель обновления, и операция назначает user_id вызывающего абонента, заменяя provider_specifics целевой интеграции и другую конфигурацию, которая может передавать право собственности, перезаписывать конфигурацию или отключать интеграцию жертвы. Эксплуатация требует получения идентификатора интеграции жертвы non-brute-forceable, а уязвимое обновление не раскрывает существующие сохраненные значения учетных данных.
Эта проблема исправлена в версии 10.4.0.
Показать оригинальное описание (EN)
Ryot is a self-hosted personal tracking application. Prior to 10.4.0, the createOrUpdateUserIntegration GraphQL mutation in crates/services/user/src/integration_operations.rs allows a low-privileged authenticated user to supply another user's integrationId to create_or_update_user_integration() without an ownership check. SeaORM treats the supplied primary key as an update target, and the operation assigns the caller's user_id while replacing the targeted integration's provider_specifics and other configuration, which can transfer ownership, overwrite configuration, or disable the victim's integration. Exploitation requires obtaining the victim's non-brute-forceable integration id, and the vulnerable update does not disclose existing stored credential values. This issue is fixed in version 10.4.0.
Характеристики атаки
Последствия
Строка CVSS v3.1