CVE-2024-12987
위험도 심각 실제 악용 (KEV) 공격 코드 공개 ASEC 언급 4건
- 우선순위 이 사이트의 참고 점수
- 18.25
- 위험도 CVSS 3.1 · 0~10점
- 9.8
- 악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
- 98.2%
- 공개일 NVD
- 2024-12-27
설명 NVD 원문
DrayTek Vigor2960 및 Vigor300B 1.5.1.4에서 심각도가 높은(critical) 취약점이 발견되었다. 웹 관리 인터페이스(Web Management Interface) 구성요소의 /cgi-bin/mainfunction.cgi/apmcfgupload 파일에 있는 미확인 기능이 영향을 받는다. session 인자를 조작하면 OS 명령 삽입(OS command injection)이 발생한다. 공격은 원격으로 수행할 수 있다. 익스플로잇이 공개되어 악용될 수 있는 상태이다. 1.5.1.5 버전으로 업그레이드하면 이 문제를 해결할 수 있다. 영향을 받는 구성요소를 업그레이드할 것을 권장한다.
Claude 로 기계 번역한 글입니다. 정확한 내용은 영어 원문을 확인하세요.
영어 원문
A vulnerability, which was classified as critical, was found in DrayTek Vigor2960 and Vigor300B 1.5.1.4. Affected is an unknown function of the file /cgi-bin/mainfunction.cgi/apmcfgupload of the component Web Management Interface. The manipulation of the argument session leads to os command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.5.1.5 is able to address this issue. It is recommended to upgrade the affected component.
위험도 세부 항목 CVSS 3.1
- 공격 경로
- 네트워크(원격) AV:N
- 공격 난이도
- 낮음(쉬움) AC:L
- 필요한 권한
- 없음(로그인 불필요) PR:N
- 사용자 행동 필요
- 필요 없음 UI:N
- 영향 범위
- 그 제품 안 S:U
- 정보 유출(기밀성)
- 높음 C:H
- 데이터 변조(무결성)
- 높음 I:H
- 서비스 중단(가용성)
- 높음 A:H
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
조치 방법 0행
수집된 조치 정보가 없습니다. 조치가 필요 없다는 뜻은 아닙니다.
CISA 조치 권고 KEV
제조사 안내에 따라 완화 조치를 적용하세요. 클라우드 서비스는 BOD 22-01 지침을 따르고, 완화 방법이 없으면 제품 사용을 중단하세요.
영어 원문
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
미국 연방기관 조치 기한: 2025-06-05
살펴볼 장비 초안
공격 대상: 네트워크·보안·임베디드 장비. '이 장비에서 살펴볼 취약점' 이라는 분류이며, 장비가 탐지한다는 확인이 아닙니다.
| 장비 보기 | 정도 | 분류 이유 |
|---|---|---|
| 네트워크 통신 (IPS·NDR) | 주 | 사용자 행동 없이 네트워크로 코드·명령 실행 |
| 장비 자체 확인 (장비 로그·패치) | 주 | 장비 자체가 공격 대상. 장비의 로그와 패치 상태 확인 |
단계별 판정 예시 환경
시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.
출처별 내용 5건
CISA KEV DrayTek Vigor Routers OS Command Injection Vulnerability 2025-05-15
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
ASEC 주간 탐지 룰(YARA, Snort) 정보 – 2025년 2월 2주차 2025-02-12
AhnLab TIP 서비스에서 수집한, 공개된 YARA, Snort룰(2025년 2월 2주) 정보입니다. 2 YARA Rules 탐지명 설명 출처 PK_Binance_nuxt Binance(암호화폐 거래) 를 사칭하는 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_MondialRelay_traffyque Mondial Relay(프랑스 국제 택배)를 사칭하는 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules 20 Snort Rules 탐지명 설명 출처 ET POLICY Contec Health CMS8000 Patient Monitor Insecure Default HL7 Protocol Server IP (CVE-2025-0626) Contec Health CMS8000 환자 모니터 안전하지 않은 기본 HL7 프로토콜 서버 IP(CVE-2025-0626) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET POLICY Contec Health CMS8000 Patient Monitor Insecure Default CMS Protocol Server IP (CVE-2025-0626) Contec Health CMS8000 환자 모니터 안전하지 않은 기본 CMS 프로토콜 서버 IP(CVE-2025-0626) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS YETI Platform Server-Side Template Injection (CVE-2024-45607) YETI 플랫폼 서버측 템플릿 인젝션 (CVE-2024-45607) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS SimpleHelp Support Server Unauthenticated Path Traversal (serverconfig.xml) (CVE-2024-57727) SimpleHelp Support Server 비인가 경로 탐색(serverconfig.xml) (CVE-2024-57727) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Ivanti Endpoint Manager Unauthorized XML External Entity (CVE-2024-37397) Ivanti Endpoint Manager 비인가 XML 외부 엔터티 (CVE-2024-37397) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS QNAP Viostor server.cgi SPECIFIC_SERVER Parameter Command Injection Attempt (CVE-2023-47565) QNAP Viostor server.cgi SPECIFIC_SERVER 파라미터 커맨드 인젝션 시도(CVE-2023-47565) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS HPE Insights Remote Support XML External Entity Injection (CVE-2024-53675) HPE Insights Remote Support XML 외부 엔터티 인젝션(CVE-2024-53675) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Ivanti Avalanche SmartDeviceServer XML External Entity Injection (CVE-2024-38653) Ivanti Avalanche SmartDeviceServer XML 외부 엔터티 인젝션 (CVE-2024-38653) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS FXC AE1021 Series Router ntp.general.hostname Authenticated Command Injection Attempt (CVE-2023-49897) FXC AE1021 Series Router ntp.general.hostname 인증된 커맨드 인젝션 시도(CVE-2023-49897) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET CURRENT_EVENTS Tycoon2FA Phishing Kit Style Evasion Tycoon2FA Phishing Kit 스타일 회피 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET POLICY Plaintext SSH Private Key Outbound over HTTP Plaintext SSH Private Key HTTP 를 통한 아웃바운드 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS DrayTek Gateway Web Management Interface OS Command Injection (CVE-2024-12987) DrayTek Gateway Web Management Interface OS 커맨드 인젝션(CVE-2024-12987) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Ivanti EPM Cloud Services Appliance Backdoor Access Attempt (CVE-2021-44529) Ivanti EPM Cloud Services Appliance Backdoor 접근 시도 (CVE-2021-44529) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Ivanti EPM Cloud Services Appliance Backdoor Response (CVE-2021-44529) Ivanti EPM Cloud Services Appliance Backdoor 응답(CVE-2021-44529) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS D-Link DIR-605 getcfg.php Authentication Bypass Attempt (CVE-2021-40655) D-Link DIR-605 getcfg.php 인증 우회 시도(CVE-2021-40655) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Possible Roundcube XSS via Malicious XML Attachment (CVE-2020-13965) 악성 XML 첨부를 통한 Possible Roundcube XSS(CVE-2020-13965) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN Onestart AI Host Profile Checkin (POST) Onestart AI Host 프로필 체크인 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN Onestart AI Program Version Checkin (POST) OneStart AI 프로그램 버전 체크인 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN Winos4.0 Framework CnC Checkin (x32.) Winos4.0 Framework C2 체크인 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN Winos4.0 Framework CnC Login Message CnC Server Response Winos4.0 Framework C2 로그인 메시지 C2 서버 응답 패킷 탐지 https://rules.emergingthreatspro.com/open/ 2025-02_ASEC_Notes_2.yar 2025-02_ASEC_Notes_2_snort.rules
ASEC Vigor 보안 업데이트 권고 (CVE-2024-12987) 2025-01-03
개요 Vigor에서 발생하는 취약점을 해결하는 보안 업데이트를 발표하였습니다. 해당하는 제품 사용자는 최신 버전으로 업데이트 하시기 바랍니다. 대상 제품 CVE-2024-12987 Vigor2960 버전: 1.5.1.4 Vigor300B 버전: 1.5.1.4 해결된 취약점 OS Command injection 취약점(CVE-2024-12987) 취약점 패치 최신 업데이트를 통해 취약점 패치가 제공되었습니다. 참고 사이트의 안내에 따라 최신 취약점 패치 버전으로 업데이트 하시기 바랍니다. CVE-2024-12987 Vigor2960 버전: 1.5.1.5 Vigor300B 버전: 1.5.1.5 참고사이트 [1] CVE-2024-12987 https://vulmon.com/vulnerabilitydetails?qid=CVE-2024-12987
ASEC 영어·일본어 등 다른 언어 글 2건
ASEC Weekly Detection Rule (YARA and Snort) Information – Week 2, February 2025 2025-02-12
The following is the information on Yara and Snort rules (week 2, February 2025) collected and shared by the AhnLab TIP service. 2 YARA Rules Detection name Description Source PK_Binance_nuxt Phishing Kit impersonating Binance https://github.com/t4d/PhishingKit-Yara-Rules PK_MondialRelay_traffyque Phishing Kit impersonating Mondial Relay https://github.com/t4d/PhishingKit-Yara-Rules 20 Snort Rules Detection name Source ET POLICY Contec Health CMS8000 Patient Monitor Insecure Default HL7 Protocol Server IP (CVE-2025-0626) https://rules.emergingthreatspro.com/open/ ET POLICY Contec Health CMS8000 Patient Monitor Insecure Default CMS Protocol Server IP (CVE-2025-0626) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS YETI Platform Server-Side Template Injection (CVE-2024-45607) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS SimpleHelp Support Server Unauthenticated Path Traversal (serverconfig.xml) (CVE-2024-57727) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Ivanti Endpoint Manager Unauthorized XML External Entity (CVE-2024-37397) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS QNAP Viostor server.cgi SPECIFIC_SERVER Parameter Command Injection Attempt (CVE-2023-47565) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS HPE Insights Remote Support XML External Entity Injection (CVE-2024-53675) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Ivanti Avalanche SmartDeviceServer XML External Entity Injection (CVE-2024-38653) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS FXC AE1021 Series Router ntp.general.hostname Authenticated Command Injection Attempt (CVE-2023-49897) https://rules.emergingthreatspro.com/open/ ET CURRENT_EVENTS Tycoon2FA Phishing Kit Style Evasion https://rules.emergingthreatspro.com/open/ ET POLICY Plaintext SSH Private Key Outbound over HTTP https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS DrayTek Gateway Web Management Interface OS Command Injection (CVE-2024-12987) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Ivanti EPM Cloud Services Appliance Backdoor Access Attempt (CVE-2021-44529) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Ivanti EPM Cloud Services Appliance Backdoor Response (CVE-2021-44529) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS D-Link DIR-605 getcfg.php Authentication Bypass Attempt (CVE-2021-40655) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Possible Roundcube XSS via Malicious XML Attachment (CVE-2020-13965) https://rules.emergingthreatspro.com/open/ ET TROJAN Onestart AI Host Profile Checkin (POST) https://rules.emergingthreatspro.com/open/ ET TROJAN Onestart AI Program Version Checkin (POST) https://rules.emergingthreatspro.com/open/ ET TROJAN Winos4.0 Framework CnC Checkin (x32.) https://rules.emergingthreatspro.com/open/ ET TROJAN Winos4.0 Framework CnC Login Message CnC Server Response https://rules.emergingthreatspro.com/open/ 2025-02_ASEC_Notes_2.yar 2025-02_ASEC_Notes_2_snort.rules
ASEC Vigor Security Update Advisory (CVE-2024-12987) 2025-01-03
Overview We have released a security update to address a vulnerability in Vigor. We encourage affected product users to update to the latest version. Affected Products CVE-2024-12987 Vigor2960 Version: 1.5.1.4 Vigor300B Version: 1.5.1.4 Resolved Vulnerabilities OS Command injection vulnerability (CVE-2024-12987) Vulnerability Patches Vulnerability Patches have been made available in the latest update. Please follow the instructions on the Referenced Sites to update to the latest Vulnerability Patches version. CVE-2024-12987 Vigor2960 Version: 1.5.1.5 Vigor300B Version: 1.5.1.5 References [1] CVE-2024-12987 https://vulmon.com/vulnerabilitydetails?qid=CVE-2024-12987
자동 추천 장비와 근거 참고용
분류 체계(취약점 종류 CWE → 공격 유형 CAPEC → 공격 기법 ATT&CK) 매핑으로 계산한 후보입니다. 범위가 넓어 관련이 적은 장비가 섞입니다. 해당 장비가 이 공격을 탐지한다고 확인한 것은 아니며, 위의 '살펴볼 장비' 와 단계별 판정에는 쓰지 않습니다.
| 장비 | 방법 | 근거 경로 |
|---|---|---|
| 엔드포인트 탐지·대응 EDR | cwe | CWE-77 (직접 매핑) |
| 서버 감사 로그 SYSAUDIT | cwe | CWE-77 (직접 매핑) |
| 웹 방화벽 WAF | cwe | CWE-77 (직접 매핑) |
취약점 종류 CWE
- 명령어 삽입 — CWE-77 Improper Neutralization of Special Elements used in a Command
- 명령어 삽입 — CWE-78 Improper Neutralization of Special Elements used in an OS Command
영향받는 제품 CPE · 2건
| 제조사 | 제품 | 영향받는 버전 | 표준 표기CPE |
|---|---|---|---|
| draytek | vigor300b_firmware | cpe:2.3:o:draytek:vigor300b_firmware:1.5.1.4:*:*:*:*:*:*:* | |
| draytek | vigor2960_firmware | cpe:2.3:o:draytek:vigor2960_firmware:1.5.1.4:*:*:*:*:*:*:* |
참고 링크 8건
- 공격 코드 · 제3자 권고 https://netsecfish.notion.site/Command-Injection-in-apmcfgupload-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c8040b7f1f0ffe29ce18f?pvs=4
- 로그인 필요 · 취약점 DB https://vuldb.com/?ctiid.289380
- 제3자 권고 · 취약점 DB https://vuldb.com/?id.289380
- 제3자 권고 · 취약점 DB https://vuldb.com/?submit.468795
- 릴리스 노트 https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5_01release-note.pdf
- 릴리스 노트 https://fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor300B_V1.5.1.5_01release-note.pdf
- 해당 없음 https://fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor3900_V1.5.1.5_01release-note.pdf
- 미국 정부 자료 https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-12987
용어 설명 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 로 기계 번역한 설명입니다.