CVE-2026-57961
CVE-2026-57961 · phpMyFAQ - Authenticated Path Traversal in PDF Export via concatenatePaths Function
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
phpMyFAQ before 4.1.5 contains a potential authenticated path traversal vulnerability in the concatenatePaths() function within src/phpMyFAQ/Export/Pdf/Wrapper.php. A user with FAQ editing privileges can store HTML containing crafted image paths that are processed during PDF generation. The path resolution logic locates the substring "content" within a user-controlled path using strpos(); when "content" is absent, strpos() returns false, which becomes 0 when cast to an integer, preserving the entire attacker-controlled path. This path is later passed to file_get_contents() without canonicalization or root-directory containment validation, which may allow reading of files outside the intended content directory.
CVSS 5.1 · Mittel · EPSS 0,4% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: php
Betroffene Produkte und Versionen
phpmyfaq
- Softwareversionen
- ≥ 0, < 4.1.5: Betroffen (semver)
- 4.1.5: Nicht betroffen (semver)
Auf 4.1.5 aktualisieren
thorsten/phpmyfaq Packagist
- Softwareversionen
- 4.0.0
- 4.0.0-RC
- 4.0.0-RC.2
- 4.0.0-RC.3
- 4.0.0-RC.4
- 4.0.0-RC.5
- 4.0.0-alpha
- 4.0.0-alpha.2
- 4.0.0-alpha.3
- 4.0.0-alpha.4
- 4.0.0-beta
- 4.0.0-beta.2
- 4.0.1
- 4.0.10
- 4.0.11
- 4.0.12
- 4.0.13
- 4.0.14
- 4.0.15
- 4.0.16
- 4.0.18
- 4.0.19
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.0.8
- 4.0.9
- 4.1.0
- 4.1.0-RC
- 4.1.0-RC.2
- 4.1.0-RC.4
- 4.1.0-RC.5
- 4.1.0-RC.6
- 4.1.0-RC.7
- 4.1.0-alpha
- 4.1.0-alpha.2
- 4.1.0-alpha.3
- 4.1.0-beta
- 4.1.0-beta.2
- 4.1.1
- 4.1.2
- 4.1.3
- 4.1.4
- Betroffene Versionsbereiche
- ECOSYSTEM: ≥ 4.0.0-alpha, < 4.1.5
Auf 4.1.5 aktualisieren
phpmyfaq/phpmyfaq Packagist
- Softwareversionen
- 4.0.0
- 4.0.0-RC
- 4.0.0-RC.2
- 4.0.0-RC.3
- 4.0.0-RC.4
- 4.0.0-RC.5
- 4.0.0-alpha
- 4.0.0-alpha.2
- 4.0.0-alpha.3
- 4.0.0-alpha.4
- 4.0.0-beta
- 4.0.0-beta.2
- 4.0.1
- 4.0.10
- 4.0.11
- 4.0.12
- 4.0.13
- 4.0.14
- 4.0.15
- 4.0.16
- 4.0.18
- 4.0.19
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.0.8
- 4.0.9
- 4.1.0
- 4.1.0-RC
- 4.1.0-RC.2
- 4.1.0-RC.4
- 4.1.0-RC.5
- 4.1.0-RC.6
- 4.1.0-RC.7
- 4.1.0-alpha
- 4.1.0-alpha.2
- 4.1.0-alpha.3
- 4.1.0-beta
- 4.1.0-beta.2
- 4.1.1
- 4.1.2
- 4.1.3
- 4.1.4
- Betroffene Versionsbereiche
- ECOSYSTEM: ≥ 4.0.0-alpha, < 4.1.5
Auf 4.1.5 aktualisieren