{"id":295,"date":"2026-11-02T19:27:30","date_gmt":"2026-11-02T19:27:30","guid":{"rendered":"https:\/\/www.flossed.uk\/blog\/?p=295"},"modified":"2026-11-02T19:27:30","modified_gmt":"2026-11-02T19:27:30","slug":"moodle-secure-as-its-weakest-plugin","status":"publish","type":"post","link":"https:\/\/www.flossed.uk\/blog\/index.php\/2026\/11\/02\/moodle-secure-as-its-weakest-plugin\/","title":{"rendered":"Moodle: Secure as Its weakest plugin?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Moodle Community meeting on 27 Oct featured two presentations on security, one from Marina Glancy and Jordan Tomkinson about plugins and the other from Phillip Kropp about security in  Moodle itself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can see the video of the meeting at <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/moodle.org\/mod\/bigbluebuttonbn\/view.php?id=8821\" target=\"_blank\" rel=\"noopener\">https:\/\/moodle.org\/mod\/bigbluebuttonbn\/view.php?id=8821<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Marina and Jordan are authors of MDL Shield an independent AI-powered security review service for Moodle plugins. This has become more relevant since AI\/LLM systems have recently developed capabilities in identifying flaws in software.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each Moodle plugin must check capabilities itself, every time; miss one check and nothing in Moodle stops the attacker. Disabling a plugin isn&#8217;t uninstalling it either. The files stay on the server and some pages remain reachable by URL. If you don&#8217;t use a plugin, uninstall it and confirm the files are gone.<br>And who reviews plugin code? Often nobody. The plugins Marketplace sees around 170 new versions a week. New plugins are reviewed, but updates are not.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Plugins are part of Moodle<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Every real world Moodle has plugins, including Moodles own MoodleCloud. It is tempting to picture a plugin as a small add-on at the top of the stack, confined to its own corner. Marina, who spent 14 years at Moodle HQ including four as security officer, says that picture is wrong. Once installed, a plugin runs as the same  user with the same access as Moodle. It can read config.php, any database table, every stored file and anything else the web server can see.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What MDL Shield found in 316 plugins<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That gap is why Marina and Jordan (who designed MoodleCloud) built MDL Shield, an AI-assisted security review service for Moodle plugins.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/mdlshield.com\" target=\"_blank\" rel=\"noopener\">https:\/\/mdlshield.com<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each review runs against a full copy of the chosen Moodle version, so it can trace data from the request through the plugin, and through core to the database and back to the screen. Every finding names the file and line, says who could exploit it, and includes a proof of concept.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Across 316 plugins reviewed:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>75% had at least one security finding.<\/li>\n\n\n\n<li>29% had at least one finding rated high or critical.<\/li>\n\n\n\n<li>6% had SQL injection, and more than half of those were serious.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Among high and critical findings, the top problem was users reaching records they don&#8217;t own (insecure direct object references) or IDOR, which was a new acronym for me.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Marina stressed that developers aren&#8217;t careless. Moodle has a safe way to do each of these things; a developer forgets one step in one place, nothing breaks, and they never find out. A student can&#8217;t see a teacher&#8217;s button, but a forged request may still work for them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Developers in the chat were positive. Adam Jenkins said the reports had taught them a lot. Tim Hunt raised a fair worry: if people shop for an A grade, an unresolvable false positive becomes a marketing problem. Jordan said findings that can&#8217;t be verified in code are never rated critical or allowed to affect the grade, and asked people to report suspected false positives.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Non-commercial plugins in the directory get two free reviews a month per account,  other reviews cost $25 each. Look for the MDL Shield badge on plugin pages, and if a plugin you rely on lacks one, ask its developer.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is your site still supported?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Philipp Kropp then turned from plugins to the platform. A secure Moodle needs, at minimum, a version still receiving security fixes. Moodle 4.4 and 5.0 are already end of life; 4.5 LTS is still in security support.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Philip has code to crawl public Moodle sites, using the expiry date in each site&#8217;s security.txt file and other public clues. Of German sites whose version he could identify, just 10.7% were up to date. One still runs Moodle 1.7, released in 2006.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"320\" src=\"https:\/\/www.flossed.uk\/blog\/wp-content\/uploads\/2026\/11\/kropp-1024x320.png\" alt=\"\" class=\"wp-image-305\" srcset=\"https:\/\/www.flossed.uk\/blog\/wp-content\/uploads\/2026\/11\/kropp-1024x320.png 1024w, https:\/\/www.flossed.uk\/blog\/wp-content\/uploads\/2026\/11\/kropp-300x94.png 300w, https:\/\/www.flossed.uk\/blog\/wp-content\/uploads\/2026\/11\/kropp-768x240.png 768w, https:\/\/www.flossed.uk\/blog\/wp-content\/uploads\/2026\/11\/kropp.png 1179w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Quick wins for admins<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Run the security report. Site administration &gt; Reports &gt; Security checks (\/report\/security\/index.php). On 4.5 LTS, make sure the public\/private path checks pass; from 5.1, the new public web root takes care of this.<br>Hide your version. With the mobile app download link left at its defaults, a logged-out visitor can read your exact version from it. Adam Jenkins&#8217;s fix: set your own link under Site administration &gt; General &gt; Mobile app &gt; Mobile appearance.<br>Patch promptly. Moodle 5.1 has already had 53 security fixes; a site still on 5.1.0 is missing every one. Trim your plugins. Uninstall what you don&#8217;t use, and ask for security reviews of what you keep.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>People care most about security just after they&#8217;ve been hacked. Last week&#8217;s scare is a chance to care beforehand.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Moodle Community meeting on 27 Oct featured two presentations on security, one from Marina Glancy and Jordan Tomkinson about plugins and the other from Phillip Kropp about security in Moodle itself. You can see the video of the meeting at https:\/\/moodle.org\/mod\/bigbluebuttonbn\/view.php?id=8821 Marina and Jordan are authors of MDL Shield an independent AI-powered security review &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.flossed.uk\/blog\/index.php\/2026\/11\/02\/moodle-secure-as-its-weakest-plugin\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Moodle: Secure as Its weakest plugin?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-295","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"_links":{"self":[{"href":"https:\/\/www.flossed.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flossed.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flossed.uk\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flossed.uk\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flossed.uk\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=295"}],"version-history":[{"count":10,"href":"https:\/\/www.flossed.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/295\/revisions"}],"predecessor-version":[{"id":307,"href":"https:\/\/www.flossed.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/295\/revisions\/307"}],"wp:attachment":[{"href":"https:\/\/www.flossed.uk\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flossed.uk\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flossed.uk\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}