CVE-2024-6409
위험도 높음 ASEC 언급 4건
- 우선순위 이 사이트의 참고 점수
- 9.33
- 위험도 CVSS 3.1 · 0~10점
- 7.0
- 악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
- 27.8%
- 공개일 NVD
- 2024-07-08
설명 NVD 원문
A race condition vulnerability was discovered in how signals are handled by OpenSSH's server (sshd). If a remote attacker does not authenticate within a set time period, then sshd's SIGALRM handler is called asynchronously. However, this signal handler calls various functions that are not async-signal-safe, for example, syslog(). As a consequence of a successful attack, in the worst case scenario, an attacker may be able to perform a remote code execution (RCE) as an unprivileged user running the sshd server.
위험도 세부 항목 CVSS 3.1
- 공격 경로
- 네트워크(원격) AV:N
- 공격 난이도
- 높음(어려움) AC:H
- 필요한 권한
- 없음(로그인 불필요) PR:N
- 사용자 행동 필요
- 필요 없음 UI:N
- 영향 범위
- 그 제품 안 S:U
- 정보 유출(기밀성)
- 낮음 C:L
- 데이터 변조(무결성)
- 낮음 I:L
- 서비스 중단(가용성)
- 높음 A:H
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
조치 방법 0행
수집된 조치 정보가 없습니다. 조치가 필요 없다는 뜻은 아닙니다.
살펴볼 장비 초안
분류 대상이 아닙니다 (지금은 KEV 만 분류합니다). 안전하다는 뜻이 아닙니다.
단계별 판정 예시 환경
시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.
출처별 내용 5건
KISA OpenSSH 제품 보안 업데이트 권고 2024-07-11
□ 개요 o RedHat 社 는 자사의 Red Hat Enterprise Linux 9 에 적용된 OpenSSH 서버에서 발생하는 보안 업데이트 발표 [1] o 영향받는 버전을 사용 중인 시스템 사용자는 해결 방안에 따라 최신 버전으로 업데이트 권고 □ 설명 o Red Hat Enterprise Linux 9 의 OpenSSH 에서 발생하는 레이스 컨디션 취약점으로 인한 원격 코드 실행 취약점 (CVE-2024-6409) [2][3] □ 영향받는 제품 및 해결 방안 취약점 제품명 영향받는 버전 해결 버전 CVE-2024-6409 Red Hat Enterprise Linux for x86_64 9 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux for x86_64 - Extended Update Support 9.4 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux Server - AUS 9.4 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux for IBM z Systems 9 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 9.4 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux for Power, little endian 9 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux for Power, little endian - Extended Update Support 9.4 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux for ARM 64 9 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux for ARM 64 - Extended Update Support 9.4 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions 9.4 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 9.4 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux Server for ARM 64 - 4 years of updates 9.4 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 Red Hat Enterprise Linux Server for IBM z Systems - 4 years of updates 9.4 openssh-8.7p1-38.el9_4.4 까지 ( 제외 ) openssh-8.7p1-38.el9_4.4 ※ 하단의 참고사이트를 확인하여 업데이트 수행 [4] □ 참고사이트 [1] https://access.redhat.com/security/cve/CVE-2024-6409 [2] https://access.redhat.com/errata/RHSA-2024:4457 [3] https://nvd.nist.gov/vuln/detail/CVE-2024-6409 [4] https://access.redhat.com/articles/11258 □ 문의사항 o 한국인터넷진흥원 사이버민원센터 : 국번없이 118 □ 작성 : 위협분석단 취약점분석팀
ASEC 주간 탐지 룰(YARA, Snort) 정보 – 2024년 7월 3주차 2024-07-17
AhnLab TIP 서비스에서 수집한, 공개된 YARA, Snort룰(2024년 7월 3주) 정보입니다. YARA룰 14건 탐지명 설명 출처 PK_Coinbase_haxornomercy Coinbase 를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_Netflix_access Netflix를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_RedstoneFCU_forge RedStoneFCU 를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_TelekomDE_result TelekomDE 를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_TexomaCU_prohqcker TexomaCU를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_Interac_bore3da Interac을 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_Ionos_02d0 Ionos webmail 을 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_LibertyFreightDelivery_express Liberty Freight Delivery(운수업)를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_PNC_lom PNC Online Bank 를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_VystarCU_mrweebee VYSTAR CU(금융업)를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules APT_MAL_APT27_Rshell_Jul24 APT27 RShell 탐지 https://github.com/Neo23x0/signature-base SUSP_BAT_OBFUSC_Jul24_1 Set을 통해 난독화된 BAT파일 탐지 https://github.com/Neo23x0/signature-base SUSP_BAT_OBFUSC_Jul24_2 Set을 통해 난독화된 BAT파일 탐지 https://github.com/Neo23x0/signature-base SUSP_BAT_OBFUSC_Jul24_3 Set을 통해 난독화된 BAT파일 탐지 https://github.com/Neo23x0/signature-base Snort룰 8건 탐지명 설명 출처 ET INFO Server Responded with Vulnerable OpenSSH Version (CVE-2024-6409) CVE-2024-6409 취약한 OpenSSH 버전 응답 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET EXPLOIT Splunk Unauthenticated Path Traversal Attempt Inbound (CVE-2024-36991) Splunk CVE-2024-36991 취약점 유입 시도 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN ZharkBot User-Agent Observed ZharkBot User-Agent 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN ZharkBot CnC Exfil in HTTP URI ZharkBot C2 연결 URI 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN [ANY.RUN] MetaStealer v.5 (MC-NMF TLS Server Certificate) MetaStealer 인증서 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET EXPLOIT Rejetto HTTP File Server Unauthenticated RCE Attempt (CVE-2024-23692) Rejetto CVE-2024-23692 취약점 Exploit 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN Imposter Interpol Stealer CnC Checkin Imposter C2 연결 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN IP Scanner Tool Update Request (GET) IP Scanner Tool 업데이트 요청 패킷 탐지 https://rules.emergingthreatspro.com/open/ 상세 룰 파일은 첨부파일로 제공됩니다. 2024-07_ASEC_Notes_3_snort.rules 2024-07_ASEC_Notes_3.yar
ASEC RedHat Linux OpenSSH 보안 주의 권고(CVE-2024-6409) 2024-07-10
개요 RedHat Linux에서 제공하는 OpenSSH 서버인 sshd의 signal handler에서 race condition 취약점이 발견되었습니다. 해당하는 제품 사용자는 최신 버전으로 업데이트하시기 바랍니다. 대상 제품 CVE-2024-6409 OpenSSH 버전: 8.7, 8.8 및 해당 버전을 기반으로하는 portable releases [2] 해결된 취약점 OpenSSH 서버(sshd)에서 신호 처리기 경쟁 조건 취약점으로 인하여 privsep 자식 프로세스에서 원격 코드 실행(RCE)을 수행할 수 있는 취약점(CVE-2024-6409) 다음은 CVE-2024-6409에 대해 논의되고 있는 사항입니다. 해당 취약점의 익스플로잇은 아직 시도되지 않았으며 명확히 입증되지 않았습니다. [2] 해당 CVE의 CNA는 Red Hat이며 CVE 발급 당시 CPE로 Red Hat 계열만 영향받는 소프트웨어로 등록되어있지만, 게시 당시 해당 CVE가 Redhat의 OpenSSH sshd에만 영향을 미친다는 것을 명확히 언급하고 있지 않습니다. [3], [4] 취약점 패치 CVE-2024-6409 Red Hat OpenSSH 패키지: openssh-7.6p1-audit.patch Red Hat에서는 Red Hat Enterprise Linux 9와 함께 제공되는 sshd 서버에만 영향을 미치며, sshd의 업스트림 버전은 영향을 받지 않는다고 언급하고 있습니다. [5] 취약점 대응방안 sshd(8)를 업데이트할 수 없는 경우 /etc/ssh/sshd_config에서 LoginGraceTime을 0으로 설정하고 sshd(8)를 다시 시작하여 이 signal handler race condition을 완화할 수 있습니다. 이로 인해 sshd(8)는 서비스 거부(모든 MaxStartups 연결 고갈)에 취약해지지만 이 권고에 제시된 원격 코드 실행으로부터 안전합니다. 다음은 취약점 mitigation step 입니다. 1) 루트 사용자로 /etc/ssh/sshd_config를 엽니다. 2) 매개변수 구성을 추가하거나 편집합니다. 로그인GraceTime 0 3) 파일을 저장하고 닫습니다. 4) sshd 데몬을 다시 시작합니다. systemctl 재시작 sshd.service 참고사이트 [1] CVE-2024-6409 Detail https://nvd.nist.gov/vuln/detail/CVE-2024-6409 [2] Openwall https://www.openwall.com/lists/oss-security/2024/07/08/2 [3] Openwall https://www.openwall.com/lists/oss-security/2024/07/09/2 [4] Openwall https://www.openwall.com/lists/oss-security/2024/07/09/5 [5] RedHat https://access.redhat.com/security/cve/CVE-2024-6409
ASEC 영어·일본어 등 다른 언어 글 2건
ASEC Weekly Detection Rule (YARA and Snort) Information – Week 3, July 2024 2024-07-17
The following is the information on Yara and Snort rules (week 3, July 2024) collected and shared by the AhnLab TIP service. 14 YARA Rules Detection name Description Source PK_Coinbase_haxornomercy Phishing Kit impersonating Coinbase https://github.com/t4d/PhishingKit-Yara-Rules PK_Netflix_access Phishing Kit impersonating Netflix https://github.com/t4d/PhishingKit-Yara-Rules PK_RedstoneFCU_forge Phishing Kit impersonating Redstone Federal Credit Union https://github.com/t4d/PhishingKit-Yara-Rules PK_TelekomDE_result Phishing Kit impersonating Telekom Deutschland GmbH/T-Online https://github.com/t4d/PhishingKit-Yara-Rules PK_TexomaCU_prohqcker Phishing Kit impersonating Texoma Community Credit Union https://github.com/t4d/PhishingKit-Yara-Rules PK_Interac_bore3da Phishing Kit impersonating Interac, several payment systems https://github.com/t4d/PhishingKit-Yara-Rules PK_Ionos_02d0 Phishing Kit impersonating Ionos webmail https://github.com/t4d/PhishingKit-Yara-Rules PK_LibertyFreightDelivery_express Phishing Kit impersonating Liberty Freight Delivery company https://github.com/t4d/PhishingKit-Yara-Rules PK_PNC_lom Phishing Kit impersonating PNC online bank https://github.com/t4d/PhishingKit-Yara-Rules PK_VystarCU_mrweebee Phishing Kit impersonating VYSTAR CU https://github.com/t4d/PhishingKit-Yara-Rules APT_MAL_APT27_Rshell_Jul24 YARA rule to detect RSHELL of APT27 https://github.com/Neo23x0/signature-base SUSP_BAT_OBFUSC_Jul24_1 Detects indicators of obfuscation in Windows Batch files https://github.com/Neo23x0/signature-base SUSP_BAT_OBFUSC_Jul24_2 Detects indicators of obfuscation in Windows Batch files https://github.com/Neo23x0/signature-base SUSP_BAT_OBFUSC_Jul24_3 Detects indicators of obfuscation in Windows Batch files https://github.com/Neo23x0/signature-base 8 Snort Rules Detection name Source ET INFO Server Responded with Vulnerable OpenSSH Version (CVE-2024-6409) https://rules.emergingthreatspro.com/open/ ET EXPLOIT Splunk Unauthenticated Path Traversal Attempt Inbound (CVE-2024-36991) https://rules.emergingthreatspro.com/open/ ET TROJAN ZharkBot User-Agent Observed https://rules.emergingthreatspro.com/open/ ET TROJAN ZharkBot CnC Exfil in HTTP URI https://rules.emergingthreatspro.com/open/ ET TROJAN [ANY.RUN] MetaStealer v.5 (MC-NMF TLS Server Certificate) https://rules.emergingthreatspro.com/open/ ET EXPLOIT Rejetto HTTP File Server Unauthenticated RCE Attempt (CVE-2024-23692) https://rules.emergingthreatspro.com/open/ ET TROJAN Imposter Interpol Stealer CnC Checkin https://rules.emergingthreatspro.com/open/ ET TROJAN IP Scanner Tool Update Request (GET) https://rules.emergingthreatspro.com/open/ Detailed rule files are attached. 2024-07_ASEC_Notes_3_snort.rules 2024-07_ASEC_Notes_3.yar
ASEC RedHat Linux OpenSSH Security Advisory (CVE-2024-6409) 2024-07-10
Overview A race condition vulnerability has been discovered in the signal handler of sshd, an OpenSSH server provided by RedHat Linux. Users of affected products are advised to update to the latest version. Affected Products CVE-2024-6409 OpenSSH Versions: 8.7, 8.8, and portable releases based on those versions [2] Resolved Vulnerabilities A signal handler race condition vulnerability in the OpenSSH server (sshd) allows remote code execution (RCE) in the privsep child process (CVE-2024-6409) The following is a discussion of CVE-2024-6409. Exploitation of this vulnerability has not yet been attempted and has not been clearly demonstrated. [2] The CNA for this CVE is Red Hat, and while the CVE is listed as a CPE at the time of issuance with only Red Hat family software affected, it does not clearly state that the CVE only affects Red Hat’s OpenSSH sshd at the time of publication. [3], [4] Vulnerability Patches CVE-2024-6409 Red Hat OpenSSH Package: openssh-7.6p1-audit.patch Red Hat notes that this only affects the sshd server shipped with Red Hat Enterprise Linux 9, and that upstream versions of sshd are not affected. [5] vulnerability Workaround If you are unable to update sshd(8), you can mitigate this signal handler race condition by setting LoginGraceTime to 0 in /etc/ssh/sshd_config and restarting sshd(8). this leaves sshd(8) vulnerable to a denial of service (exhausting all MaxStartups connections), but safe from the remote code execution presented in this advisory. the following are the steps to mitigate the vulnerability 1) Open /etc/ssh/sshd_config as the root user. 2) Add or edit the parameter configuration. loginGraceTime 0 3) Save and close the file. 4) Restart the sshd daemon. systemctl restart sshd.service references [1] CVE-2024-6409 Detail https://nvd.nist.gov/vuln/detail/CVE-2024-6409 [2] Openwall https://www.openwall.com/lists/oss-security/2024/07/08/2 [3] Openwall h ttps:// http://www.openwall.com/lists/oss-security/2024/07/09/2 [4] Openwall h ttps:// http://www.openwall.com/lists/oss-security/2024/07/09/5 [5] RedHat h ttps:// access.redhat.com/security/cve/CVE-2024-6409
자동 추천 장비와 근거 참고용
추천할 매핑이 없습니다.
취약점 종류 CWE
- CWE-364 Signal Handler Race Condition
참고 링크 29건
- https://access.redhat.com/errata/RHSA-2024:4457
- https://access.redhat.com/errata/RHSA-2024:4613
- https://access.redhat.com/errata/RHSA-2024:4716
- https://access.redhat.com/errata/RHSA-2024:4910
- https://access.redhat.com/errata/RHSA-2024:4955
- https://access.redhat.com/errata/RHSA-2024:4960
- https://access.redhat.com/errata/RHSA-2024:5444
- https://access.redhat.com/security/cve/CVE-2024-6409
- https://bugzilla.redhat.com/show_bug.cgi?id=2295085
- http://www.openwall.com/lists/oss-security/2024/07/08/2
- http://www.openwall.com/lists/oss-security/2024/07/09/2
- http://www.openwall.com/lists/oss-security/2024/07/09/5
- http://www.openwall.com/lists/oss-security/2024/07/10/1
- http://www.openwall.com/lists/oss-security/2024/07/10/2
- https://access.redhat.com/errata/RHSA-2024:4457
- https://access.redhat.com/errata/RHSA-2024:4613
- https://access.redhat.com/errata/RHSA-2024:4716
- https://access.redhat.com/security/cve/CVE-2024-6409
- https://almalinux.org/blog/2024-07-09-cve-2024-6409/
- https://bugzilla.redhat.com/show_bug.cgi?id=2295085
- https://bugzilla.suse.com/show_bug.cgi?id=1227217
- https://explore.alas.aws.amazon.com/CVE-2024-6409.html
- https://github.com/openela-main/openssh/commit/c00da7741d42029e49047dd89e266d91dcfbffa0
- https://security-tracker.debian.org/tracker/CVE-2024-6409
- https://security.netapp.com/advisory/ntap-20240712-0003/
- https://sig-security.rocky.page/issues/CVE-2024-6409/
- https://ubuntu.com/security/CVE-2024-6409
- https://www.suse.com/security/cve/CVE-2024-6409.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
용어 설명 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 로 기계 번역한 설명입니다.