Scanner 100% defensivo para CVE-2026-110264 GitLab Arbitrary File Write (PHP2Shell) - Sem código de exploit, apenas detecção de versão e patch para equipes de segurança e estudantes.
Um scanner de segurança defensivo para CVE-2026-110264 - Gravação Arbitrária de Arquivo no GitLab CE/EE (PHP2Shell).
Esta ferramenta NÃO contém nenhum código de exploit. É 100% segura e educacional.
GitLab CE/EE < 18.3.5 é vulnerável a uma falha de gravação de arquivo no tratamento de redirecionamento OAuth (GLSA-2026-01). Atacantes podem abusar dela para gravar arquivos PHP e obter acesso ao shell (PHP2Shell). Este é o estudo de caso utilizado para a pesquisa PHP2Shell.
git clone https://github.com/YOUR-USERNAME/GitLab2Safe-Defensive-Checker
cd GitLab2Safe-Defensive-Checker
pip install requests
### Usage
python3 checker.py --url https://gitlab.example.com
Output:
[+] Target: https://gitlab.example.com
[+] Version Found: 18.3.2
[!] VULNERABLE - Please upgrade to 18.3.5 or later
### Disclaimer
This tool is for *educational and defensive purposes only*. No exploit code included. Use only on systems you own.
### Author
Made by Fari - Learning Defensive Security
### References
- GitLab Security Release: 18.3.5
- GLSA-2026-01