p PatchFirst

CVE-2020-5226

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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 · Moyenne · EPSS 0,5% · Correctif disponible

Publication
Mise à jour

Pile logicielle: system · php

Produits et versions concernés

  • simplesamlphp

    Versions du logiciel
    • >= 1.18.0, < 1.18.4: Concernée

    Aucun correctif publié

  • simplesamlphp Debian:12

    Plages de versions concernées
    • ECOSYSTEM: < 1.18.4-1

    Mettez à jour vers 1.18.4-1

  • simplesamlphp Debian:14

    Versions du logiciel
    • 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
    Plages de versions concernées
    • ECOSYSTEM: < 1.18.4-1

    Mettez à jour vers 1.18.4-1

  • simplesamlphp/simplesamlphp Packagist

    Versions du logiciel
    • v1.18.0
    • v1.18.1
    • v1.18.2
    • v1.18.3
    Plages de versions concernées
    • ECOSYSTEM: ≥ 1.18.0, < 1.18.4

    Mettez à jour vers 1.18.4

Sources originales

Vérifiez votre serveur →