Skip to content
Fencer Vulns
medium 4.3

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 products
    not 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

Sources

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.