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-2021-36393 — Error-based blind SQL injection with bit-shifting approach for Moodle 3.10.4 | Kitploit
Tools/GitHubGitHub/stackoverflowexcept1on/cve-2021-36393
Vulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration Testing
GitHubstackoverflowexcept1on/cve-2021-36393

CVE-2021-36393

Error-based blind SQL injection with bit-shifting approach for Moodle 3.10.4

View Repository
422 years 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-2021-36393

Error-based blind SQL injection with bit-shifting approach for Moodle 3.10.4.

Allows an attacker to perform arbitrary database queries. For example, you can steal:

  • test answers from the database

    Modify the script.js file and run it on route /mod/quiz/attempt.php?attempt=...&cmid=...

  • user password hashes:

    root@kitploit:~
    (SELECT password FROM mdl_user WHERE id = 2 LIMIT 1)
    
  • user sessions:

    root@kitploit:~
    (SELECT sid FROM mdl_sessions ORDER BY id DESC LIMIT 1)
    

How to use it?

You must be logged in and enrolled in at least one course. The just copy the script.js code into your browser console and run it on a website that has the vulnerable version of Moodle installed.

How to check the installed version of Moodle?

root@kitploit:~
DOMAIN="example.com"
curl -s https://$DOMAIN/lib/upgrade.txt | head
Download Tool