Cube server code execution via funnel YAML interpolation
Published Sep 12, 2024 · Updated Sep 13, 2024
Command injection in affected GitLab EE releases allows remote authenticated users to execute code on a connected Cube server. Product Analytics interpolates the funnel YAML seconds_to_convert value into a query without sanitization, allowing template syntax to execute JavaScript in Cube's Node context. Exploitation requires low-privileged project access, a funnel dashboard, and a connected Cube server, where injected code runs as root.
Summary
What happened
Command injection in affected GitLab EE releases allows remote authenticated users to execute code on a connected Cube server. Product Analytics interpolates the funnel YAML seconds_to_convert value into a query without sanitization, allowing template syntax to execute JavaScript in Cube's Node context. Exploitation requires low-privileged project access, a funnel dashboard, and a connected Cube server, where injected code runs as root.
The record
- CVE
- CVE-2024-8640
- Published
- Sep 12, 2024
- Updated
- Sep 13, 2024
- Vendor
- GitLab
- Product
- GitLab
- Classifications
- CWE-77, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 12, 2024CVE publishedPublication date reported by the CVE source.
- Sep 13, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=16.11 <17.1.7
- Affected versionversion=17.2 <17.2.5
- Affected versionversion=17.3 <17.3.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitLab funnel YAML reverse-shell reproductionfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo