VDB

CVE-2020-5225

CVE-2020-5225 PUBLISHED CVSS 4.4 MEDIUM

Log injection in SimpleSAMLphp

Reported by github_m · Published January 24, 2020

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.

Risk scores

CVSS 3.1
4.4
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
simplesamlphpSimpleSAMLphp< 1.18.4
simplesamlphpsimplesamlphp1.18.0
simplesamlphpSimpleSAMLphp0

Timeline

  • Jan 24, 2020 CVE Published
  • Jan 31, 2020 CVE Updated
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Apr 10, 2026 Security Advisory
  • Aug 30, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-5225
vulnetix vdb fixes CVE-2020-5225

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-5225/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›