🔍 CVE-2024-22198

7.1
CVSS Score
HIGH
2024-01-11
2026-06-17 07:10
✅ 완료

🇰🇷 한글 설명

Nginx-UI의 설정 페이지에서 API를 악용하여 'Terminal Start Command' 설정을 임의로 변경할 수 있는 취약점입니다. 인증된 공격자가 이를 통해 원격 코드 실행(RCE), 권한 상승 및 정보 유출을 수행할 수 있습니다.

💡 쉬운 설명

Nginx 관리 도구의 설정값을 몰래 바꿔서 해커가 내 컴퓨터에 마음대로 명령어를 실행하게 만들 수 있는 문제입니다. 로그인 권한이 있는 사용자가 이 기능을 악용하면 시스템 전체가 위험해질 수 있습니다.

🇺🇸 원문 (English)

Nginx-UI is a web interface to manage Nginx configurations. It is vulnerable to arbitrary command execution by abusing the configuration settings. The `Home > Preference` page exposes a list of system settings such as `Run Mode`, `Jwt Secret`, `Node Secret` and `Terminal Start Command`. While the UI doesn't allow users to modify the `Terminal Start Command` setting, it is possible to do so by sending a request to the API. This issue may lead to authenticated remote code execution, privilege escalation, and information disclosure. This vulnerability has been patched in version 2.0.0.beta.9.

📍 영향받는 시스템

Nginx-UI 2.0.0.beta.9 미만 버전

⚔️ 공격 벡터

인증된 사용자가 API 요청을 통해 'Terminal Start Command' 설정을 조작하여 명령어를 실행함

🛡️ 대응 방법

Nginx-UI를 2.0.0.beta.9 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 '2.0.0.beta.9' 이상의 버전 정보가 포함되어 있는지 확인하십시오.

Shell / Script
curl -s http://<target-ip>:<port>/version | grep -E '2.0.0.beta.9'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

💻 영향받는 소프트웨어

Nginx