Exploit databaseDownload repository ZIP
GH-3e4cf1ab935ddae16acad30f26f35cb7
jockerjml/cve-2026-44963-veeam-checker
Sources for CVE-2026-44963
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files2
jockerjml/cve-2026-44963-veeam-checkerRevision c9800f0582e3
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
remediation/patch_checker.py
Python · 9,620 bytes#!/usr/bin/env python3
"""
CVE-2026-44963 — Veeam Patch Status Checker
SentinelX Security Research | github.com/SentinelXofficial
Memvalidasi apakah Veeam Backup & Replication sudah di-patch
terhadap CVE-2026-44963. Berjalan langsung di Veeam server
(via WMI query atau registry check) atau remote via REST API.
Mode:
--local : Jalankan di Veeam server itu sendiri (butuh akses lokal)
--remote : Cek via REST API (butuh credentials)
Usage:
python3 patch_checker.py --local
python3 patch_checker.py --remote -H 192.168.1.10 -u admin -p Password123
python3 patch_checker.py --local --remediate
LEGAL: Use only on systems you own or have explicit written authorization to test.
"""
import argparse
import json
import os
import platform
import ssl
import sys
import urllib.request
import urllib.error
import urllib.parse
import subprocess
import re
from datetime import datetime
FIXED_BUILD = 4854
FIXED_VERSION = "12.3.2.4854"
ADVISORY_URL = "https://www.veeam.com/kb4869"
PATCH_URL = "https://www.veeam.com/kb4696"
BANNER = """
CVE-2026-44963 — Veeam Patch Status Checker
SentinelX | github.com/SentinelXofficial
"""
def parse_args():
p = argparse.ArgumentParser(
description="Validate Veeam patch status for CVE-2026-44963"
)
mode = p.add_mutually_exclusive_group(required=True)
mode.add_argument("--local", action="store_true", help="Check locally (run on Veeam server)")
mode.add_argument("--remote", action="store_true", help="Check remotely via REST API")
p.add_argument("-H", "--host", help="[Remote] Veeam server IP/hostname")
p.add_argument("-u", "--username", help="[Remote] Username")
p.add_argument("-p", "--password", help="[Remote] Password")
p.add_argument("--port", type=int, default=9419, help="[Remote] REST API port (default: 9419)")
p.add_argument("--remediate", action="store_true",
help="[Local] Print remediation steps if vulnerable")
p.add_argument("-o", "--output", help="Save result to JSON")
return p.parse_args()
#
# LOCAL CHECK (Windows Registry / PowerShell)
#
REGISTRY_PATHS = [
r"SOFTWARE\Veeam\Veeam Backup and Replication",
r"SOFTWARE\WOW6432Node\Veeam\Veeam Backup and Replication",
]
def check_local():
"""
Check Veeam version on the local machine via registry (Windows)
or file-based version info.
"""
result = {
"method": "local",
"os": platform.system(),
"version": None,
"build": None,
"vuln_status": "unknown",
"vuln_reason": "",
"install_path": None,
}
if platform.system() != "Windows":
result["vuln_reason"] = "Local check requires Windows (Veeam runs on Windows Server)"
return result
# Method 1: Windows Registry
version = _check_registry()
if version:
result["version"] = version
result["vuln_status"], result["vuln_reason"] = assess(version)
return result
# Method 2: PowerShell WMI query
version = _check_wmi()
if version:
result["version"] = version
result["vuln_status"], result["vuln_reason"] = assess(version)
return result
# Method 3: Check version file in install directory
version, path = _check_version_file()
if version:
result["version"] = version
result["install_path"] = path
result["vuln_status"], result["vuln_reason"] = assess(version)
return result
result["vuln_reason"] = "Could not determine Veeam version locally"
return result
def _check_registry():
"""Read version from Windows registry."""
try:
import winreg
for reg_path in REGISTRY_PATHS:
try:
key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, reg_path)
for value_name in ["ProductVersion", "Version", "Build"]:
try:
val, _ = winreg.QueryValueEx(key, value_name)
if val and re.match(r'\d+\.\d+\.\d+\.\d+', str(val)):
return str(val)
except FileNotFoundError:
continue
except FileNotFoundError:
continue
except ImportError:
pass
return None
def _check_wmi():
"""Query installed software via PowerShell."""
try:
cmd = [
"powershell", "-NonInteractive", "-Command",
"Get-WmiObject -Class Win32_Product | "
"Where-Object { $_.Name -like '*Veeam Backup*' } | "
"Select-Object -ExpandProperty Version"
]
out = subprocess.check_output(cmd, timeout=30, stderr=subprocess.DEVNULL)
version = out.decode().strip()
if re.match(r'\d+\.\d+\.\d+', version):
return version
except Exception:
pass
return None
def _check_version_file():
"""Check Veeam executable version info."""
common_paths = [
r"C:\Program Files\Veeam\Backup and Replication\Backup",
r"C:\Program Files (x86)\Veeam\Backup and Replication\Backup",
]
exes = ["Veeam.Backup.Service.exe", "VeeamBackup.exe"]
for base in common_paths:
for exe in exes:
full = os.path.join(base, exe)
if os.path.exists(full):
try:
cmd = [
"powershell", "-Command",
f"(Get-Item '{full}').VersionInfo.ProductVersion"
]
out = subprocess.check_output(cmd, timeout=10, stderr=subprocess.DEVNULL)
version = out.decode().strip()
if re.match(r'\d+\.\d+\.\d+', version):
return version, base
except Exception:
pass
return None, None
#
# REMOTE CHECK (REST API)
#
def check_remote(host, port, username, password):
"""Check Veeam version via REST API."""
result = {
"method": "remote",
"host": host,
"port": port,
"version": None,
"build": None,
"vuln_status": "unknown",
"vuln_reason": "",
}
base_url = f"https://{host}:{port}"
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
# Auth
token = _get_token(base_url, username, password, ctx)
if not token:
result["vuln_reason"] = "Authentication failed"
return result
# Get version
version = _get_version(base_url, token, ctx)
if version:
result["version"] = version
result["vuln_status"], result["vuln_reason"] = assess(version)
build_m = re.search(r'12\.\d+\.\d+\.(\d+)', version)
if build_m:
result["build"] = int(build_m.group(1))
else:
result["vuln_reason"] = "Could not retrieve version from REST API"
return result
def _get_token(base_url, username, password, ctx):
body = urllib.parse.urlencode({
"grant_type": "password",
"username": username,
"password": password,
}).encode()
req = urllib.request.Request(
f"{base_url}/api/oauth2/token",
data=body,
headers={
"Content-Type": "application/x-www-form-urlencoded",
"x-api-version": "1.2-rev0",
}
)
try:
with urllib.request.urlopen(req, context=ctx, timeout=10) as r:
return json.loads(r.read()).get("access_token")
except Exception:
return None
def _get_version(base_url, token, ctx):
for endpoint in ["/api/v1/serverInfo", "/api/v1/applianceInfo"]:
req = urllib.request.Request(
f"{base_url}{endpoint}",
headers={
"Authorization": f"Bearer {token}",
"Accept": "application/json",
"x-api-version": "1.2-rev0",
}
)
try:
with urllib.request.urlopen(req, context=ctx, timeout=10) as r:
data = json.loads(r.read())
for key in ["version", "productVersion", "buildVersion"]:
if data.get(key):
return data[key]
except Exception:
continue
return None
#
# Assessment & Output
#
def assess(version):
if not version:
return "unknown", "Version not available"
if version.startswith("13."):
return "not_affected", "v13 is not affected by CVE-2026-44963"
m = re.search(r'12\.\d+\.\d+\.(\d+)', version)
if m:
build = int(m.group(1))
if build < FIXED_BUILD:
return "vulnerable", f"Build {build} < fixed build {FIXED_BUILD}"
return "patched", f"Build {build} >= fixed build {FIXED_BUILD}"
if version.startswith("12."):
return "likely_vulnerable", "v12 detected but build unconfirmed"
return "unknown", f"Unrecognized version format: {version}"
def print_result(result, remediate=False):
status_map = {
"vulnerable": ("", "VULNERABLE"),
"likely_vulnerable":("", "LIKELY VULNERABLE"),
"patched": ("", "PATCHED"),
"not_affected": ("", "NOT AFFECTED"),
"unknown": ("", "UNKNOWN"),
}
icon, label = status_map.get(result["vuln_status"], ("", "UNKNOWN"))
print("\n" + "=" * 55)
print(f" CVE : CVE-2026-44963")
if result.get("host"):
print(f" Target : {result['host']}:{result.get('port','')}")
print(f" Version : {result.get('version') or 'N/A'}")
print(f" Fixed : {FIXED_VERSION}")
print(f" Status : {icon} {label}")
print(f" Reason : {result.get('vuln_reason','')}")
print("=" * 55)
if result["vuln_status"] in ("vulnerable", "likely_vulnerable"):
print(f"\n ACTION REQUIRED")
print(f" Patch guide : {PATCH_URL}")
print(f" Advisory : {ADVISORY_URL}")
if remediate:
print_remediation_steps()
def print_remediation_steps():
steps = """
REMEDIATION STEPS
1. Download Veeam VBR 12.3.2.4854 ISO
https://www.veeam.com/kb4696
2. Stop Veeam services before patching:
Stop-Service "Veeam Backup Service"
Stop-Service "Veeam Broker Service"
3. Apply the patch ISO (use "Update" folder
inside the ISO for in-place upgrade)
4. Verify patch applied:
Run this script again with --local
5. Post-patch hardening:
- Isolate Backup Server VLAN
- Restrict domain users from VBR ports
- Enable enhanced audit logging
- See: remediation/hardening.ps1
"""
print(steps)
def main():
print(BANNER)
args = parse_args()
print(f"[*] Mode : {'Local' if args.local else 'Remote'}")
print(f"[*] Started : {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}")
print("-" * 55)
if args.local:
result = check_local()
else:
if not all([args.host, args.username, args.password]):
print("[!] --remote requires: -H HOST -u USERNAME -p PASSWORD")
sys.exit(1)
result = check_remote(args.host, args.port, args.username, args.password)
result["timestamp"] = datetime.now().isoformat()
print_result(result, remediate=args.remediate)
if args.output:
with open(args.output, "w") as f:
json.dump(result, f, indent=2)
print(f"\n[+] Result saved {args.output}")
if __name__ == "__main__":
main()