Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Moodle Config Security Audit

    by CashonlyTian

    1

    Deploying a Moodle instance without a dedicated security review leaves your learning platform vulnerable to IDOR attacks, credential theft, and data leaks.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Moodle Config Security Audit

    Moodle Config Security Audit

    Example session with this skill installed

    Audit my Moodle install at ./moodle-prod-v2 for the new November CVEs. The site version is 5.2.4. Use #E02424 for the accent color.

    • Read your context and instructions
    • Compiled the moodle config security
    • Generated the document

    I have completed the security audit for your Moodle installation at ./moodle-prod-v2.

    Security Summary

    • Score: 0/100
    • Grade: F
    • Risk Level: CRITICAL
    • Findings: 34 issues

    Moodle Security Audit Report

    CheckScoreStatusFinding
    Patched Version0/10FAILVersion 5.2.4 is vulnerable to CVE-2026-133074 (IDOR), CVE-2026-133075, CVE-2026-133071, CVE-2026-133060, CVE-2026-133059 and CVE-2026-133061
    Config Secrets0/10FAILWeak $CFG->dbpass found in config.php
    File Permissions0/10FAILconfig.php is world-writable (0666)
    Data Directory0/10FAIL$CFG->dataroot is inside the web root
    HTTPS & SSL0/10FAILSite serves plain HTTP without HTTPS
    Debug Mode0/10FAILProduction debugging is enabled
    Password Policy0/10FAIL$CFG->passwordpolicy is set to off
    Session Security0/10FAILSession timeout is outside safe limits
    SMTP Encryption0/10FAILSMTP auth enabled without TLS/SSL
    Web Services0/10FAILMobile web services exposed

    Critical Fixes Required
    1.

    Upgrade Immediately: Move to Moodle 5.3.1 or 5.2.5 to patch the November 2026 IDOR and arbitrary file read flaws.
    2.

    Secure Configuration: Change config.php permissions to 0444 and move the moodledata directory outside the public HTML path.
    3. Hardening: Enable the password policy and ensure SMTP communications are encrypted via TLS.

    The visual scorecard has been generated at scan-2025-05-20.png and the full technical log is available at scan-report.md.

    Clean re-run after fixes (Moodle 5.3.1)

    • Score: 100/100
    • Grade: A
    • Risk Level: LOW
    • Findings: 0 issues
    • All 10 checks PASS (10/10 each): patched version, config secrets, file permissions, data directory, HTTPS & SSL, debug mode, password policy, session security, SMTP encryption and web services.

    Next steps

    1. Run the Moodle upgrade script to reach a patched version.
    2. Update $CFG->dataroot in config.php and move the corresponding directory.
    3. Re-run this audit to verify the new security score.

    scan-2025-05-20.png

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Deploying a Moodle instance without a dedicated security review leaves your learning platform vulnerable to IDOR attacks, credential theft, and data leaks. This skill audits your local Moodle install directory to identify critical misconfigurations before they reach production.

    What it does

    • Version scanning identifies if the install is vulnerable to the November 2026 flaws (CVE-2026-133074, CVE-2026-133075, and others) affecting quizzes, lessons, and grade services.
    • Credential auditing flags weak or literal secrets in config.php, including database passwords and site salts.
    • Environment hardening checks for active developer debugging, plain HTTP usage, and insecure session timeouts.
    • Access control verifies password policies, guest access settings, and web service exposure.
    • System integrity detects world-writable configuration files and data directories located within the web root.

    How it works

    1. Provide the path to your local Moodle install directory and optionally the running version number.
    2. The skill executes a local Python script that parses config.php, version.php, and file permissions as text.
    3. It generates a 10-point scorecard (0-100) with a risk grade and a prioritised fix list.
    4. Review the generated PNG scorecard and Markdown report for specific line-level findings.

    Frameworks & tools

    This skill works with any Moodle installation (standard or customized) and requires the ability to run a Python-based scanner on the local filesystem.

    Why this beats prompting it yourself

    Generic prompts often miss the specific bitmask values required for Moodle's $CFG->debug settings or the exact version strings tied to the November 2026 CVEs. This skill uses precise regex parsing and a weighted scoring system to give you an objective security posture instead of vague advice.

    Use cases

    • Auditing a Moodle site before moving from a staging environment to production.
    • Reviewing an install directory inherited from a third-party developer or forum.
    • Generating a security compliance scorecard for client handovers or internal reports.
    • Verifying that local fixes for CVE-2026-133060 and related flaws are properly applied.

    Known limitations

    Does not connect to live servers or perform network-based penetration testing. Scans are limited to local configuration files and directory structures only.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Local filesystem scan only. Does not perform network-based probes, database audits, or full plugin vulnerability analysis beyond core directories.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 days ago

    Software
    Python 3Pillow

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed2 days ago

    What's inside

    Frequently Asked Questions

    No, the skill performs a static analysis of your local configuration files and directory structure; it does not require an active internet connection or login credentials to a running Moodle site.

    The skill is compatible with any AI agent that has filesystem access permissions, allowing it to execute the Python-based scanner on your local Moodle directory.

    This skill includes specific detection logic for the November 2026 Moodle vulnerabilities (such as CVE-2026-133074), ensuring your quizzes and grade services are protected against these latest threats.

    You receive the core Python scanning engine, the AI-driven reporting module, and a license for all updates covering new Moodle security vulnerabilities for one year.

    While it works with any Moodle version, the scoring system and CVE detection are specifically optimized for Moodle 4.x and 5.x architectures.

    The skill provides a high-level PNG scorecard for quick stakeholder review and a detailed Markdown report that specifies exact file paths and line numbers for developers to fix.

    New in LLM Ops