Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| flextype / flextype | affected 0 through 1.0.0-dev; affected 0 through aea4ead8c449ea5517ed53b6dcbd28b0a528ad9d |
CWE
CWE-94, CWE-1336
References
- https://github.com/flextype/flextype/issues/595
- https://www.vulncheck.com/advisories/flextype-cms-dev-rce-via-post-api-v1-query-endpoint
ADP enrichment
No English description supplied.
No references supplied.