Information disclosure of source code in SimpleSAMLphp
Published Apr 21, 2020
3.1
LOWCVSS 3.1
EPSS 0.92%
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.
Affected products
-
- Version < 1.18.6StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Simplesamlphp | Simplesamlphp | n/a |
|
- < 1.18.6
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
1 other source (GHSA) ▾
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:S/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.92% (0.00922) | 58.96th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.92% (0.00922) | 58.78th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.05% (0.00050) | 19.83th | v3 (v2023.03.01) |
| Jun 6, 2024 | 0.05% (0.00050) | 19.10th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00050) | 17.09th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.46% (0.05463) | 76.57th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.91% (0.02909) | 64.88th | v1 |
| Jan 6, 2022 | 2.91% (0.02909) | 64.55th | v1 |
| Jan 5, 2022 | 0.66% (0.00663) | 48.81th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.66% (0.00663) | 0.00th | v1 |
References (6)
- https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2020-5301.yaml
- https://github.com/advisories/GHSA-24m3-w8g9-jwpq Advisory
- https://github.com/simplesamlphp/simplesamlphp/commit/47968d26a2fd3ed52da70dc09210921d612ce44e x_refsource_MISCPatchThird Party Advisory
- https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-24m3-w8g9-jwpq x_refsource_CONFIRMThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-5301
- https://simplesamlphp.org/security/202004-01
| Link | Providers | Tags |
|---|---|---|
| https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2020-5301.yaml | ||
| https://github.com/advisories/GHSA-24m3-w8g9-jwpq | Advisory | |
| https://github.com/simplesamlphp/simplesamlphp/commit/47968d26a2fd3ed52da70dc09210921d612ce44e | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-24m3-w8g9-jwpq | x_refsource_CONFIRMThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-5301 | ||
| https://simplesamlphp.org/security/202004-01 |
Change history (0)
No recorded changes yet.