Phalcon cphalcon
Phalcon Volt compiler `join` filter compile-time PHP code injection (SSTI lead to RCE)
Phalcon is a high-performance, full-stack PHP framework. In 5.15.0 and earlier, resolveFilter in phalcon/Mvc/View/Engine/Volt/Compiler.zep builds the join filter by inserting the raw separator and array token values into generated PHP without passing them through expression(). An attacker who can influence Volt template source can place quote-breaking content in a join argument, inject PHP into the compiled cache file, and execute it when Phalcon\Mvc\View\Engine\Volt::render() loads the template. This issue is fixed in version 5.16.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.2critical · scored by CNA · CWE-94
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
phalcon cphalcon
- < 5.16.0
Fixed in 5.16.0
Mitigation
Upgrade cphalcon to 5.16.0 or later.
References
- Vendor advisory github.com/phalcon/cphalcon/security/advisorie…
- Patch github.com/phalcon/cphalcon/pull/17217
- Patch github.com/phalcon/cphalcon/commit/e434061be3b…
1 more
- Release notes github.com/phalcon/cphalcon/releases/tag/v5.16…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.