UBUNTU-CVE-2020-5225 (CVE-2020-5225)
Vulnerability from osv_ubuntu – Published: 2020-01-24 21:15 – Updated: 2026-09-15 17:20 – Source websiteLog 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.
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:Pro:16.04:LTS |
simplesamlphp
pkg:deb/ubuntu/simplesamlphp@1.14.0-1ubuntu2+esm1?arch=source&distro=esm-apps-legacy/xenial
|
Affected: All versions (ecosystem)
1.13.2-11.14.0-11.14.0-1ubuntu21.14.0-1ubuntu2+esm1
|
| Ubuntu:Pro:18.04:LTS |
simplesamlphp
pkg:deb/ubuntu/simplesamlphp@1.15.3-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic
|
Affected: All versions (ecosystem)
1.14.15-11.15.0-11.15.1-11.15.2-11.15.3-11.15.3-1ubuntu0.1~esm1
|
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "simplesamlphp",
"binary_version": "1.14.0-1ubuntu2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "simplesamlphp",
"purl": "pkg:deb/ubuntu/simplesamlphp@1.14.0-1ubuntu2+esm1?arch=source\u0026distro=esm-apps-legacy/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.2-1",
"1.14.0-1",
"1.14.0-1ubuntu2",
"1.14.0-1ubuntu2+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "simplesamlphp",
"binary_version": "1.15.3-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "simplesamlphp",
"purl": "pkg:deb/ubuntu/simplesamlphp@1.15.3-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.14.15-1",
"1.15.0-1",
"1.15.1-1",
"1.15.2-1",
"1.15.3-1",
"1.15.3-1ubuntu0.1~esm1"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2020-5225",
"modified": "2026-09-15T17:20:13Z",
"published": "2020-01-24T21:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-5225"
},
{
"type": "REPORT",
"url": "https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-6gc6-m364-85ww"
},
{
"type": "REPORT",
"url": "https://simplesamlphp.org/security/202001-02"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2020-5225"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2020-5225"
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.