CVE-2016-2158 json
Moodle allows attackers to obtain sensitive category-detail information
published 2016-05-22 10 y ago modified 2026-06-17 4 mo ago also GHSA-m882-j7gq-v9p7 , EUVD-2022-4519
- cvss
- 4.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist moodle/moodle 2.7.13, 2.8.11, 2.9.5, 3.0.3
- moodle Ubuntu 18.04 LTS, Ubuntu 16.04 LTS 3.0.3+dfsg-0ubuntu1
ubuntu advisories UBUNTU-CVE-2016-2158
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-2158 updated
moodle: multiple security issues fixed in 3.0.3, 2.9.5, 2.8.11, 2.7.13
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.71% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | <2.7.13 >=2.8.0, <2.8.11 >=2.9.0, <2.9.5 >=3.0.0, <3.0.3 |
2.7.13 2.8.11 2.9.5 3.0.3 |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/moodle/moodle/commit/0766509ab02353008af62f953f7ebc0f6210411a
web
-
github.com
/moodle/moodle/commit/3c069c16db62d0e0a64137578e92c22d604dd261
web
-
github.com
/moodle/moodle/commit/7b9fbb1cf4228b39f81454cdb8370e7853fbe184
web
-
github.com
/moodle/moodle/commit/dc8421575f35585a7a4fc1c9710dafd1d0483d4e
web
-
github.com
/moodle/moodle/commit/ea8987644fdbbee291337263598b0c3c7bf27c36
web
-
moodle.org
/mod/forum/discuss.php?d=330180
web, vendor-advisory
-
openwall.com
/lists/oss-security/2016/03/21/1
mailing-list, web
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-52774
web
-
securitytracker.com
/id/1035333
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2016-2158
advisory
-
github.com
/moodle/moodle
package
-
web.archive.org
/web/20160424224349/http://www.securitytracker.com/id/1035333
web
Sources
- CVE List CVE-2016-2158
- GitHub Advisory GHSA-m882-j7gq-v9p7
- NVD CVE-2016-2158
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.