
Standalone PoC for unauthenticated RTMP publish in SRS media servers; verifies the vulnerability, supports HTTP API side-channel check, and enables authorized penetration testing.
This repository contains the technical report and proof-of-concept for CVE-2026-68004, an unauthenticated RTMP publish issue in OSSRS / SRS deployments where vhost.security is disabled and no other publish authentication is configured.
| File | Purpose |
|---|
CVE_Report_SRS_Unauth_Publish.md | Vulnerability report |
poc_srs_unauth_publish.py | Standalone Python 3 PoC using only the standard library |
Only run this against systems you are authorized to test.
python poc_srs_unauth_publish.py --host 127.0.0.1 --stream cve_2026_68004_poc
Vulnerable:
[+] VULNERABLE: received NetStream.Publish.Start
With HTTP API side-channel check:
python poc_srs_unauth_publish.py --host TARGET --check-api --json
Exit code: 0 = publish confirmed, 2 = not confirmed.
HongYuan Liu [email protected]