Vulnérabilité dans snipe/snipe-it (CVE-2026-55516)
Résumé
Vulnérabilité dans snipe/snipe-it (CVE-2026-55516). Les données peuvent être altérées par des attaquants. Exploitable via PATCH /api/v1/maintenances/{maintenance_id}. Atténuation : mise à jour vers 8.6.2 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
The API endpoint for updating asset maintenance records allows an authorized user to change the asset_id of an existing maintenance record to an asset outside their company scope.
In a Full Multiple Company Support / multi-company deployment, this allows a user from Company A to attach or move a maintenance record onto an asset belonging to Company B. The endpoint appears to authorize access to the existing maintenance record’s asset, but does not re-authorize the newly supplied asset_id before saving the update.
Affected endpoint
PATCH /api/v1/maintenances/{maintenance_id}
Also likely affected:
PUT /api/v1/maintenances/{maintenance_id}
Preconditions
The attacker needs:
- A valid authenticated API token.
- Permission to update asset maintenance records.
- Access to a maintenance record currently attached to an asset in their own company.
The attacker does not need access to the target asset’s company.
Root cause
In the API maintenance update flow, the application checks access to the current maintenance record / current asset, then accepts attacker-controlled fields including asset_id.
The vulnerable behavior is that the new asset_id is not checked against the current user’s company scope before being saved.
Relevant code path:
app/Http/Controllers/Api/MaintenancesController.php
The update method loads the maintenance, checks access to the existing $maintenance->asset, then calls:
$maintenance->fill($request->all());
$maint…
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-55516 a été découverte dans snipe/snipe-it.
Des attaquants peuvent cibler un point d'entrée spécifique comme PATCH /api/v1/maintenances/{maintenance_id} à distance pour détourner le produit.
Les données peuvent être altérées par des attaquants. Score CVSS : 7.7/10.
Action : mettez à jour snipe/snipe-it vers 8.6.2 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « snipe/snipe-it CVE-2026-55516 » sur le site de l'éditeur.
CVE-2026-55516 (snipe/snipe-it) — CWE-639 / CVSS v3 7.7
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : PATCH /api/v1/maintenances/{maintenance_id} / PUT /api/v1/maintenances/{maintenance_id} / asset_id
Correctif : 8.6.2 — appliquer immédiatement
Contournement : Is there a way for users to fix or remediate the vulnerability without upgrading?
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-639) affecte snipe/snipe-it. Les attaquants atteignent le code vulnérable via PATCH /api/v1/maintenances/{maintenance_id}.
Consultez l'avis de l'éditeur pour les versions affectées de snipe/snipe-it. Surface d'attaque : PATCH /api/v1/maintenances/{maintenance_id} / PUT /api/v1/maintenances/{maintenance_id} / asset_id.
Gravité : Élevée (CVSS 7.7/10). Les données peuvent être altérées par des attaquants.
Mettre à jour vers 8.6.2.
Contournement : Is there a way for users to fix or remediate the vulnerability without upgrading?
Recherchez dans les logs webserver/proxy/WAF des requêtes anormales vers PATCH /api/v1/maintenances/{maintenance_id} (en-têtes d'auth malformés, méta-caractères SQL). Auditez les fichiers de dépendances pour trouver snipe/snipe-it.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'snipe/snipe-it' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
snipe/snipe-itを grep し、稼働しているサービス・バージョンを把握する。 -
2Hunt for indicators of compromise detect
grep 'PATCH /api/v1/maintenances/{maintenance_id}' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
PATCH /api/v1/maintenances/{maintenance_id}への異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3Apply temporary workaround mitigate
_Is there a way for users to fix or remediate the vulnerability without upgrading?_パッチが適用されるまでの応急処置として、Is there a way for users to fix or remediate the vulnerability without upgrading? を実施。回避策の副作用 (機能低下) を確認した上で。
-
4Apply patch patch
Upgrade snipe/snipe-it to 8.6.2ステージング環境で 8.6.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
5Post-deployment verification verify
Replay attack against PATCH /api/v1/maintenances/{maintenance_id} on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com