Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

webcgi-exploits

> 编程语言
Open source

Multi-language web CGI interfaces exploits.

395 stars0 likes2 views
WebsiteGitHub

About

Multi-language web CGI interfaces exploits.

Web CGI Exploits

Here's several exploits related to different web CGIs. I wrote those exploits in last few years.

How it works

Web app are basicly those layers:

  1. applications
  2. web frameworks
  3. script language engines
  4. web containers(servers)
  5. web front proxy(nginx etc.)
  • 4 and 5 could be the same thing.3 and 4 could the same thing too.

There are communications between each layer. each layer software are developed by different teams. they do have standards to communicate each other, but they always have misunderstandings or design faults. So we can take advantage of those faults to achieve our goals, like RCE, spwan a shell, port forward etc.

Exploits

PHP

  • Fastcgi

    • Reference: PHP FastCGI Remote Exploit(Chinese)
    1. fcgi_exp.go use fastcgi to read or execute file if the fcgi port exposed to public( or with a SSRF).
    2. fcgi_jailbreak.php use fastcgi params to change some php ini configs and break php-based sandbox.
    • Reference: Using PHP-FPM as memory shell(Chinese)
  • Apache Mod_php

    • Reference: PHP Port Reuse With Mod_php(Chinese)
    1. mod_php_port_reuse.php reuse the 80 connection to spawn a interactive shell. Bypass the firewall.
    2. mod_php_port_proxy.py work together with mod_php_port_reuse.php, create a 80 tcp proxy to bypass the firewall.

Python

  • Uwsgi
    • Reference: uWSGI RCE Exploit(Chinese)
    1. uwsgi_exp.py exploit uwsgi to execute any command remotely if the uwsgi port exposed to public( or with a SSRF).

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPcgiexploitscripting-language

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言