---
title: "CVE-2016-2158\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2016-2158?format=md
keywords: index, follow
---

# CVE-2016-2158

Publication date 22 May 2016

Last updated 25 August 2025

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**4.3 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2016-2158?format=md#impact-score)

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| moodle | 19.04 disco | Fixed 3.0.3+dfsg-0ubuntu1 |
| 18.10 cosmic | Fixed 3.0.3+dfsg-0ubuntu1 |
| 18.04 LTS bionic | Fixed 3.0.3+dfsg-0ubuntu1 |
| 17.10 artful | Ignored end of life |
| 17.04 zesty | Ignored end of life |
| 16.10 yakkety | Ignored end of life |
| 16.04 LTS xenial | Fixed 3.0.3+dfsg-0ubuntu1 |
| 15.10 wily | Ignored end of life |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

4.3 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 4.3 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2158)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2016-2158)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2016-2158)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2016-2158)

### Other references

* <https://moodle.org/mod/forum/discuss.php?d=330180>
* <https://www.cve.org/CVERecord?id=CVE-2016-2158>
