🇰🇷 한글 설명
Infinera G42 버전 R6.1.3의 sudoers 설정 오류로 인해 권한이 낮은 사용자가 devmem 도구를 사용하여 물리 메모리를 읽거나 쓸 수 있습니다. 이를 통해 민감한 정보 유출, 서비스 거부(DoS), 커널 메모리 조작을 통한 권한 상승이 가능합니다.
💡 쉬운 설명
시스템 설정 실수로 인해 일반 사용자가 컴퓨터의 핵심 메모리 영역에 직접 접근할 수 있는 상태입니다. 이를 악용하면 중요한 정보를 훔치거나 시스템을 마비시키고 관리자 권한을 탈취할 수 있습니다.
🇺🇸 원문 (English)
The misconfiguration in the sudoers configuration of the operating system in
Infinera G42 version R6.1.3 allows low privileged OS users to
read/write physical memory via devmem command line tool.
This could
allow sensitive information disclosure, denial of service, and privilege
escalation by tampering with kernel memory.
Details: The output of "sudo -l" reports the presence of "devmem" command
executable as super user without using a password. This command allows
to read and write an arbitrary memory area of the target device,
specifying an absolute address.
📍 영향받는 시스템
Infinera G42 version R6.1.3
⚔️ 공격 벡터
낮은 권한의 사용자가 비밀번호 없이 sudo 권한으로 devmem 명령어를 실행하여 물리 메모리에 접근
🛡️ 대응 방법
sudoers 설정에서 devmem 명령어에 대한 비밀번호 없는 sudo 권한을 제거하거나 해당 도구의 실행 권한을 제한
🔧 검증 코드
명령어 결과에 'devmem'이 포함되어 있고 '(ALL) NOPASSWD:' 설정이 보인다면 취약한 상태입니다.
sudo -l | grep -E 'devmem'