Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
CVE-2023-3128 — Script Python pour détecter le contournement d'authentification CVE-2023-3128 dans Grafana via la validation des revendications d'email Azure AD. Vérifie la configuration SSO Azure AD et signale une vulnérabilité potentielle. | Kitploit
Outils/GitHubGitHub/spyata123/cve-2023-3128
Authentification et AutorisationScanners de VulnérabilitésExploitationExploitation d'Applications WebTests d'IntrusionSécurité Cloud
GitHubspyata123/cve-2023-3128

CVE-2023-3128

Script Python pour détecter le contournement d'authentification CVE-2023-3128 dans Grafana via la validation des revendications d'email Azure AD. Vérifie la configuration SSO Azure AD et signale une vulnérabilité potentielle.

Voir le dépôt
5il y a 1 anPas encore vérifié

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager

CVE-2023-3128

Pour vérifier si un domaine est vulnérable à CVE-2023-3128, qui implique un contournement d'authentification dans Grafana dû à la validation des revendications d'email Azure AD, vous pouvez utiliser le script Python suivant :


#!/usr/bin/env python3 import requests import argparse

def check_cve_2023_3128(target_url, verbose=False): """Check for CVE-2023-3128 vulnerability""" session = requests.Session()

root@kitploit:~
# Step 1: Verify Azure AD SSO configuration
try:
    response = session.get(
        f"{target_url}/login",
        allow_redirects=False,
        timeout=10
    )
    azure_ad_configured = any(
        "azuread" in location.lower() 
        for location in response.headers.get('Location', '')
    )
    
    if verbose:
        print(f"[*] Azure AD SSO configured: {azure_ad_configured}")
        
except requests.RequestException as e:
    if verbose:
        print(f"[!] Connection error: {str(e)}")
    return False

# Step 2: Attempt authentication bypass (spoofing)
# Note: This requires creating an Azure AD account with the same email as a target Grafana user.
#       This step is not automated due to ethical and legal considerations.
if azure_ad_configured:
    if verbose:
        print("[*] Azure AD SSO is enabled. Vulnerability may be exploitable via email spoofing.")
    return True
else:
    if verbose:
        print("[-] Azure AD SSO not detected or not vulnerable.")
    return False

def main(): parser = argparse.ArgumentParser(description='CVE-2023-3128 Scanner') parser.add_argument('url', help='Target URL (e.g., https://example.com)') parser.add_argument('-v', '--verbose', action='store_true', help='Enable verbose output') args = parser.parse_args()

root@kitploit:~
if check_cve_2023_3128(args.url, verbose=args.verbose):
    print(f"\nTarget {args.url} may be vulnerable to CVE-2023-3128.")
    print("Recommendation: Update Grafana to version ≥9.5.5 and ensure Azure AD OAuth is properly configured.")
else:
    print(f"\nTarget {args.url} does not appear to be vulnerable to CVE-2023-3128.")

if name == "main": main()

Télécharger l’outil