CVE-2020-5226
CVE-2020-5226 · Cross-site scripting in SimpleSAMLphp
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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 · Mittel · EPSS 0,5% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system · php
Betroffene Produkte und Versionen
simplesamlphp
- Softwareversionen
- >= 1.18.0, < 1.18.4: Betroffen
Keine Korrektur veröffentlicht
simplesamlphp Debian:12
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.18.4-1
Auf 1.18.4-1 aktualisieren
simplesamlphp Debian:14
- Softwareversionen
- 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
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.18.4-1
Auf 1.18.4-1 aktualisieren
simplesamlphp/simplesamlphp Packagist
- Softwareversionen
- v1.18.0
- v1.18.1
- v1.18.2
- v1.18.3
- Betroffene Versionsbereiche
- ECOSYSTEM: ≥ 1.18.0, < 1.18.4
Auf 1.18.4 aktualisieren