Advisory

DEBIAN-CVE-2020-5226

Also known as: CVE-2020-5226

Summary

The record has no summary.

Details

Cross-site scripting in SimpleSAMLphp before version 1.18.4. The www/erroreport.php script allows error reports to be submitted and sent to the system administrator. Starting with SimpleSAMLphp 1.18.0, a new SimpleSAML\Utils\EMail class was introduced to handle sending emails, implemented as a wrapper of an external dependency. This new wrapper allows us to use Twig templates in order to create the email sent with an error report. Since Twig provides automatic escaping of variables, manual escaping of the free-text field in www/errorreport.php was removed to avoid double escaping. However, for those not using the new user interface yet, an email template is hardcoded into the class itself in plain PHP. Since no escaping is provided in this template, it is then possible to inject HTML inside the template by manually crafting the contents of the free-text field.

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2020-01-24 22:15 UTC
Modified
2026-10-26 12:02 UTC

Affected packages and fixes

simplesamlphp

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.18.4-1 (ecosystem)

Fixed versions

1.18.4-1

Fix

  • Fixed version 1.18.4-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

simplesamlphp

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.18.4-1 (ecosystem)

Fixed versions

1.18.4-1

Fix

  • Fixed version 1.18.4-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences