AI agent gets root shell on a router via CGI exploit fix
ngxson · x · 2026-11-24
A striking "you can just do 💩 with AI" demo: ngxson let an AI agent fix a router CGI vulnerability — and it went all the way.
Per the screenshots, the agent:
- Fixed/verified the CGI bug (URL-decode handling)
- Gained an interactive root shell by using sed to set the admin user's uid to 0, then SSH'ing in as root
- Restored the web UI via uci set + commit + restart uhttpd
- Celebrated "ROOT SHELL ACHIEVED — uid=0(root)" and updated its MEMORY.md
A memorable showcase of agents autonomously operating on real system administration/exploitation tasks.
More from coding & agent
- Artificial Analysis chart: Mistral Vibe tops coding-agent cost-performance Pareto line — MistralAI · 2026-11-24
- Hardware startup Autonomous Lamp ships ~1,000 PRs a week on a custom in-house AI stack — dee_hw · 2026-11-24
- Copilot CLI v1.0.115 adds GPT-6.2 Astra, Gemini 4 Hydrogen and sandbox upgrades — copilot-cli-release-app[bot] · 2026-11-24
- Multica desktop runs 10 agent harnesses (Claude, Codex, Cursor, Grok) on one Mac — jiayuan_jy · 2026-11-24
- Running an AI agent team from your phone: assign tasks via lockscreen notifications — pramodk73 · 2026-11-24
- Dev mocks agent-hype 'software factory' pitches versus real code review — wavefnx · 2026-11-24