CVE-2016-2158: Infoleak

Published May 22, 2016
·
Updated

lib/ajax/getnavbranch.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3, when the forcelogin feature is enabled, allows remote attackers to obtain sensitive category-detail information from the navigation branch by leveraging the guest role for an Ajax request.

Affected Software

37 affected componentsFixes available
composer/moodle/moodle>=3.0.0<3.0.3
3.0.3
composer/moodle/moodle>=2.9.0<2.9.5
2.9.5
composer/moodle/moodle>=2.8.0<2.8.11
2.8.11
composer/moodle/moodle<2.7.13
2.7.13
Moodle moodle<=2.6.11
Moodle moodle=2.7.0
Moodle moodle=2.7.1
Moodle moodle=2.7.2
Moodle moodle=2.7.3
Moodle moodle=2.7.4
Moodle moodle=2.7.5
Moodle moodle=2.7.6
Moodle moodle=2.7.7
Moodle moodle=2.7.8
Moodle moodle=2.7.9
Moodle moodle=2.7.10
Moodle moodle=2.7.11
Moodle moodle=2.7.12
Moodle moodle=2.8.0
Moodle moodle=2.8.1
Moodle moodle=2.8.2
Moodle moodle=2.8.3
Moodle moodle=2.8.4
Moodle moodle=2.8.5
Moodle moodle=2.8.6
Moodle moodle=2.8.7
Moodle moodle=2.8.8
Moodle moodle=2.8.9
Moodle moodle=2.8.10
Moodle moodle=2.9.0
Moodle moodle=2.9.1
Moodle moodle=2.9.2
Moodle moodle=2.9.3
Moodle moodle=2.9.4
Moodle moodle=3.0.0
Moodle moodle=3.0.1
Moodle moodle=3.0.2

Event History

May 22, 2016
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
May 13, 2022
Advisory Published
via GitHub·01:12 AM

Frequently Asked Questions

1

What is the severity of CVE-2016-2158?

CVE-2016-2158 is classified as a medium severity vulnerability that allows remote attackers to access sensitive category-details in Moodle.

2

How do I fix CVE-2016-2158?

To fix CVE-2016-2158, upgrade to Moodle versions 2.7.13, 2.8.11, 2.9.5, or 3.0.3 or higher.

3

Which versions of Moodle are affected by CVE-2016-2158?

CVE-2016-2158 affects Moodle versions from 2.6.11 up to but not including 2.7.13, 2.8.11, 2.9.5, and 3.0.3.

4

What kind of information can be accessed through CVE-2016-2158?

CVE-2016-2158 allows attackers to obtain sensitive category-detail information in the navigation branch of Moodle.

5

Is the forcelogin feature related to CVE-2016-2158?

Yes, the vulnerability in CVE-2016-2158 is triggered when the forcelogin feature is enabled in Moodle.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203