CVE-2026-39394
CVE-2026-39394 · CI4MS has an .env CRLF Injection via Unvalidated `host` Parameter in Install Controller
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to 0.31.4.0, the Install::index() controller reads the host POST parameter without any validation and passes it directly into updateEnvSettings(), which writes it into the .env file via preg_replace(). Because newline characters in the value are not stripped, an attacker can inject arbitrary configuration directives into the .env file. The install routes have CSRF protection explicitly disabled, and the InstallFilter can be bypassed when cache('settings') is empty (cache expiry or fresh deployment). This vulnerability is fixed in 0.31.4.0.
CVSS 8.1 · Hoch · EPSS 0,5% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: php
Betroffene Produkte und Versionen
ci4ms
- Softwareversionen
- < 0.31.4.0: Betroffen
Keine Korrektur veröffentlicht
ci4-cms-erp/ci4ms Packagist
- Softwareversionen
- 0.21.0
- 0.21.1
- 0.21.2
- 0.21.3
- 0.21.3.1
- 0.21.3.2
- 0.21.3.3
- 0.21.3.4
- 0.21.3.5
- 0.21.3.6
- 0.21.3.7
- 0.23.0.0
- 0.23.0.1
- 0.23.0.2
- 0.23.1.0
- 0.24.0.0
- 0.24.0.16
- 0.24.0.18
- 0.24.0.19
- 0.24.0.20
- 0.24.0.27
- 0.24.0.42
- 0.24.0.45
- 0.24.0.60
- 0.25.0.0
- 0.25.0.1
- 0.25.0.2
- 0.25.0.30
- 0.25.0.39
- 0.25.0.43
- 0.25.1.0
- 0.25.2.0
- 0.25.3.0
- 0.26.0.0
- 0.26.1.0
- 0.26.2.0
- 0.26.3.0
- 0.26.3.1
- 0.26.3.2
- 0.26.3.3
- 0.26.3.4
- 0.27.0.0
- 0.28.0.0
- 0.28.3.0
- 0.28.4.0
- 0.28.5.0
- 0.28.6.0
- 0.31.0.0
- 0.31.1.0
- 0.31.2.0
- 0.31.3.0
- Betroffene Versionsbereiche
- ECOSYSTEM: < 0.31.4.0
Auf 0.31.4.0 aktualisieren