CVE-2019-13272
위험도 높음 실제 악용 (KEV) 공격 코드 공개
- 우선순위 이 사이트의 참고 점수
- 13.37
- 위험도 CVSS 3.1 · 0~10점
- 7.8
- 악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
- 52.2%
- 공개일 NVD
- 2019-07-17
설명 NVD 원문
리눅스 커널 5.1.17 이전 버전에서 kernel/ptrace.c의 ptrace_link가 ptrace 관계를 만들려는 프로세스의 자격 증명(credentials)을 잘못 기록한다. 이로 인해 부모 프로세스가 권한을 낮춘 뒤 execve를 호출하는 부모-자식 프로세스 관계의 특정 시나리오를 이용하여(공격자가 제어할 가능성이 있음), 로컬 사용자가 root 권한을 획득할 수 있다. 원인 중 하나는 객체 수명(object lifetime) 문제이며, 이로 인해 패닉(panic)이 발생할 수도 있다. 또 다른 원인은 ptrace 관계를 특권(privileged)으로 잘못 표시하는 것이며, 이는 예를 들어 Polkit의 pkexec 도우미를 PTRACE_TRACEME와 함께 사용하는 방식으로 악용될 수 있다. 참고: 일부 환경에서는 SELinux의 deny_ptrace가 사용 가능한 임시 완화 조치(workaround)가 될 수 있다.
Claude 로 기계 번역한 글입니다. 정확한 내용은 영어 원문을 확인하세요.
영어 원문
In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to create a ptrace relationship, which allows local users to obtain root access by leveraging certain scenarios with a parent-child process relationship, where a parent drops privileges and calls execve (potentially allowing control by an attacker). One contributing factor is an object lifetime issue (which can also cause a panic). Another contributing factor is incorrect marking of a ptrace relationship as privileged, which is exploitable through (for example) Polkit's pkexec helper with PTRACE_TRACEME. NOTE: SELinux deny_ptrace might be a usable workaround in some environments.
위험도 세부 항목 CVSS 3.1
- 공격 경로
- 로컬(장비 안) AV:L
- 공격 난이도
- 낮음(쉬움) AC:L
- 필요한 권한
- 일반 사용자 PR:L
- 사용자 행동 필요
- 필요 없음 UI:N
- 영향 범위
- 그 제품 안 S:U
- 정보 유출(기밀성)
- 높음 C:H
- 데이터 변조(무결성)
- 높음 I:H
- 서비스 중단(가용성)
- 높음 A:H
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
조치 방법 10행
Red Hat 조치 10행
| 출처 | 플랫폼·제품 | 방식 | 패키지 | 수정된 버전 | 권고문RHSA 등 | 내용 |
|---|---|---|---|---|---|---|
| Red Hat | Red Hat (공통) | 완화 조치 | 원문 | For mitigation, please refer to the Red Hat Knowledgebase article: https://access.redhat.com/articles/4292201 | ||
| Red Hat | Red Hat Enterprise Linux 5 | 수정판 없음 | kernel | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 6 | 수정판 없음 | kernel | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 7 | 수정판 없음 | kernel | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 7 | 수정판 없음 | kernel-rt | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise MRG 2 | 수정판 없음 | kernel-rt | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Virtualization 4 | 수정판 없음 | redhat-virtualization-host | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 7 | 패치(업데이트) | kernel-alt | 4.14.0-115.12.1.el7a | RHSA-2019:2809 | |
| Red Hat | Red Hat Enterprise Linux 8 | 패치(업데이트) | kernel | 4.18.0-80.7.2.el8_0 | RHSA-2019:2411 | |
| Red Hat | Red Hat Enterprise Linux 8 | 패치(업데이트) | kernel-rt | 4.18.0-80.7.2.rt9.154.el8_0 | RHSA-2019:2405 |
CISA 조치 권고 KEV
제조사 안내에 따라 업데이트를 적용하세요.
영어 원문
Apply updates per vendor instructions.
미국 연방기관 조치 기한: 2022-06-10
살펴볼 장비 초안
공격 대상: 운영체제 (서버·PC 공통). '이 장비에서 살펴볼 취약점' 이라는 분류이며, 장비가 탐지한다는 확인이 아닙니다.
| 장비 보기 | 정도 | 분류 이유 |
|---|---|---|
| 서버 행위 (EDR·감사 로그) | 주 | 사용자 행동 없는 로컬 공격 (권한 상승 등) |
단계별 판정 예시 환경
시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.
출처별 내용 1건
CISA KEV Linux Kernel Improper Privilege Management Vulnerability 2021-12-10
Apply updates per vendor instructions.
자동 추천 장비와 근거 참고용
분류 체계(취약점 종류 CWE → 공격 유형 CAPEC → 공격 기법 ATT&CK) 매핑으로 계산한 후보입니다. 범위가 넓어 관련이 적은 장비가 섞입니다. 해당 장비가 이 공격을 탐지한다고 확인한 것은 아니며, 위의 '살펴볼 장비' 와 단계별 판정에는 쓰지 않습니다.
| 장비 | 방법 | 근거 경로 |
|---|---|---|
| 서버 접근제어 ACCESS | attack | CWE-269 > CAPEC-122 > T1548 > Logon Session Metadata |
| 엔드포인트 탐지·대응 EDR | attack | CWE-269 > CAPEC-122 > T1548 > File Metadata |
| 계정·인증 (AD·LDAP·SSO) IAM | attack | CWE-269 > CAPEC-122 > T1548 > Logon Session Metadata |
| 서버 감사 로그 SYSAUDIT | attack | CWE-269 > CAPEC-122 > T1548 > File Metadata |
취약점 종류 CWE
- 권한 상승 — CWE-269 Improper Privilege Management
영향받는 제품 CPE · 40건
| 제조사 | 제품 | 영향받는 버전 | 표준 표기CPE |
|---|---|---|---|
| linux | linux_kernel | 3.16.52 이상 3.16.71 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| linux | linux_kernel | 4.1.39 이상 4.2 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| linux | linux_kernel | 4.4.40 이상 4.4.185 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| linux | linux_kernel | 4.8.16 이상 4.9 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| linux | linux_kernel | 4.9.1 이상 4.9.185 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| linux | linux_kernel | 4.10 이상 4.14.133 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| linux | linux_kernel | 4.15 이상 4.19.58 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| linux | linux_kernel | 4.20 이상 5.1.17 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| debian | debian_linux | cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | |
| debian | debian_linux | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | |
| debian | debian_linux | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* | |
| canonical | ubuntu_linux | cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | |
| canonical | ubuntu_linux | cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:esm:*:*:* | |
| canonical | ubuntu_linux | cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* | |
| redhat | enterprise_linux | cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | |
| redhat | enterprise_linux | cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_arm_64 | cpe:2.3:o:redhat:enterprise_linux_for_arm_64:7.0_aarch64:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_ibm_z_systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:7.0_s390x:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_real_time | cpe:2.3:o:redhat:enterprise_linux_for_real_time:8:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_real_time_for_nfv | cpe:2.3:o:redhat:enterprise_linux_for_real_time_for_nfv:8.0:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_real_time_for_nfv_tus | cpe:2.3:o:redhat:enterprise_linux_for_real_time_for_nfv_tus:8.2:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_real_time_for_nfv_tus | cpe:2.3:o:redhat:enterprise_linux_for_real_time_for_nfv_tus:8.4:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_real_time_for_nfv_tus | cpe:2.3:o:redhat:enterprise_linux_for_real_time_for_nfv_tus:8.6:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_real_time_for_nfv_tus | cpe:2.3:o:redhat:enterprise_linux_for_real_time_for_nfv_tus:8.8:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_real_time_tus | cpe:2.3:o:redhat:enterprise_linux_for_real_time_tus:8.2:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_real_time_tus | cpe:2.3:o:redhat:enterprise_linux_for_real_time_tus:8.4:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_real_time_tus | cpe:2.3:o:redhat:enterprise_linux_for_real_time_tus:8.6:*:*:*:*:*:*:* | |
| redhat | enterprise_linux_for_real_time_tus | cpe:2.3:o:redhat:enterprise_linux_for_real_time_tus:8.8:*:*:*:*:*:*:* | |
| netapp | aff_a700s_firmware | cpe:2.3:o:netapp:aff_a700s_firmware:-:*:*:*:*:*:*:* | |
| netapp | h410c_firmware | cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* | |
| netapp | h610s_firmware | cpe:2.3:o:netapp:h610s_firmware:-:*:*:*:*:*:*:* | |
| netapp | active_iq_unified_manager | cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* | |
| netapp | e-series_performance_analyzer | cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:* | |
| netapp | e-series_santricity_os_controller | 11.0.0 이상 11.60.3 이하 | cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:* |
| netapp | hci_management_node | cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:* | |
| netapp | service_processor | cpe:2.3:a:netapp:service_processor:-:*:*:*:*:*:*:* | |
| netapp | solidfire | cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* | |
| netapp | steelstore_cloud_integrated_storage | cpe:2.3:a:netapp:steelstore_cloud_integrated_storage:-:*:*:*:*:*:*:* | |
| netapp | hci_compute_node | cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* |
참고 링크 59건
- 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/153663/Linux-PTRACE_TRACEME-Broken-Permission-Object-Lifetime-Handling.html
- 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/153702/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html
- 공격 코드 · 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.html
- 공격 코드 · 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.html
- 공격 코드 · 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.html
- 공격 코드 · 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.html
- 제3자 권고 https://access.redhat.com/errata/RHSA-2019:2405
- 제3자 권고 https://access.redhat.com/errata/RHSA-2019:2411
- 제3자 권고 https://access.redhat.com/errata/RHSA-2019:2809
- 공격 코드 · 이슈 추적 · 패치 · 제3자 권고 https://bugs.chromium.org/p/project-zero/issues/detail?id=1903
- 이슈 추적 · 패치 https://bugzilla.redhat.com/show_bug.cgi?id=1730895
- 이슈 추적 · 패치 · 제3자 권고 https://bugzilla.suse.com/show_bug.cgi?id=1140671
- 패치 · 제조사 권고 https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.17
- 패치 · 제조사 권고 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6994eefb0053799d2e07cd140df6c2ea106c41ee
- 패치 https://github.com/torvalds/linux/commit/6994eefb0053799d2e07cd140df6c2ea106c41ee
- 메일링 리스트 · 제3자 권고 https://lists.debian.org/debian-lts-announce/2019/07/msg00022.html
- 메일링 리스트 · 제3자 권고 https://lists.debian.org/debian-lts-announce/2019/07/msg00023.html
- 릴리스 노트 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGRK5LYWBJ4E4SRI4DKX367NHYSI3VOH/
- 이슈 추적 · 메일링 리스트 · 제3자 권고 https://seclists.org/bugtraq/2019/Jul/30
- 이슈 추적 · 메일링 리스트 · 제3자 권고 https://seclists.org/bugtraq/2019/Jul/33
- 제3자 권고 https://security.netapp.com/advisory/ntap-20190806-0001/
- 제3자 권고 https://support.f5.com/csp/article/K91025336
- 제3자 권고 https://support.f5.com/csp/article/K91025336?utm_source=f5support&%3Butm_medium=RSS
- 제3자 권고 https://usn.ubuntu.com/4093-1/
- 제3자 권고 https://usn.ubuntu.com/4094-1/
- 제3자 권고 https://usn.ubuntu.com/4095-1/
- 제3자 권고 https://usn.ubuntu.com/4117-1/
- 제3자 권고 https://usn.ubuntu.com/4118-1/
- 제3자 권고 https://www.debian.org/security/2019/dsa-4484
- 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/153663/Linux-PTRACE_TRACEME-Broken-Permission-Object-Lifetime-Handling.html
- 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/153702/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html
- 공격 코드 · 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.html
- 공격 코드 · 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.html
- 공격 코드 · 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.html
- 공격 코드 · 제3자 권고 · 취약점 DB http://packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.html
- 제3자 권고 https://access.redhat.com/errata/RHSA-2019:2405
- 제3자 권고 https://access.redhat.com/errata/RHSA-2019:2411
- 제3자 권고 https://access.redhat.com/errata/RHSA-2019:2809
- 공격 코드 · 이슈 추적 · 패치 · 제3자 권고 https://bugs.chromium.org/p/project-zero/issues/detail?id=1903
- 이슈 추적 · 패치 https://bugzilla.redhat.com/show_bug.cgi?id=1730895
- 이슈 추적 · 패치 · 제3자 권고 https://bugzilla.suse.com/show_bug.cgi?id=1140671
- 패치 · 제조사 권고 https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.17
- 패치 · 제조사 권고 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6994eefb0053799d2e07cd140df6c2ea106c41ee
- 패치 https://github.com/torvalds/linux/commit/6994eefb0053799d2e07cd140df6c2ea106c41ee
- 메일링 리스트 · 제3자 권고 https://lists.debian.org/debian-lts-announce/2019/07/msg00022.html
- 메일링 리스트 · 제3자 권고 https://lists.debian.org/debian-lts-announce/2019/07/msg00023.html
- 릴리스 노트 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGRK5LYWBJ4E4SRI4DKX367NHYSI3VOH/
- 이슈 추적 · 메일링 리스트 · 제3자 권고 https://seclists.org/bugtraq/2019/Jul/30
- 이슈 추적 · 메일링 리스트 · 제3자 권고 https://seclists.org/bugtraq/2019/Jul/33
- 제3자 권고 https://security.netapp.com/advisory/ntap-20190806-0001/
50건만 표시합니다.
용어 설명 CVE · CVSS · EPSS · KEV · NVD …
- CVE 취약점 번호
- 공개된 보안 취약점마다 붙는 국제 고유 번호입니다. 예: CVE-2021-44228(Log4j). 가운데 숫자는 번호를 받은 해입니다.
- CVSS 위험도 점수
- 취약점이 얼마나 위험한지 0~10점으로 매긴 국제 표준 점수입니다. 심각 9.0 이상 · 높음 7.0~8.9 · 중간 4.0~6.9 · 낮음 0.1~3.9. 공격이 얼마나 쉬운지와 피해 크기로 정하며, 실제로 공격받고 있는지는 반영하지 않습니다.
- EPSS 악용 가능성
- 앞으로 30일 안에 실제 공격에 쓰일 확률을 추정한 값(0~100%)입니다. 국제 보안 단체 FIRST 가 매일 계산합니다. 높을수록 먼저 조치하세요.
- KEV 실제 악용 확인
- 미국 사이버보안청(CISA)이 실제 공격에 쓰인 것을 확인한 취약점만 모은 목록입니다. 여기에 있으면 가장 먼저 조치할 대상입니다. '랜섬웨어' 표시는 랜섬웨어 공격에 쓰인 것으로 알려진 것입니다.
- 공격 코드 공개된 PoC
- NVD 참고 링크 중 '공격 코드(Exploit)' 표시가 붙은 것이 있다는 뜻입니다. 누구나 공격을 시도해 볼 수 있으므로 서두르는 게 좋지만, 실제 악용이 확인된 것(KEV)과는 다릅니다.
- NVD 미국 취약점 DB
- 미국 국립표준기술연구소(NIST)가 운영하는 취약점 데이터베이스입니다. CVE 마다 설명·CVSS 점수·영향받는 제품·취약점 종류를 붙입니다. 이 사이트 설명의 원문 출처입니다.
- 우선순위 이 사이트의 참고 점수
- CVSS·KEV·랜섬웨어·EPSS·ASEC 언급·공격 코드 공개를 합쳐 계산한 점수입니다. 높을수록 먼저 살펴보세요. 공식 점수가 아닙니다.
- ASEC 안랩 분석 글
- 안랩 보안대응센터 블로그입니다. 'ASEC 3' 은 분석 글에 그 CVE 번호가 3번 나왔다는 뜻이며, 국내에서 악용이 확인됐다는 뜻은 아닙니다.
- CWE 취약점 종류
- 취약점 종류의 분류 번호입니다. 예: CWE-89 SQL 인젝션, CWE-79 크로스 사이트 스크립팅.
- CPE 영향받는 제품
- 취약점이 있는 제품과 버전을 적는 표준 표기입니다. 예: apache:tomcat 9.0.0~9.0.80.
- KB Microsoft 업데이트 번호
- Microsoft 가 업데이트마다 붙이는 번호입니다. 예: KB5068791. '수정된 버전' 은 업데이트 후의 빌드 번호로, 이보다 낮으면 업데이트가 필요합니다.
- 시나리오 · 번역
- '시나리오' 는 단계별 판정 초안이 있다는 표시입니다(없다고 안전한 것은 아닙니다). '(번역)' 은 Claude 로 기계 번역한 설명입니다.