Exploit database

GH-5df13e7e453bfb9af5062e1ec37aa2b2

hxuu/moodle-cve

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-26529

2 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files1

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

challenge/webfinger/challenge/public_html/student/index.php

PHP · 565 bytes
<?php
require_once __DIR__ . '/../../resources/config.php';

if (!isset($_SESSION['user']) || $_SESSION['user']['role'] !== 'student') {
    header('Location: /login.php');
    exit;
}
?>
<?php include TEMPLATES_PATH . '/header.php'; ?>
<h1>Home page</h1>
<p>
    Welcome back! <?php echo "<b>" . $_SESSION['user']['username'] . "</b>"; ?>
    <br>
    Your role is: <?php echo "<b>" . $_SESSION['user']['role'] . "</b>"; ?>
</p>
<a href="/logout.php">Log out?</a>
<br>
<a href="/profiles.php">Search profiles?</a>
<?php include TEMPLATES_PATH . '/footer.php'; ?>