what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Moodle 2.4.10 / 2.5.6 / 2.6.3 / 2.7 Account Information Disclosure

Moodle 2.4.10 / 2.5.6 / 2.6.3 / 2.7 Account Information Disclosure
Posted Apr 6, 2017
Authored by Patrick Webster

Moodle versions 2.7 and earlier suffer from a vulnerability that discloses the account name for a specified profile ID.

tags | exploit, info disclosure
SHA-256 | 4f976a974fdadab3348c916dd40c13ac770e58b386f43d58b4af5a65ee162dda

Moodle 2.4.10 / 2.5.6 / 2.6.3 / 2.7 Account Information Disclosure

Change Mirror Download
https://www.osisecurity.com.au/moodle-url-manipulation-remote-account-information-disclosure.html

Date:
04-Apr-2017

Product:
Moodle

Versions affected:
2.4.10, 2.5.6, 2.6.3, 2.7 and earlier.

Vulnerability:
Information disclosure.

Example:
/user/edit.php?id= reveals account owner name

1. Log in to http://demo.moodle.net/ as user student:sandbox.
2. Click view profile when logged in (student is id=4).
3. Change id parameter from 4 to 3, which is the teacher
(http://demo.moodle.net/user/profile.php?id=3). The HTML response says
'Terri Teacher' who the 'student' user has access to.
4. Change id parameter to 2
(http://demo.moodle.net/user/profile.php?id=2). The HTML response says
"The details of this user are not available to you" and the navigation
bar above says "Home / My profile / View profile / User".
5. Note that it says "User" - but hides the name!
6. Change the URL from profile.php to edit.php
(http://demo.moodle.net/user/edit.php?id=2).
7. The HTML message is "Sorry, but you do not currently have
permissions to do that (Edit user profile)" ... BUT, the navigation
bar says "Home / Users / Admin User".
VoilA ! The account name is "Admin User"

Effective on university websites which have 1+ million end users.

Credit:
Discovered by Patrick Webster

Disclosure timeline:
29-May-2014 - Discovered during audit, reported to tracker.
11-Jul-2014 - Fix committed MDL-45760.
14-Jul-2014 - Patch released for 2.4.11, 2.5.7, 2.6.4, 2.7.1.
04-Apr-2017 - Public disclosure.

About OSI Security:

OSI Security is an independent network and computer security auditing
and consulting company based in Sydney, Australia. We provide internal
and external penetration testing, vulnerability auditing and wireless
site audits, vendor product assessments, secure network design,
forensics and risk mitigation services.

We can be found at http://www.osisecurity.com.au/
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close