Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2023-3128 | Kitploit
工具/GitHubGitHub/spyata123/cve-2023-3128
身份验证与授权漏洞扫描器漏洞利用Web应用程序漏洞利用渗透测试云安全
GitHubspyata123/cve-2023-3128

CVE-2023-3128

查看仓库
1年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2023-3128

要检查某个域名是否存在 CVE-2023-3128 漏洞(该漏洞涉及 Grafana 中因 Azure AD 电子邮件声明验证不严而导致的身份验证绕过),可以使用以下 Python 脚本:


#!/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()

下载工具