🔍 CVE-2023-30630

7.1
CVSS Score
HIGH
2023-04-13
2026-06-17 05:55
✅ 완료

🇰🇷 한글 설명

Dmidecode 3.5 미만 버전에서 -dump-bin 옵션을 사용할 때 로컬 파일을 덮어쓸 수 있는 취약점이 존재합니다. Sudo를 통해 Dmidecode를 실행할 경우 권한 상승으로 이어질 수 있으며, 일부 패치는 기존 파일 덮어쓰기만 방지할 뿐 새로운 파일을 생성하는 공격 벡터를 완전히 차단하지 못한다는 지적이 있습니다.

💡 쉬운 설명

컴퓨터의 정보를 읽는 프로그램의 허점을 이용해 중요한 시스템 파일을 마음대로 바꾸거나 새로운 악성 파일을 만들 수 있는 문제입니다. 이를 통해 해커가 관리자 권한을 몰래 획득할 위험이 있습니다.

🇺🇸 원문 (English)

Dmidecode before 3.5 allows -dump-bin to overwrite a local file. This has security relevance because, for example, execution of Dmidecode via Sudo is plausible. NOTE: Some third parties have indicated the fix in 3.5 does not adequately address the vulnerability. The argument is that the proposed patch prevents dmidecode from writing to an existing file. However, there are multiple attack vectors that would not require overwriting an existing file that would provide the same level of unauthorized privilege escalation (e.g. creating a new file in /etc/cron.hourly).

📍 영향받는 시스템

Dmidecode 3.5 미만 버전

⚔️ 공격 벡터

Sudo 권한으로 실행된 Dmidecode의 -dump-bin 옵션을 이용한 로컬 파일 덮어쓰기 또는 신규 파일 생성

🛡️ 대응 방법

Dmidecode를 최신 버전으로 업데이트하거나, Sudo 권한 부여 시 해당 옵션 사용을 제한해야 합니다.

🔧 검증 코드

출력된 버전 번호가 3.5 미만인지 확인합니다.

Shell / Script
dmidecode --version 2>/dev/null || echo 'dmidecode not installed'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Sudo