Dockerfile
Defines a container based on golang:1.17-alpine, copies source code, builds the Go binary /cve-2022-30525, and runs it with a target file specified by INPUT_FILE.
Dockerfile:1-24File viewing is interactive and short-lived. Downloads are password-protected ZIP archives using password eip.
A single-container Docker environment based on golang:1.17-alpine that builds and runs a Go exploit tool targeting CVE-2022-30525 in Zyxel firewalls.
Dockerfile:1-24README.md:1-48The README explicitly describes CVE-2022-30525, a vulnerability in Zyxel firewalls, and the Dockerfile builds a Go program that sends crafted POST requests to exploit it. The repository name and module name both reference the CVE.
README.md:1-5cve-2022-30525.go:1-80go.mod:1-2Defines a container based on golang:1.17-alpine, copies source code, builds the Go binary /cve-2022-30525, and runs it with a target file specified by INPUT_FILE.
Dockerfile:1-24Main Go program that reads a target (URL or file of IPs) and a cmds file, then iterates over targets and commands, calling exploit.SendPOST to send crafted requests to the Zyxel ZTP handler.
cve-2022-30525.go:1-80Go package that constructs a JSON payload with a command injection in the 'mtu' field and sends it via HTTPS POST to /ztp/cgi-bin/handler, ignoring SSL certificate errors.
exploit/exploit.go:1-69A file (not included in the packet) that contains commands to be injected; the main program reads it at runtime.
cve-2022-30525.go:47-48README.md:30-35A file (not included in the packet) that can contain a list of target IPs/URLs; used when the -t argument is a file path.
cve-2022-30525.go:40-46Dockerfile:6-7Supported by supplied evidence
The README describes CVE-2022-30525 as an unauthenticated command injection in Zyxel firewalls via /ztp/cgi-bin/handler, and the exploit code sends a POST request to that exact endpoint with a command injection in the 'mtu' parameter, matching the curl example provided.
README.md:1-5README.md:14-19exploit/exploit.go:20-28exploit/exploit.go:30-50cve-2022-30525.go:47-48README.md:30-35Dockerfile:6-7cve-2022-30525.go:32-46README.md:1-5exploit/exploit.go:30-50Dockerfile:1-24README.md:40-42Dockerfile:6-7Dockerfile:22-24cve-2022-30525.go:32-80The container only sends HTTP POST requests to targets specified by the user. It does not modify the host filesystem, open host shells, connect to external systems beyond the specified targets, persist data, steal credentials, or exhibit any hidden destructive behavior. The exploit is directed at the intended lab target (Zyxel firewalls).
cve-2022-30525.go:1-80exploit/exploit.go:1-69Dockerfile:1-24This review is limited to the supplied lab evidence packet. It does not assert that the environment runs, reproduces a vulnerability, or is safe to execute. Contract: eip-docker-lab-analysis-v1.