Remote code execution via cookie-controlled file inclusion
Published Nov 25, 2022 · Updated Apr 29, 2025
Local file inclusion in Eyoom Builder 4.5.3 and earlier allows remote authenticated users to execute code through a crafted cookie. In eyoom/class/theme.class.php, the unique_theme_id cookie is concatenated into a temporary PHP file path and passed to include_once without restricting path characters. Administrative access is required; successful exploitation runs attacker-selected PHP with the web server's permissions, enabling data access, modification, or service interruption.
Summary
What happened
Local file inclusion in Eyoom Builder 4.5.3 and earlier allows remote authenticated users to execute code through a crafted cookie. In eyoom/class/theme.class.php, the unique_theme_id cookie is concatenated into a temporary PHP file path and passed to include_once without restricting path characters. Administrative access is required; successful exploitation runs attacker-selected PHP with the web server's permissions, enabling data access, modification, or service interruption.
The record
- CVE
- CVE-2022-41158
- Published
- Nov 25, 2022
- Updated
- Apr 29, 2025
- Vendor
- Eyoom
- Product
- Eyoom Builder
- Classifications
- CWE-94, CWE-22, T1190
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Nov 25, 2022CVE publishedPublication date reported by the CVE source.
- Apr 29, 2025Record 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=unspecified <=4.5.3
What conditions does exploitation require?
What is affected?
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
- Eyoom Builder LFI patch analysis and reproductionproof of concept · 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