Description
Flextype CMS through v1.0.0-dev contains an expression language injection vulnerability that allows authenticated attackers with a valid API token to read arbitrary files by passing unsanitized user-supplied input to the Symfony ExpressionLanguage engine via the POST /api/v1/query endpoint. Attackers can leverage exposed application objects including filesystem() and serializers() within the evaluation scope to read arbitrary server files and achieve conditional remote code execution if a PHP file can be placed on disk through a secondary vector.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| flextype | flextype | ≤ 1.0.0-dev | — |
References
- Researcher Disclosure technical-description exploit issue-tracking
- https://www.vulncheck.com/advisories/flextype-cms-dev-rce-via-post-api-v1-query-endpoint third-party-advisory