SOCFortress CoPilot фокусируется на предоставлении единого стекла для всех ваших потребностей в области безопасности. До 0.1.77 конечные точки Velociraptor Sigma управления исключениями в backend/app/incidents/routes/incident_alert.py опускают роль и авторизацию арендатора, а POST /api/incidents/alerts/create/velo-sigma/exclusion не проверяют учетные данные. Его return_username_for_logging зависимость в backend/app/auth/utils.py вызывает decode_token, который возвращает обычные Invalid токена или Expired строки подписи при сбое, и зависимость проходит эти строки, вместо того, чтобы отклонить запрос.
Требуется заголовок Bearer, но произвольное недействительное, просроченное или поддельное значение может создать правило подавления без действительного аккаунта. В коллекции GET at /create/velo-sigma/exclusion перечислены исключения; чтение, обновление и удаление маршрутов в соответствии с /create/velo-sigma/exclusion/{exclusion_id и маршрут /velo-sigma/exclusion/{exclusion_id}/toggle используют get_current_user без проверки ролей, что позволяет любому аутентифицированному customer_user управлять каждым исключением. В backend/app/incidents/services/velo_sigma.py, process_sigma_alert вызывает check_exclusions и отбрасывает соответствующие включенные оповещения перед созданием инцидента.
Нулевой customer_code применяется правило для всех арендаторов. Злоумышленники могут подавлять обнаружение на всей платформе через сопоставление каналов, заголовков или полей, в то время как учетные записи с низким уровнем привилегий могут перечислять данные, настраивающие обнаружение, и изменять, отключать или удалять законные исключения. Эта проблема исправлена в версии 0.1.77.
Показать оригинальное описание (EN)
SOCFortress CoPilot focuses on providing a single pane of glass for all your security operations needs. Prior to 0.1.77, the Velociraptor Sigma exclusion-management endpoints in `backend/app/incidents/routes/incident_alert.py` omit role and tenant authorization, and `POST /api/incidents/alerts/create/velo-sigma/exclusion` does not validate credentials. Its `return_username_for_logging` dependency in `backend/app/auth/utils.py` calls `decode_token`, which returns ordinary Invalid token or Expired signature strings on failure, and the dependency passes these strings through instead of rejecting the request. A Bearer header is required, but an arbitrary invalid, expired or forged value can create a suppression rule without a valid account. The collection GET at /create/velo-sigma/exclusion lists exclusions; the read, update and delete routes under `/create/velo-sigma/exclusion/{exclusion_id}`, and the `/velo-sigma/exclusion/{exclusion_id}/toggle` route, use `get_current_user` without role checks, permitting any authenticated `customer_user` to manage every exclusion. In `backend/app/incidents/services/velo_sigma.py`, `process_sigma_alert` calls `check_exclusions` and drops matching enabled alerts before incident creation. A null `customer_code` applies a rule across all tenants. Attackers can suppress detections platform-wide through channel, title or field matching, while low-privilege accounts can enumerate detection-tuning data and modify, disable or delete legitimate exclusions. This issue is fixed in version 0.1.77.
Характеристики атаки
Последствия
Строка CVSS v3.1