Advisories

Flextype CMS 1.0.0-dev RCE via POST /api/v1/query Endpoint

Go Back
severity
high
date
Affecting
  • flextype <= 1.0.0-dev

  • flextype <= aea4ead8c449ea5517ed53b6dcbd28b0a528ad9d

CWE
  • CWE-94 Improper Control of Generation of Code ('Code Injection')
  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
CVSS
7.1
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Credit
Marxabo Keldibekova
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.