🔍 CVE-2012-10040

0.0
CVSS Score
UNKNOWN
2025-08-11
2026-06-16 23:38
✅ 완료

🇰🇷 한글 설명

Openfiler v2.x의 system.html 페이지 device parameter에 command injection 취약점이 존재하며, 인증된 공격자가 unsanitized input을 통해 openfiler 사용자 권한으로 임의의 명령어를 실행할 수 있습니다. 잘못 구성된 sudoers 설정으로 인해 root 권한 상승이 가능합니다.

💡 쉬운 설명

Openfiler 네트워크 스토리지 관리 도구에서 로그인한 공격자가 특정 입력 필드에 명령어를 삽입하여 시스템을 제어할 수 있습니다. 더욱 심각하게는 시스템 관리자 권한(root)까지 획득할 수 있습니다.

🇺🇸 원문 (English)

Openfiler v2.x contains a command injection vulnerability in the system.html page. The device parameter is used to instantiate a NetworkCard object, whose constructor in network.inc calls exec() with unsanitized input. An authenticated attacker can exploit this to execute arbitrary commands as the openfiler user. Due to misconfigured sudoers, the openfiler user can escalate privileges to root via sudo /bin/bash without a password.

📍 영향받는 시스템

Openfiler v2.x (모든 v2.x 버전)

⚔️ 공격 벡터

인증된 사용자가 system.html의 device parameter에 시스템 명령어를 주입하여 임의 코드 실행

🛡️ 대응 방법

Openfiler를 최신 버전으로 업그레이드하거나 입력값 검증 강화 및 sudoers 권한 제한 패치 적용

🔧 검증 코드

Openfiler이 설치되어 있고 v2.x 버전이면 취약하므로 즉시 업그레이드 또는 패치 적용 필요

Shell / Script
rpm -qa 2>/dev/null | grep -i openfiler || dpkg -l 2>/dev/null | grep openfiler

💻 영향받는 소프트웨어

Sudo