-
Notifications
You must be signed in to change notification settings - Fork 0
Description
CVE-2020-5225 - Medium Severity Vulnerability
Vulnerable Library - simplesamlphp/simplesamlphp-v1.17.8
A PHP implementation of a SAML 2.0 service provider and identity provider, also compatible with Shibboleth 1.3 and 2.0.
Library home page: https://api.github.com/repos/simplesamlphp/simplesamlphp/zipball/295937ae8672278cad73ec2c78af3749426263de
Dependency Hierarchy:
- simplesamlphp/composer-module-installer-v1.1.6 (Root Library)
- ❌ simplesamlphp/simplesamlphp-v1.17.8 (Vulnerable Library)
Found in HEAD commit: fd17359125e6714801096e1c3ae3b23131de8463
Vulnerability Details
Log injection in SimpleSAMLphp before version 1.18.4. The www/erroreport.php script, which receives error reports and sends them via email to the system administrator, did not properly sanitize the report identifier obtained from the request. This allows an attacker, under specific circumstances, to inject new log lines by manually crafting this report ID. When configured to use the file logging handler, SimpleSAMLphp will output all its logs by appending each log line to a given file. Since the reportID parameter received in a request sent to www/errorreport.php was not properly sanitized, it was possible to inject newline characters into it, effectively allowing a malicious user to inject new log lines with arbitrary content.
Publish Date: 2020-01-24
URL: CVE-2020-5225
CVSS 3 Score Details (5.4)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-5226
Release Date: 2020-01-31
Fix Resolution: simplesamlphp/simplesamlphp - v1.18.4
Step up your Open Source Security Game with Mend here