Contournement d'authentification dans prowler-cloud (CVE-2026-59151)
Résumé
Contournement d'authentification dans prowler-cloud (CVE-2026-59151). Des informations confidentielles peuvent être exposées. Exploitable via POST /api/v1/accounts/saml/victim.com/acs/. Atténuation : mise à jour vers 5.30.3 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
SAML Tenant Binding Enables Cross-Tenant Account Takeover
Summary
Prowler's SAML authentication flow trusted the email domain asserted in a SAMLResponse when deciding which tenant should receive the final token. A malicious tenant with its own SAML configuration and a self-controlled IdP could complete a valid SAML flow for its own configured domain, while asserting an email address from another configured domain.
In the vulnerable flow, the ACS finish logic later derived the tenant from the asserted email domain instead of binding token issuance to the tenant associated with the validated SAML configuration. This could cause a token to be issued for the wrong tenant.
The attacker does not generally need to claim the victim's email domain. If the victim tenant already has SAML configured for that domain, another tenant cannot claim it because SAMLConfiguration.email_domain and SAMLDomainIndex.email_domain are globally unique.
Details
The confirmed root cause is in the SAML ACS finish and token issuance flow. The flow selected a SAML configuration through the ACS route, but later recalculated the tenant from the asserted user email domain:
email_domain = user.email.split("@")[-1]
tenant = (
SAMLConfiguration.objects.using(MainRouter.admin_db)
.get(email_domain=email_domain)
.tenant
)
This is unsafe because user.email is derived from the SAML assertion. The tenant used for membership updates and token issuance must come from the…
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-59151 a été découverte dans prowler-cloud.
Des attaquants peuvent cibler un point d'entrée spécifique comme POST /api/v1/accounts/saml/victim.com/acs/ à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 9.6/10.
Action : mettez à jour prowler-cloud vers 5.30.3 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « prowler-cloud CVE-2026-59151 » sur le site de l'éditeur.
CVE-2026-59151 (prowler-cloud) — CWE-287 / CVSS v3 9.6
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : POST /api/v1/accounts/saml/victim.com/acs/ / POST /api/v1/saml-config. / POST /api/v1/accounts/saml/{VICTIM_DOMAIN}/acs/ / SAMLConfiguration.email_domain
Correctif : 5.30.3 — appliquer immédiatement
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 contournement d'authentification (CWE-287) affecte prowler-cloud. Les attaquants atteignent le code vulnérable via POST /api/v1/accounts/saml/victim.com/acs/.
Consultez l'avis de l'éditeur pour les versions affectées de prowler-cloud. Surface d'attaque : POST /api/v1/accounts/saml/victim.com/acs/ / POST /api/v1/saml-config. / POST /api/v1/accounts/saml/{VICTIM_DOMAIN}/acs/ / SAMLConfiguration.email_domain.
Gravité : Critique (CVSS 9.6/10). Des informations confidentielles peuvent être exposées.
Mettre à jour vers 5.30.3.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs webserver/proxy/WAF des requêtes anormales vers POST /api/v1/accounts/saml/victim.com/acs/ (en-têtes d'auth malformés, méta-caractères SQL). Auditez les fichiers de dépendances pour trouver prowler-cloud.
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 'prowler-cloud' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
prowler-cloudを grep し、稼働しているサービス・バージョンを把握する。 -
2Hunt for indicators of compromise detect
grep 'POST /api/v1/accounts/saml/victim.com/acs/' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
POST /api/v1/accounts/saml/victim.com/acs/への異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3Apply patch patch
Upgrade prowler-cloud to 5.30.3ステージング環境で 5.30.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
4Post-deployment verification verify
Replay attack against POST /api/v1/accounts/saml/victim.com/acs/ on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com
- web github.com