
Proof-of-concept and Docker lab reproducing unauthenticated command injection in Puwell IP camera DebugShell on TCP 34567, with a harmless marker payload and detection guidance.
Laboratory (vulnerable service model) + PoC. Works on a local stand and on your own device.
RU · EN
In Puwell 2.x–4.x IP camera firmware, on TCP port 34567, a debug interface DebugShell is exposed, which accepts JSON commands without authentication and passes them to the shell without validation. Anyone who can reach the port executes commands as the process (according to the advisory — root).
| CVE | CVE-2026-61515 |
| Type | CWE-912 (hidden functionality) → CWE-78 (command injection) |
| CVSS | 9.8 CRITICAL |
| Product | Puwell IP Camera, firmware 2.x–4.x |
| Vector | TCP 34567, JSON {"cmd": "..."} |
| Authentication | not required |
Recommendations: https://www.vulncheck.com/advisories/puwell-ip-camera-2-x-4-x-unauthenticated-command-injection-via-debugshell
docker compose up -d --build
python3 poc/poc.py
# [*] id: uid=1000(lab) ...
# [*] проверка: MARKER-OK
# [+] команда выполнена на устройстве
docker compose down
Модель (mock/mock.py) повторяет логику: TCP-сервер на 34567, JSON → sh -c.
Контейнер: non-root, cap_drop: ALL, no-new-privileges, порт только на
127.0.0.1.
python3 poc/poc.py --target 192.168.1.64
python3 poc/poc.py --target 192.168.1.64 --port 34567 --marker test
--yes;touch /tmp/<marker> + a test -f check, then deletion;id — you can immediately see which user it runs as.cmd/shell/exec in the body/tmp,
outbound connections from the camera after connecting to 34567The lab is built based on a real campaign: while analyzing a dump of one botnet infrastructure (full analysis: iot-botnet-anatomy) this exact vector was encountered — the DebugShell port on Puwell cameras.
What is reproduced here is the methodology, not someone else's code: the repository contains no addresses, credentials, or samples.
Only your own labs and your own devices. Attacking someone else's equipment is a criminal offense (Russia: Article 272 of the Criminal Code).
Dockerfile · docker-compose.yml · mock/mock.py · poc/poc.py · README.md · LICENSE
CVE-2026-61515 — Puwell IP cameras (firmware 2.x–4.x) expose a DebugShell on TCP 34567 that accepts JSON commands without authentication and passes them to the shell. Unauthenticated remote code execution, CVSS 9.8.
This repository contains a mock service that reproduces the vulnerable logic and
a PoC. It runs on localhost only; the PoC refuses non-local targets without
--yes. Payload is harmless (touch /tmp/<marker>).
docker compose up -d --build && python3 poc/poc.py
Detection: any traffic to 34567/tcp from the internet; child processes of the camera service; egress from the camera after a connection to 34567. Mitigation: update firmware, block 34567 on WAN, isolate cameras in a VLAN.
MIT (c) 2026 krevetkqqq