Security
Headlines
HeadlinesLatestCVEs

Headline

Ilevia EVE X1/X5 Server 4.7.18.0.eden Reverse Rootshell

A misconfiguration in the sudoers file permits passwordless execution of specific Bash shell scripts via sudo, exposing a critical privilege escalation vulnerability. When such scripts are writable by a web-facing user (www-data) or accessible through a command injection vector, an attacker can overwrite or replace them with malicious payloads. Upon execution with sudo, these scripts run with elevated privileges, allowing the attacker to gain full root access remotely.

Zero Science Lab
#vulnerability#web#android#mac#windows#linux#debian#apache#php

Title: Ilevia EVE X1/X5 Server 4.7.18.0.eden Reverse Rootshell
Advisory ID: ZSL-2025-5959
Type: Local/Remote
Impact: System Access, DoS
Risk: (5/5)
Release Date: 05.09.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

A misconfiguration in the sudoers file permits passwordless execution of specific Bash shell scripts via sudo, exposing a critical privilege escalation vulnerability. When such scripts are writable by a web-facing user (www-data) or accessible through a command injection vector, an attacker can overwrite or replace them with malicious payloads. Upon execution with sudo, these scripts run with elevated privileges, allowing the attacker to gain full root access remotely.

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.
[04.09.2025] No response from the vendor.
[05.09.2025] Public security advisory released.

PoC

rewteve.py

Credits

Vulnerability discovered by Gjoko Krstic - <[email protected]>

References

N/A

Changelog

[05.09.2025] - Initial release

Contact

Zero Science Lab

Web: https://www.zeroscience.mk
e-mail: [email protected]

Zero Science Lab: Latest News

Ilevia EVE X1/X5 Server 4.7.18.0.eden Reverse Rootshell