Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-24799 — Unauthenticated SQL injection exploit for GLPI versions before 10.0.18, enabling database enumeration, credential extraction, and API token exfiltration via the /index.php/ajax/ endpoint. | Kitploit
Tools/GitHubGitHub/galisko/cve-2025-24799
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingDatabase Security
GitHubgalisko/cve-2025-24799

CVE-2025-24799

Unauthenticated SQL injection exploit for GLPI versions before 10.0.18, enabling database enumeration, credential extraction, and API token exfiltration via the /index.php/ajax/ endpoint.

View Repository
431 month 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-2025-24799 - GLPI SQL Injection Exploit

Exploit for unauthenticated SQL injection vulnerability in GLPI.

Vulnerability Information

FieldValue
CVECVE-2025-24799, CVE-2025-24801
ProductGLPI (Asset Management Software)
TypeUnauthenticated SQL Injection
Vulnerable Point/index.php/ajax/ endpoint
Affected FunctionhandleAgent with deviceid parameter
Vulnerable Version< 10.0.18
Fixed inGLPI 10.0.18

Technical Explanation

The exploit leverages the lack of proper sanitization of the deviceid parameter in GLPI's agent inventory endpoint. The handleAgent function accepts this parameter without proper escaping, allowing SQL injection through the dbEscapeRecursive function.

Attack Mechanism

  1. The exploit sends malformed XML payloads to the /index.php/ajax/ endpoint
  2. Uses SQL injection techniques: time-based, union-based, and error-based
  3. Can extract credentials, API tokens for RCE (CVE-2025-24801), and database data

Exploit Parameters

ArgumentTypeRequiredDescriptionDefault
-u, --urlstringYesURL of the target GLPI instance (includes http/https)Required
--checkflagNoOnly verify vulnerability without actively exploitingfalse
--exploitflagNoPerform active exploitation and extract datafalse
-t, --timeoutintegerNoRequest timeout in seconds10

Usage Examples

Verify if the vulnerability exists (modal, non-intrusive)

python3 exploit_cve_2025_24799.py -u https://HOST.com --check

Only verify endpoint version

python3 exploit_cve_2025_24799.py -u https://HOST.com

Active exploitation mode (with custom timeout)

python3 exploit_cve_2025_24799.py -u https://HOST.com --exploit --timeout 15

Full usage with all parameters

python3 exploit_cve_2025_24799.py -u https://HOST.com--check --timeout 20

Show full help

python3 exploit_cve_2025_24799.py --help

System Requirements

python3 >= 3.6
requests == 2.31.0

Installing dependencies

pip install -r requirements.txt

Available Attacks (via SQL Injection methods)

  1. Database Enumeration - Extract credentials from the glpi_users table
  2. API Token Exfiltration - Retrieve plaintext tokens for RCE
  3. Time-based Blind SQLi - Time-based attacks when WAF blocks UNION errors
  4. Error-based SQLi - Trigger database errors to extract data column by column

Legal Disclaimer

IMPORTANT LEGAL WARNING

This exploitation code is provided solely for ethical security testing purposes and with proper authorization.

  • Use this exploit ONLY on systems where you have explicit written permission
  • Misuse may result in legal action (Computer Fraud and Abuse Act, DMCA, etc.)
  • Do not use this tool against third-party infrastructures without prior authorization
  • Ensure you have valid authorization before using this exploit against any target

REQUIRED AUTHORIZATION:

  • Audit documentation with defined scope
  • Permission letters from the system owner
  • Signed rules of engagement

Responsible Use

This exploit is intended for:

  • ✅ Authorized pentesting (with contract)
  • ✅ Auditing your own security (your own systems)
  • ✅ Academic/educational research
  • ✅ Incident response (with legal authorization)

Not permitted for:

  • ❌ Malicious attacks against third parties
  • ❌ Data or credential theft
  • ❌ Unauthorized use for RCE
  • ❌ Distribution without permission from the original author

References

SourceDescription
CVE DatabaseCVE-2025-24799, CVE-2025-24801
Vendor AdvisoryGLPI Security Bulletin
NVDNVD CVE entry and CVSS score

Author

G4l1l30 - Security research purpose


This exploit is intended for ethical security researchers and professionals. Misuse is the responsibility of the user.

Download Tool