This is more than a simple matter.
The fact that any teacher can make themselves a site admin is a REAL SECURITY ISSUE.
That Moodle knows about this and has not fixed it leads to obvious legal issues for organizations running Moodle.
If you run this by your legal department they will likely advise you to turn Moodle OFF immediately.
If a users mark was altered through this, the lawyers would have a field day.
I have read the attached links and googled Moodle security issues.
Moodle has had many security issues over the years (many are basic input validation, etc. that seasoned web programmers would not make).
You have to remember that Moodle was originally written by a computer science graduate with (from what i can gather) very little actual programming experience.
That suspect code has been added to over the years, and now they are trying to correct the bad decisions that were previously made.
Also, by not fixing a real security issue, Moodle is further pushing the myth that open source software cannot be trusted.
This effects other open source projects by being painted with the same brush.
We and others like us that write open source software and correct any security issues that arise admonish Moodle to fix their security issues and quit downplaying their seriousness.
You are making the rest of us look bad!