p PatchFirst

CVE-2020-5226

CVE-2020-5226 · Cross-site scripting in SimpleSAMLphp

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

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.

CVSS 4.4 · Средний · EPSS 0,5% · Есть исправление

Опубликовано
Обновлено

Стек: system · php

Затронутые продукты и версии

  • simplesamlphp

    Версии
    • >= 1.18.0, < 1.18.4: Затронуто

    Нет опубликованного исправления

  • simplesamlphp Debian:12

    Затронутые диапазоны версий
    • ECOSYSTEM: < 1.18.4-1

    Обновитесь до 1.18.4-1

  • simplesamlphp Debian:14

    Версии
    • 1.10.0-1
    • 1.11.0-1
    • 1.12.0-1
    • 1.12.0~rc1-1
    • 1.12.0~rc2-1
    • 1.13.0-1
    • 1.13.1-1
    • 1.13.1-2
    • 1.13.2-1
    • 1.14.0-1
    • 1.14.1-1
    • 1.14.10-1
    • 1.14.11-1
    • 1.14.15-1
    • 1.14.2-1
    • 1.14.2-2
    • 1.14.3-1
    • 1.14.4-1
    • 1.14.5-1
    • 1.14.6-1
    • 1.14.7-1
    • 1.14.8-1
    • 1.14.9-1
    • 1.15.0-1
    • 1.15.1-1
    • 1.15.2-1
    • 1.15.3-1
    • 1.15.4-1
    • 1.16.0-1
    • 1.16.1-1
    • 1.16.2-1
    • 1.16.3-1
    • 1.17.0-1
    • 1.17.1-1
    • 1.17.2-1
    • 1.17.2-2
    • 1.17.3-1
    • 1.17.4-1
    • 1.17.5-1
    • 1.17.6-1
    • 1.17.6-2
    • 1.18.1-1
    • 1.6.0-1
    • 1.6.1-1
    • 1.6.2-1
    • 1.6.3-1
    • 1.6.3-2
    • 1.6.3-3
    • 1.7.0-1
    • 1.7.0-2
    • 1.8.0-1
    • 1.8.1-1
    • 1.8.2-1
    • 1.9.0-1
    • 1.9.0~rc1-1
    • 1.9.0~rc2-1
    • 1.9.1-1
    • 1.9.2-1
    Затронутые диапазоны версий
    • ECOSYSTEM: < 1.18.4-1

    Обновитесь до 1.18.4-1

  • simplesamlphp/simplesamlphp Packagist

    Версии
    • v1.18.0
    • v1.18.1
    • v1.18.2
    • v1.18.3
    Затронутые диапазоны версий
    • ECOSYSTEM: ≥ 1.18.0, < 1.18.4

    Обновитесь до 1.18.4

Первоисточники

Проверьте свой сервер →