Skip to content

CVE-2020-5225 Log injection in SimpleSAMLphp

MediumCVSS 5.4 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
simplesamlphp/simplesamlphp(Packagist) < 1.18.4 1.18.4
simplesamlphp/simplesamlphp(Packagist) = 1.16.0 No fix listed
simplesamlphp/simplesamlphp(Packagist) = 1.16.0-rc1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = 1.16.1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = 1.16.2 No fix listed
simplesamlphp/simplesamlphp(Packagist) = 1.16.3 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.12.0 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.13.0 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.13.0-rc1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.13.0-rc2 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.13.1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.13.2 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.0 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.0-rc1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.10 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.11 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.12 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.13 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.14 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.15 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.16 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.17 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.2 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.3 No fix listed
Show 106 more
ProductAffected versionsFixed in
simplesamlphp/simplesamlphp(Packagist) = v1.14.4 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.5 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.6 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.7 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.8 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.14.9 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.15.0 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.15.0-rc1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.15.0-rc2 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.15.0-rc3 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.15.1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.15.2 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.15.3 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.15.4 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.0 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.0-rc1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.0-rc2 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.0-rc3 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.2 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.3 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.4 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.5 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.6 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.7 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.17.8 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.18.0 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.18.0-rc1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.18.0-rc2 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.18.1 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.18.2 No fix listed
simplesamlphp/simplesamlphp(Packagist) = v1.18.3 No fix listed
debian/simplesamlphp(Debian:12) < 1.18.4-1 1.18.4-1
debian/simplesamlphp(Debian:14) < 1.18.4-1 1.18.4-1
debian/simplesamlphp(Debian:14) = 1.10.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.11.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.12.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.12.0~rc1-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.12.0~rc2-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.13.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.13.1-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.13.1-2 No fix listed
debian/simplesamlphp(Debian:14) = 1.13.2-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.1-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.10-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.11-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.15-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.2-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.2-2 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.3-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.4-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.5-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.6-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.7-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.8-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.14.9-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.15.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.15.1-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.15.2-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.15.3-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.15.4-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.16.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.16.1-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.16.2-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.16.3-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.17.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.17.1-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.17.2-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.17.2-2 No fix listed
debian/simplesamlphp(Debian:14) = 1.17.3-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.17.4-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.17.5-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.17.6-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.17.6-2 No fix listed
debian/simplesamlphp(Debian:14) = 1.18.1-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.6.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.6.1-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.6.2-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.6.3-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.6.3-2 No fix listed
debian/simplesamlphp(Debian:14) = 1.6.3-3 No fix listed
debian/simplesamlphp(Debian:14) = 1.7.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.7.0-2 No fix listed
debian/simplesamlphp(Debian:14) = 1.8.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.8.1-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.8.2-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.9.0-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.9.0~rc1-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.9.0~rc2-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.9.1-1 No fix listed
debian/simplesamlphp(Debian:14) = 1.9.2-1 No fix listed
simplesamlphp/simplesamlphp < 1.18.4 1.18.4
simplesamlphp/simplesamlphp = < 1.18.4 No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:16.04) All versions No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:16.04) = 1.13.2-1 No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:16.04) = 1.14.0-1 No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:16.04) = 1.14.0-1ubuntu2 No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:16.04) = 1.14.0-1ubuntu2+esm1 No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:18.04) = 1.14.15-1 No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:18.04) = 1.15.0-1 No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:18.04) = 1.15.1-1 No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:18.04) = 1.15.2-1 No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:18.04) = 1.15.3-1 No fix listed
ubuntu/simplesamlphp(Ubuntu:Pro:18.04) = 1.15.3-1ubuntu0.1~esm1 No fix listed

References