Headline
Ilevia EVE X1/X5 Server 4.7.18.0.eden Authentication Bypass Exploit
The application constructs a shell command using unsanitized user input passed to the system() function, calling an external binary for authentication. Due to improper input handling and reliance on the binary’s return value for access control, an attacker can inject special characters, such as a double quote (") to manipulate command parsing and induce execution failure. Since the application interprets any non-zero exit code from the binary as successful authentication, this flaw allows remote users to bypass authentication entirely without providing valid credentials.
Title: Ilevia EVE X1/X5 Server 4.7.18.0.eden Authentication Bypass Exploit
Advisory ID: ZSL-2025-5958
Type: Local/Remote
Impact: Security Bypass, System Access, DoS
Risk: (5/5)
Release Date: 26.08.2025
Summary
EVE is a smart home and building automation solution designed for both residential and commercial environments, including malls, hotels, restaurants, bars, gyms, spas, boardrooms, and offices. It enables comprehensive control and monitoring of electrical installations through a highly customizable, user-friendly interface.
EVE is a multi-protocol platform that integrates various systems within a smart building to enhance comfort, security, safety, and energy efficiency. Users can manage building functions via iPhone, iPad, Android devices, Windows PCs, or Mac computers.
The EVE X1 Server is the dedicated hardware solution for advanced building automation needs. Compact and powerful, it is ideal for apartments, small to medium-sized homes, and smaller commercial installations. It is designed to manage entire automation systems reliably and efficiently.
Description
The application constructs a shell command using unsanitized user input passed to the system() function, calling an external binary for authentication. Due to improper input handling and reliance on the binary’s return value for access control, an attacker can inject special characters, such as a double quote (") to manipulate command parsing and induce execution failure. Since the application interprets any non-zero exit code from the binary as successful authentication, this flaw allows remote users to bypass authentication entirely without providing valid credentials.
Vendor
Ilevia Srl. - https://www.ilevia.com
Affected Version
<=4.7.18.0.eden (Logic ver: 6.00)
Tested On
GNU/Linux 5.4.35 (armv7l)
GNU/Linux 4.19.97 (armv7l)
Armbian 20.02.1 Buster
Apache/2.4.38 (Debian)
PHP Version 7.3.14
Vendor Status
[01.05.2024] Vulnerability discovered.
[06.05.2024] Vendor contacted.
[06.05.2024] Vendor responds asking more details.
[06.05.2024] Sent high-level details to the vendor, asked for PGP key.
[06.05.2024] Vendor provides public key and asks for a reason of the contact.
[06.05.2024] Replied to the vendor.
[07.05.2024] Vendor expresses gratitude, maybe discuss a service in the future.
[16.05.2025] Asked vendor for status update.
[18.05.2025] No response from the vendor.
[19.05.2025] Asked vendor for status update.
[25.08.2025] No response from the vendor.
[26.08.2025] Public security advisory released.
PoC
ilevia_auth.py
Credits
Vulnerability discovered by Gjoko Krstic - <[email protected]>
References
N/A
Changelog
[26.08.2025] - Initial release
Contact
Zero Science Lab
Web: https://www.zeroscience.mk
e-mail: [email protected]