Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Risk

7/14/2008
08:55 AM
Connect Directly
Twitter
RSS
E-Mail
50%
50%

Academic Portal Platform Fails Penetration Test

Researchers find vulnerabilities in popular open-source Moodle software that can lead to stolen tests, altered grades, or complete site takeover

Researchers have discovered two major vulnerabilities in a popular open-source online course management system that would let an attacker take over teacher and site administrator accounts.

The Moodle system is used by major universities such as California Polytechnic Institute, Cornell University, UCLA, various school systems, and even the Girl Scouts of America.

Moodle, which competes against commercial e-learning portal tools such as Blackboard/WebCT, contains persistent cross-site scripting (XSS) and cross-site request forgery (CSRF) bugs, according to Adrian Pastor, one of the researchers who discovered the flaws during a penetration test. There are over 46,000 Moodle sites around the world.

The vulnerabilities affect Moodle versions below 1.8.0, according to Moodle, which plans to release details tomorrow on fixes to these and other security issues in the software.

Pastor, senior IT security consultant with ProCheckUp Ltd., says all it takes to exploit one of these vulnerabilities is tricking a teacher or administrative user into clicking on a link posted by a malicious student on his or her school or organization’s Moodle site. That’s all too easy given that Moodle combines online classes with a social networking-type environment consisting of blogs, chats, and public profiles, according to the researchers. Moodle can support up to 200,000 students per site.

“We're not aware of the vulnerabilities we discovered being exploited in the wild, and hope they won't ever be,” says ProCheckUp’s Pastor, who along with his colleague Amir Azam on July 22 will publish details of the vulnerabilities they discovered, as well as proof-of-concept of exploits they wrote.

The persistent XSS exploit developed by ProCheckUp injects a piece of malicious JavaScript in the public blogs section of a Moodle site. The malware steals the session IDs of users who visit the blogs section, and then the attacker can pose as any of those compromised users on the Moodle site -- including his or her professor. Persistent XSS is a more powerful XSS attack where malicious code is stored on a Website for a period of time, and all the user has to do is view the page and he or she becomes infected.

The CSRF exploit, meanwhile, sends a phony “edit profile” request when the victim clicks on the malicious link on the Moodle site. The attacker then hijacks the victim’s email address and can log in as the user and change the victim’s password to his own, thus hijacking the victim’s account as well.

Pastor says although he and Azam have not tested the exploits on Moodle admin accounts, it’s likely they will work on those accounts as well as the teacher accounts they penetration-tested. Hacking a teacher’s account is bad enough -- a student could change grades or steal an exam or someone else’s assignment, for example -- but hacking the admin account would give an attacker complete control of the Moodle site, according to the researchers.

Meanwhile, Moodle sites are also vulnerable to a two-pronged attack using both persistent XSS and CSRF. This would entail an attacker loading an HTML and JavaScript payload into the Moodle site’s blog section. So when a user visits a blog, his email address would be updated to the attacker’s email, and the attacker is then able to take over the account.

According to Moodle’s latest statistics, the e-learning portal platform supports over 2 million courses and over 22 million users.

Pastor, meanwhile, says the Moodle team, including Petr Skoda, was quick to respond to the vulnerabilities when ProCheckUp alerted them.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.

Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
NSA Appoints Rob Joyce as Cyber Director
Dark Reading Staff 1/15/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: STOP LOOKING IN HERE FOR YOUR PASSWORD!!!
Current Issue
2020: The Year in Security
Download this Tech Digest for a look at the biggest security stories that - so far - have shaped a very strange and stressful year.
Flash Poll
Assessing Cybersecurity Risk in Today's Enterprises
Assessing Cybersecurity Risk in Today's Enterprises
COVID-19 has created a new IT paradigm in the enterprise -- and a new level of cybersecurity risk. This report offers a look at how enterprises are assessing and managing cyber-risk under the new normal.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-28488
PUBLISHED: 2021-01-22
This affects all versions of package jquery-ui; all versions of package org.fujion.webjars:jquery-ui. When the "dialog" is injected into an HTML tag more than once, the browser and the application may crash.
CVE-2021-22847
PUBLISHED: 2021-01-22
Hyweb HyCMS-J1's API fail to filter POST request parameters. Remote attackers can inject SQL syntax and execute commands without privilege.
CVE-2021-22849
PUBLISHED: 2021-01-22
Hyweb HyCMS-J1 backend editing function does not filter special characters. Users after log-in can inject JavaScript syntax to perform a stored XSS (Stored Cross-site scripting) attack.
CVE-2020-8567
PUBLISHED: 2021-01-21
Kubernetes Secrets Store CSI Driver Vault Plugin prior to v0.0.6, Azure Plugin prior to v0.0.10, and GCP Plugin prior to v0.2.0 allow an attacker who can create specially-crafted SecretProviderClass objects to write to arbitrary file paths on the host filesystem, including /var/lib/kubelet/pods.
CVE-2020-8568
PUBLISHED: 2021-01-21
Kubernetes Secrets Store CSI Driver versions v0.0.15 and v0.0.16 allow an attacker who can modify a SecretProviderClassPodStatus/Status resource the ability to write content to the host filesystem and sync file contents to Kubernetes Secrets. This includes paths under var/lib/kubelet/pods that conta...