12476 matches found
CVE-2014-6271-Shellshock
CVE-2014-6271 Shellshock 由 infrar3d 利用 本仓库包含针对 CVE-2014-6271(Shellshock) 的概念验证漏洞利用代码。 Shellshock 是 GNU Bash 中的一个严重漏洞,精心构造的环境变量允许执行任意命令 。 当 Web 服务器将 HTTP 头部传递给调用 Bash 的 CGI 脚本时,攻击者可以通过这些头部注入命令。 使用方法: ./shellshockexp.sh -h shellshockexp.sh options Options: -h | --help 显示此消息并退出 -a | --address 目标地址(默...
CVE-2021-41773
CVE-2021-41773 Poc CVE-2021-41773 - 启用了CGI的Apache 2.4.49 使用: chmod -x CVE-2021-41773.sh ./CVE-2021-41773.sh http://ip:port/ /etc/passwd 参考资料 https://nvd.nist.gov/vuln/detail/CVE-2021-41773 https://vulners.com/cve/CVE-2021-41773...
cve-2018-11714_POC
cve-2018-11714POC 在 TP-Link TL-WR840N 上发现了一个问题。该问题是由 /cgi/ 文件夹或 /cgi 文件的不当会话处理引起的。如果攻击者发送带有 "Referer: http://192.168.0.1/mainFrame.htm" 的标头,则任何操作都无需身份验证。 文章 pt-br: https://nous.sidneypepo.com/router2025.html...
CVE-2025-67445
概述 TOTOLINK X5000R V9.1.0cu.2415 的 Web 管理接口存在一个漏洞,允许 LAN 上的未经认证的远程攻击者通过段错误使 Web 服务崩溃。攻击者向 CGI 端点发送过大的 HTTP POST 请求,可触发内存耗尽,导致拒绝服务(DoS)。 漏洞详情 该漏洞源于固件 Lighttpd 配置中未对请求大小进行限制。具体而言,以下限制被注释掉了: server.max-request-size = 16384 由于此限制未生效,CGI 端点 /cgi-bin/cstecgi.cgi 可接收极大请求体。根据固件反编译结果,CGI 处理程序读取并信任用户提供的...
CVE-2024-40445_CVE-2024-40446
MimeTeX 漏洞参考 CVE-2024-40445 & CVE-2024-40446 本仓库是 CVE-2024-40445 和 CVE-2024-40446 这两个影响 MimeTeX 的安全问题的公开参考。MimeTeX 是一个用 C 编写的轻量级开源 LaTeX 渲染器。 ⚠️ MimeTeX 似乎已不再积极维护。强烈建议用户和开发者在生产环境中使用前评估相关风险。 漏洞 CVE-2024-40445 — 目录遍历 MimeTeX 1.77 之前版本存在目录遍历漏洞。在命令行或 CGI 模式下运行时,精心构造的用户输入可用于在 Windows 系统上执行未经授权的文件访问操作。...
cgi-bin-shellshock
使用方法 克隆仓库(或直接复制粘贴你偏好的脚本) sudo git clone https://github.com/Gurguii/shellshock.sh 运行脚本 Bash bash shellshock.sh -u -h -p Python python3 shellshock.py -u -lh -lp 注意:默认 LPORT 为 4444,URL 为必填项。如果只提供 URL,则执行 RCE;否则,它将针对给定的 lhost 和 lport 执行 RSHELL。...
CVE-2024-4577
仅用于研究 默认XAMPP的PoC curl -v -d "" http://127.0.0.1/php-cgi/php-cgi.exe/?%add+allowurlinclude%3Don+-d+autoprependfile%3Dphp%3A//input+-d+cgi.forceredirect%3D0...
Shocker-TJNULL-OSCP-
HackTheBox: Shocker 攻击报告 一份结构化的专业演练,展示了对严重Shellshock 漏洞的识别和手动利用,随后通过Linux目标上配置错误的sudo权限进行本地权限提升。 技术概述 目标操作系统: Linux IP地址: 10.10.10.56 难度: 简单 核心漏洞: Shellshock CVE-2014-6271 及配置错误的Sudo权限 /usr/bin/perl 目标: 通过CGI环境变量注入获得初始用户访问权限并提升至root。 1. 枚举与侦察 评估从一次快速的全端口TCP...
CVE-2024-4577
PHP CGI参数注入 CVE-2024-4577 远程代码执行 📜 描述 在 PHP 8.1. 至 8.1.29 之前、8.2. 至 8.2.20 之前、8.3. 至 8.3.8 之前的版本中,当在 Windows 上使用 Apache 和 PHP-CGI 时,如果系统设置为使用某些代码页,Windows 可能使用“最佳匹配”行为来替换传递给 Win32 API 函数的命令行中的字符。PHP CGI 模块可能会将这些字符误解为 PHP 选项,从而允许恶意用户向正在运行的 PHP 二进制文件传递选项,进而泄露脚本源代码、在服务器上执行任意 PHP 代码等。 "XAMPP...
CVE-2012-1823
PHP CGI参数注入 CVE-2012-1823 描述 sapi/cgi/cgimain.c 在 PHP 5.3.12 之前版本及 5.4.x 版本中(5.4.2 之前),当配置为 CGI 脚本(即 php-cgi)时,未能正确处理缺少 =(等号)字符的查询字符串,这允许远程攻击者通过在查询字符串中放置命令行选项来执行任意 代码,相关问题在于未能跳过针对 'd' 情况的某个 phpgetopt。 用法 ./phpcgi.sh http:// 示例 ./phpcgi.sh http://10.128.20.2 "whoami"...
Cgi-bin_bash_Reverse
Cgi-binbashReverse PoC para CVE-2014-6271 Fuente:https://gist.github.com/matjohn2/bc9689c60d4c9c5a2538...
PHP-CGI-Argument-Injection-Exploit
🎬 这个 YouTube 视频 1️⃣ 目标检查 从 Kali 中确定 Metasploitable 的 IP: ip a 例如: Kali: 192.168.56.101 Metasploitable2: 192.168.56.102 检查端口和服务: nmap -p 80 192.168.56.102 也可以在浏览器中检查: http://192.168.56.102/ 2️⃣ 启动 Metasploit msfconsole 3️⃣ 选择 PHP CGI 漏洞利用模块 search php cgi 正确模块: use...
CVE-2021-41773
https://target/cgi-bin/.%2e/%2e%2e/%2e%2e/%2e%2e/etc/hosts id: CVE-2021-41773 info: name: Apache 2.4.49 Exploit author: numanturle severity: high requests: - method: GET path: - "BaseURL/cgi-bin/.%2e/%2e%2e/%2e%2e/%2e%2e/etc/hosts" matchers-condition: and matchers: - type: regex regex: -...
Exploit for Command Injection in Php
Task 04 — Exploitation with Metasploit Zyroo Cybersecurity...
httpd: httpd: arbitrary code execution via incorrect handler assignment during internal CGI redirects
A flaw was found in Apache HTTP Server. An attacker could achieve unintended code execution when an internal redirect generated by a Common Gateway Interface CGI program points to a non-executable file. If the target file resides in a directory configured for CGI execution and lacks a file...
CVE-2026-42356
A flaw was found in Apache HTTP Server. An attacker could achieve unintended code execution when an internal redirect generated by a Common Gateway Interface CGI program points to a non-executable file. If the target file resides in a directory configured for CGI execution and lacks a file...
CVE-2026-42356
Deployment of wrong handler vulnerability in Apache HTTP Server allows the target of some internal redirects from CGI programs to also be treated as CGI and executed. The target must already be in a directory enabled for CGI and have no other extension understood by modmime. This issue affects...
Linux Distros Unpatched Vulnerability : CVE-2026-42356
The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available. - Deployment of wrong handler vulnerability in Apache HTTP Server allows the target of some internal redirects from CGI programs to also be treated as CGI and...
ALPINE-CVE-2026-42356
Deployment of wrong handler vulnerability in Apache HTTP Server allows the target of some internal redirects from CGI programs to also be treated as CGI and executed. The target must already be in a directory enabled for CGI and have no other extension understood by modmime. This issue affects...
AZL-106752 CVE-2026-42356 affecting package httpd 2.4.68-1
Deployment of wrong handler vulnerability in Apache HTTP Server allows the target of some internal redirects from CGI programs to also be treated as CGI and executed. The target must already be in a directory enabled for CGI and have no other extension understood by modmime. This issue affects...