跳到正文

正在自动登录…

← 返回项目列表

ikow/php2shell-poc

漏洞验证安全研究

针对PHP session.upload_progress两个高危漏洞(CVE-2026-109618/109619)的安全研究仓库,包含验证POC、检测规则和实验环境,面向授权安全测试人员。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/22 11:46:48 · 查看原文

普通Python研究项目
累计 Stars
1,330
当前热度
1~7 天 · 热门
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/22 11:46:48

目标用户

面向进行授权安全测试的研究人员。

查看 README 依据
This research is for authorized security testing and educational purposes only. Do not use against systems you do not own or have explicit authorization to test. ## License MIT
使用方式

通过命令行运行POC脚本,并使用Docker搭建实验环境。

查看 README 依据
verify_handler_mismatch.py — Verify handler mismatch → object deserialization lab/ docker-compose.yml — PHP 8.2.34 FPM + nginx lab environment Dockerfile — Vulnerable PHP build php.ini — Lab configuration setup.sh — One-click lab setup docs/ ANALYSIS.md — Full technical analysis ``` ## Quick Start ```bash # Start the lab cd lab && ./setup.sh # Verify session injection python3 poc/verify_session_injection.py --target http://127.0.0.1:18080 # Verify UAF (requires ASAN build)
docker exec php-asan-lab php poc/verify_uaf_asan.php # Verify handler mismatch python3 poc/verify_handler_mismatch.py --target http://127.0.0.1:18080 ``` ## Affected Versions - PHP 5.4.0 — 8.5.11 (all versions with `session.upload_progress`) - Fixed in: 8.2.35, 8.3.36, 8.4.27, 8.5.12 (scheduled 2026-10-21) - PHP 5.x, 7.x, 8.0, 8.1: **end-of-life, no official fix** ## Mitigation ```ini ; Immediate mitigation (does NOT fix all attack paths) session.upload_progress.enabled = Off session.use_only_cookies = On ``` ## Disclaimer
部署要求

需要Python 3和Docker,以及ASAN构建用于UAF验证。

查看 README 依据
verify_handler_mismatch.py — Verify handler mismatch → object deserialization lab/ docker-compose.yml — PHP 8.2.34 FPM + nginx lab environment Dockerfile — Vulnerable PHP build php.ini — Lab configuration setup.sh — One-click lab setup docs/ ANALYSIS.md — Full technical analysis ``` ## Quick Start ```bash # Start the lab cd lab && ./setup.sh # Verify session injection python3 poc/verify_session_injection.py --target http://127.0.0.1:18080 # Verify UAF (requires ASAN build)
docker exec php-asan-lab php poc/verify_uaf_asan.php # Verify handler mismatch python3 poc/verify_handler_mismatch.py --target http://127.0.0.1:18080 ``` ## Affected Versions - PHP 5.4.0 — 8.5.11 (all versions with `session.upload_progress`) - Fixed in: 8.2.35, 8.3.36, 8.4.27, 8.5.12 (scheduled 2026-10-21) - PHP 5.x, 7.x, 8.0, 8.1: **end-of-life, no official fix** ## Mitigation ```ini ; Immediate mitigation (does NOT fix all attack paths) session.upload_progress.enabled = Off session.use_only_cookies = On ``` ## Disclaimer
已知限制

作者明确说明仅用于授权测试和教育目的,且缓解措施不能修复所有攻击路径。

查看 README 依据
This research is for authorized security testing and educational purposes only. Do not use against systems you do not own or have explicit authorization to test. ## License MIT
docker exec php-asan-lab php poc/verify_uaf_asan.php # Verify handler mismatch python3 poc/verify_handler_mismatch.py --target http://127.0.0.1:18080 ``` ## Affected Versions - PHP 5.4.0 — 8.5.11 (all versions with `session.upload_progress`) - Fixed in: 8.2.35, 8.3.36, 8.4.27, 8.5.12 (scheduled 2026-10-21) - PHP 5.x, 7.x, 8.0, 8.1: **end-of-life, no official fix** ## Mitigation ```ini ; Immediate mitigation (does NOT fix all attack paths) session.upload_progress.enabled = Off session.use_only_cookies = On ``` ## Disclaimer

README

正在加载 README…

收录信息

仓库创建时间
2026/10/21 15:55:16
首次达标收录
2026/10/21 18:31:02
统计更新时间
2026/10/22 19:00:54

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

普通加权总分 3.7 / 5

新颖度
4.2
实用价值
3.3
成熟度
4.1
实质含量
3.4

由 Jev 模型根据仓库描述与 README 评估,2026/10/21 18:31:02 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/22 11:48:07
许可证标识
MIT
Fork 数
482
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目