---
title: "CVE-2020-5301\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-2020-5301?format=md
keywords: index, follow
---

# CVE-2020-5301

Publication date 21 April 2020

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**3.1 · Low**

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

Toggle side navigation

## Description

SimpleSAMLphp versions before 1.18.6 contain an information disclosure
vulnerability. The module controller in `SimpleSAML\Module` that processes
requests for pages hosted by modules, has code to identify paths ending
with `.php` and process those as PHP code. If no other suitable way of
handling the given path exists it presents the file to the browser. The
check to identify paths ending with `.php` does not account for uppercase
letters. If someone requests a path ending with e.g. `.PHP` and the server
is serving the code from a case-insensitive file system, such as on
Windows, the processing of the PHP code does not occur, and the source code
is instead presented to the browser. An attacker may use this issue to gain
access to the source code in third-party modules that is meant to be
private, or even sensitive. However, the attack surface is considered
small, as the attack will only work when SimpleSAMLphp serves such content
from a file system that is not case-sensitive, such as on Windows. This
issue is fixed in version 1.18.6.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| simplesamlphp | 19.10 eoan | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |

---

* [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**

3.1 · Low

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 3.1 · Low |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2020-5301>
