| Название | cym1102 nginxWebUI 4.4.2 Code Injection |
|---|
| Описание | An issue was discovered in nginxWebUI 4.4.2. The `/adminPage/main/autoUpdate` endpoint accepts a user-controllable `url` parameter and downloads a JAR package from that location without validating the source. The downloaded file is then executed by the application using `java -jar`, which leads to remote code execution on the server.
The vulnerable code path is `MainController.autoUpdate`, which calls `HttpUtil.downloadFile(...)` to fetch the provided URL and then passes the downloaded file to `UpdateUtils.run(...)`. The endpoint is reachable by an authenticated administrator session and also via the application’s token/creditKey mechanism. An attacker who can influence the `url` parameter can force the server to fetch and execute an attacker-controlled JAR, causing arbitrary Java code execution as the application user.
The root cause is the combination of arbitrary URL fetch, lack of source validation or signature checks, and direct execution of the downloaded package. |
|---|
| Источник | ⚠️ https://github.com/cym1102/nginxWebUI/issues/213 |
|---|
| Пользователь | lem0n817 (UID 84709) |
|---|
| Представление | 02.08.2026 16:29 (1 месяц назад) |
|---|
| Модерация | 12.09.2026 18:44 (1 month later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 403166 [cym1102 nginxWebUI до 4.4.2 autoUpdate MainController.autoUpdate url эскалация привилегий] |
|---|
| Баллы | 20 |
|---|