vuln-intel취약점 정보 통합 DB

← 목록

CVE-2024-9264

위험도 높음 ASEC 언급 7건

우선순위 이 사이트의 참고 점수
13.23
위험도 CVSS 3.1 · 0~10점
8.8
악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
97.6%
공개일 NVD
2024-10-18

설명 NVD 원문

The SQL Expressions experimental feature of Grafana allows for the evaluation of `duckdb` queries containing user input. These queries are insufficiently sanitized before being passed to `duckdb`, leading to a command injection and local file inclusion vulnerability. Any user with the VIEWER or higher permission is capable of executing this attack. The `duckdb` binary must be present in Grafana's $PATH for this attack to function; by default, this binary is not installed in Grafana distributions.

위험도 세부 항목 CVSS 3.1

공격 경로
네트워크(원격) AV:N
공격 난이도
낮음(쉬움) AC:L
필요한 권한
일반 사용자 PR:L
사용자 행동 필요
필요 없음 UI:N
영향 범위
그 제품 안 S:U
정보 유출(기밀성)
높음 C:H
데이터 변조(무결성)
높음 I:H
서비스 중단(가용성)
높음 A:H

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

조치 방법 5행

Red Hat 조치 5행
출처플랫폼·제품방식패키지수정된 버전권고문RHSA 등내용
Red Hat Red Hat (공통)완화 조치 원문
Mitigation for this issue is either not available or the currently available options do not meet the…

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Red Hat Red Hat Enterprise Linux 10수정판 없음grafana 원문 Red Hat 상태: 영향 없음
Red Hat Red Hat Enterprise Linux 8수정판 없음grafana 원문 Red Hat 상태: 영향 없음
Red Hat Red Hat Enterprise Linux 9수정판 없음grafana 원문 Red Hat 상태: 영향 없음
Red Hat Red Hat Storage 3수정판 없음grafana 원문 Red Hat 상태: 영향 없음

살펴볼 장비 초안

분류 대상이 아닙니다 (지금은 KEV 만 분류합니다). 안전하다는 뜻이 아닙니다.

단계별 판정 예시 환경

시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.

출처별 내용 8건

KISA Grafana Labs 제품 보안 업데이트 권고 2024-10-25

원문 보기

□ 개요 o Grafana Labs 社 는 자사 제품에서 발생하는 취약점을 해결한 보안 업데이트 발표 [1] o 영향받는 버전을 사용 중인 시스템 사용자는 해결 방안에 따라 최신 버전으로 업데이트 권고 □ 설명 o Grafana 에서 발생하는 원격 코드 실행 가능한 Command Injection 및 LFI 취약점 (CVE-2024-9264) [1][2] □ 영향받는 제품 및 해결 방안 취약점 제품명 영향받는 버전 해결 버전 CVE-2024- 926 4 Grafana 11.0. x 11.0.5+security-01 11.0.6+security-01 11.1.x 11.1.6+security- 01 11.1.7+security-0 1 11.2.x 11.2.1+security-01 11.2.2+security-0 ※ 하단의 참고사이트를 확인하여 업데이트 수행 [1][3] □ 참고사이트 [1] https://grafana.com/blog/2024/10/17/grafana-security-release-critical-severity-fix-for-cve-2024-9264/ [2] https://nvd.nist.gov/vuln/detail/CVE-2024-9264 [3] https://grafana.com/security/security-advisories/cve-2024-9264/ □ 문의사항 o 한국인터넷진흥원 사이버민원센터 : 국번없이 118 □ 작성 : 위협분석단 취약점분석팀

ASEC 주간 탐지 룰(YARA, Snort) 정보 – 2024년 10월 5주차 2024-10-30

원문 보기

AhnLab TIP 서비스에서 수집한, 공개된 YARA, Snort룰(2024년 10월 5주) 정보입니다. 5 YARA Rules 탐지명 설명 출처 PK_EDD_prncpal 캘리포니아 고용개발부를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_Eika_oio Eika Bank(노르웨이 은행)를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_Huntington_code0t17 Huntington bank(미국 은행)를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_LeBonCoin_2022 Le Bon Coin(프랑스 중고거래 플랫폼)을 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules PK_Netflix_prohqcker 넷플릭스를 사칭한 Phishing Kit 탐지 https://github.com/t4d/PhishingKit-Yara-Rules 10 Snort Rules 탐지명 설명 출처 ET TROJAN ClickFix Fake Browser Update Page Inbound M2 ClickFix 가짜 브라우저 업데이트 페이지 유입 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Grafana Post-Authentication DuckDB SQL Injection (CVE-2024-9264) Grafana 인증 후 DuckDB SQL 인젝션(CVE-2024-9264) 취약점 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Apache ShardingSphere ElasticJob-UI Privilege Escalation Attempt (CVE-2022-22733) Apache ShardingSphere ElasticJob-UI 권한 상승 시도(CVE-2022-22733) 취약점 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Apache ShardingSphere ElasticJob-UI Privilege Escalation – Successful Attempt (CVE-2022-22733) Apache ShardingSphere ElasticJob-UI 권한 상승 성공한 시도(CVE-2022-22733) 취약점 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Zyxel USG/Zywall Authentication Bypass Attempt (CVE-2022-0342) Zyxel USG/Zywall 인증 우회 시도(CVE-2022-0342) 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Rejetto HTTP File Server Template Injection (CVE-2024-23692) Rejetto HTTP 파일 서버 템플릿 인젝션 (CVE-2024-23692) 취약점 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Splunk Enterprise < 9.1.2 XML Injection (CVE-2023-46214) Splunk Enterprise < 9.1.2 XML 인젝션 (CVE-2023-46214) 취약점 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN ZharkBOT CnC Activity (GET) M1 ZharkBOT C2 연결 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN ZharkBOT CnC Activity (GET) M2 ZharkBOT C2 연결 패킷 탐지 https://rules.emergingthreatspro.com/open/ ET TROJAN Mints.Loader CnC Activity (GET) Mints.Loader C2 연결 패킷 탐지 https://rules.emergingthreatspro.com/open/ 2024-10_ASEC_Notes_5.yar 2024-10_ASEC_Notes_5_snort.rules

ASEC Grafana 취약점 노출 국내 서버 현황 (CVE-2024-9264) 2024-10-25

원문 보기

Grafana 제품에 대한 중요 보안 취약점이 발표되었으며, 다수의 국내 서버가 취약 버전으로 확인되었다. Grafana는 데이터를 시각화하고 모니터링할 수 있는 오픈소스 플랫폼으로 널리 알려져 있다. 그림 1. Grafana 접속 화면 2024년 10월 18일 공개된 CVE-2024-9264 취약점은 Grafana 서버 시스템에 원격 명령을 실행하거나(RCE) 임의 파일을 읽을 수 있는(LFI) 취약점으로 CVSS 점수 9.9의 심각한 위험도의 취약점이다. 해당 취약점을 악용하면 가장 낮은 권한인 Viewer 권한으로도 서버에 임의 명령을 실행하거나 특정 파일 내용을 확인할 수 있다. 취약 대상은 Grafana v11.x 버전이 설치된 환경에 DuckDB가 환경 변수를 통해 접근 가능한 경우이다. 취약점을 유발하는 기능이 최근 버전부터 포함되었으며, “DuckDB” 설치의 전제 조건이 있기 때문에 실제 공격에 노출된 서버 수량은 제한적일 것으로 보인다. 하지만, 원격 명령 실행 및 파일 탈취가 가능하며 PoC 코드가 공개되어 있어 즉시 공격에 악용될 수 있으므로 주의가 필요하다. ASEC(AhnLab SEcurity intelligence Center)에서는 자사 고객의 취약점 위협 노출 현황을 파악하기 위해 ASM 서비스를 통해 국내에서 운용 중인 Grafana 서버에 대한 취약 여부를 조사하였다. 국내에서 운용 중인 Grafana 서버 2285개가 확인되었으며, 이 중 2168개 서버의 버전 정보가 확인되었다. 이중 최신 버전이 아닌 구 버전(취약점 대상 버전 및 그 이하 버전)을 사용 중인 서버는 2147개로, 99%가 장기간 업데이트를 하지 않고 운용 중이다. CVE-2024-9264 취약점 대상 버전인 v11.x를 사용 중인 서버는 674개, 31%로 확인되었다. 상당수가 국내 기업으로 확인되었으며 대학교(원)도 다수 확인되었다. IP Port Grafana Version Domain 210.127.*.168 3000 Grafana v11.0.0 main-firewall.*************.net 133.186.*.166 3000 Grafana v11.0.0 ops.*************.co.kr 211.35.*.195 53000 Grafana v11.0.1 www.*******.co.kr 211.239.*.9 80 Grafana v11.1.3 app2.*******.co.kr 115.165.*.231 8000 Grafana v11.2.0 *******.co.kr 183.107.*.52 3000 Grafana v11.0.1 www.*******.com 218.153.*.217 3000 Grafana v11.1.4 pay.******.com 1.214.*.250 30002 Grafana v11.2.0 vpn.**************.co.kr 141.223.*.78 55556 Grafana v11.2.0 an*els.*******.ac.kr 115.41.*.196 6377 Grafana v11.0.1 stbt.****.co.kr 58.234.*.82 9256 Grafana v11.1.0 ze**en.************.net 165.246.*.44 3000 Grafana v11.0.0 a*x.****.ac.kr 210.220.*.72 3000 Grafana v11.1.3 bsm.***********.com 표 1. 확인된 취약 Grafana 서버 예시 그림 2. 국내 Grafana 서버 취약점 노출 현황 CVE-2024-9264 Grafana v11.0.0 버전부터 SQL 표현식을 실행할 수 있는 기능이 추가되었다. 해당 기능에서 SQL 쿼리를 적절히 필터링 하지 않아 DuckDB CLI에 사용자 입력 데이터가 포함된 명령이 전달되며, 그 실행 결과를 얻을 수 있다. read_text, read_csv, read_blob 등의 SQL 함수 실행이 가능하며, 로컬 파일 경로를 인자로 주어 해당 파일의 내용을 얻을 수 있다. 그림 3. CVE-2024-9264 PoC 화면 (LFI) COPY – TO 쿼리로 시스템에 원하는 내용의 파일을 생성할 수 있으며, 추가 패키지 설치 명령을 전달하여 쉘 명령도 실행 가능하다. 명령어가 작성된 파일을 쓰고 해당 파일을 읽어 쉘 명령으로 실행하는 방식으로 임의 명령을 실행 가능하다. 그림 4. CVE-2024-9264 PoC 화면 (RCE) 테스트 환경에서 추가 설정 없이 취약 버전의 Grafana와 DuckDB를 설치하는 것만으로 취약점 구현이 가능하였다. Grafana v11.x 버전과 DuckDB를 사용 중인 환경에서는 즉시 최신 업데이트를 수행해야 한다. 패치가 어려운 환경일 경우 DuckDB 실행파일을 제거하거나 환경 변수 경로에서 제외하는 방식으로 완화 조치가 가능하다. 본문의 취약점은 임의 명령이 실행되거나 중요 파일이 유출될 수 있어 악용될 경우 큰 피해가 예상된다. 취약한 버전으로 지속 운영 시 공격 대상으로 노출될 수 있으므로, 피해 예방을 위하여 즉시 최신 패치를 적용해야 한다. 해당 사례 외에도 공격자는 여러 유명 제품의 알려진 취약점을 악용하여 공격을 시도한다. 사용 중인 서비스를 항상 최신 버전으로 유지해야 하며 각종 보안 설정을 통해 공격자의 취약점 스캐닝 및 공격을 방어해야 한다. 또한 국내외 보안 권고를 상시 확인하여 대상 서비스를 운용 중인 경우 신속한 조치와 함께 피해 여부를 점검해야 한다. ASEC에서는 블로그를 통해 주요 취약점에 대한 보안 권고문을 게시하고 있으며, AhnLab TIP 서비스 가입 고객 중 취약점 대상 서비스 운용 기업이 확인될 경우 별도의 맞춤형 보고서를 전달하고 있다. 자사 고객의 취약 정보가 외부에 노출되지 않도록 하며 안전하게 서비스를 운영할 수 있도록 비공개로 해당 고객에게만 전달하는 서비스이다. Ahnlab 보안 권고문 [보안권고문] Grafana 보안 업데이트 권고(CVE-2024-9264) https://asec.ahnlab.com/ko/83990/ 관련 링크 https://nvd.nist.gov/vuln/detail/CVE-2024-9264 https://grafana.com/blog/2024/10/17/grafana-security-release-critical-severity-fix-for-cve-2024-9264/ AhnLab TIP 를 구독하시면 연관 IOC 및 상세 분석 정보를 추가적으로 확인하실 수 있습니다. 자세한 내용은 아래 배너를 클릭하여 확인해보세요.

ASEC Grafana 보안 업데이트 권고(CVE-2024-9264) 2024-10-21

원문 보기

개요 Grafana Labs( https://grafana.com/) 에서는 공급한 제품의 취약점을 해결하는 보안 업데이트를 발표하였습니다. 해당하는 제품 사용자는 최신 버전으로 업데이트 하시기 바랍니다. 대상 제품 CVE-2024-9264 Grafana 버전: 11.X 해결된 취약점 Grafana의 SQL Expressions 실험적 기능에서 사용자 입력이 충분히 검증되지 않은 상태로 duckdb 쿼리에 전달되어 발생할 수 있는 명령어 삽입 및 로컬 파일 포함 취약점(CVE-2024-9264) 취약점 패치 최신 업데이트를 통해 취약점 패치가 제공되었습니다. 참고 사이트의 안내에 따라 최신 취약점 패치 버전으로 업데이트 하시기 바랍니다. CVE-2024-9264 보안 패치만 적용할 경우 Grafana 버전: Release 11.0.5+security-01 Grafana 버전: Release 11.1.6+security-01 Grafana 버전: Release 11.2.1+security-01 Grafana의 최신 버전(10월 1일 출시) 업그레이드 후 보안 패치를 적용할 경우 Grafana 버전: Release 11.0.6+security-01 Grafana 버전: Release 11.1.7+security-01 Grafana 버전: Release 11.2.2+security-01 참고 사이트 [1] CVE-2024-9264 Detail https://nvd.nist.gov/vuln/detail/CVE-2024-9264 [2] Grafana security release: Critical severity fix for CVE-2024-9264 https://grafana.com/blog/2024/10/17/grafana-security-release-critical-severity-fix-for-cve-2024-9264/

ASEC 영어·일본어 등 다른 언어 글 4건
ASEC Grafana の脆弱性が露呈した韓国国内サーバーの現況(CVE-2024-9264) 2024-11-18

원문 보기

Grafana 製品に対する重要なセキュリティ脆弱性が公開され、多数の韓国国内サーバーが脆弱なバージョンであることが確認された。Grafana はデータを視覚化し、モニタリングを行うことができるオープンソースプラットフォームとして広く知られている。 図1. Grafana ログイン画面 2024年10月18日に公開された CVE-2024-9264 脆弱性は、Grafana のサーバーシステムにリモートコマンドを実行したり(RCE)、任意のファイルを読み込むことができる(LFI)脆弱性で、CVSS スコア9.9を割り当てられた深刻な危険度の脆弱性である。 この脆弱性を悪用すると、最も低い権限である Viewer 権限でもサーバーに任意のコマンドを実行する、または特定のファイル内容を確認することができる。 脆弱対象は、Grafana v11.x バージョンがインストールされた環境に DuckDB が環境変数を通じてアクセス可能な場合である。脆弱性を誘発する機能は最近のバージョンから追加されており、「DuckDB」のインストールという前提条件があるため、実際の攻撃にさらされたサーバーの数は限定的であるものと見られる。しかし、リモートコマンドの実行およびファイルの窃取が可能であり、PoC コードが公開されているためすぐに攻撃に悪用されるおそれがあり、注意が必要である。 ASEC(AhnLab SEcurity intelligence Center)では、当社の顧客が脆弱性の脅威にさらされている状況を把握するため、ASM サービスを通じて韓国国内で運用中の Grafana サーバーに対する脆弱性の有無を調査した。 韓国国内で運用中の Grafana サーバー2285個が確認され、そのうち2168個のサーバーのバージョン情報が確認された。その中で、最新バージョンではない旧バージョン(脆弱性の対象となるバージョン、およびそれ以下のバージョン)を使用しているサーバーは2147個であり、99%が長期間アップデートを行わずに運用されている。CVE-2024-9264 脆弱性の対象バージョンである v11.x を使用しているサーバーは674個、31%と確認された。相当数が韓国企業であることが確認され、大学(院)も多数確認された。 IP Port Grafana Version Domain 210.127.*.168 3000 Grafana v11.0.0 main-firewall.*************.net 133.186.*.166 3000 Grafana v11.0.0 ops.*************.co.kr 211.35.*.195 53000 Grafana v11.0.1 www.*******.co.kr 211.239.*.9 80 Grafana v11.1.3 app2.*******.co.kr 115.165.*.231 8000 Grafana v11.2.0 *******.co.kr 183.107.*.52 3000 Grafana v11.0.1 www.*******.com 218.153.*.217 3000 Grafana v11.1.4 pay.******.com 1.214.*.250 30002 Grafana v11.2.0 vpn.**************.co.kr 141.223.*.78 55556 Grafana v11.2.0 an*els.*******.ac.kr 115.41.*.196 6377 Grafana v11.0.1 stbt.****.co.kr 58.234.*.82 9256 Grafana v11.1.0 ze**en.************.net 165.246.*.44 3000 Grafana v11.0.0 a*x.****.ac.kr 210.220.*.72 3000 Grafana v11.1.3 bsm.***********.com 表1. 確認された脆弱な Grafana サーバーの例 図2. 韓国国内の Grafana サーバー脆弱性露呈状況 CVE-2024-9264 Grafana v11.0.0 バージョンから SQL 式を実行できる機能が追加された。この機能において SQL クエリを適切にフィルタリングしなかったことにより、DuckDB CLI にユーザー入力データが含まれたコマンドが伝達され、その実行結果を得ることができる。read_text、read_csv、read_blob などの SQL 関数の実行が可能となり、ローカルファイルのパスを引数として渡して、当該ファイルの内容を取得することができる。 図3. CVE-2024-9264 PoC 画面(LFI) COPY – TO クエリでシステムに任意の内容のファイルを生成することができ、追加パッケージのインストールコマンドを伝達してシェルコマンドを実行することもできる。コマンドが作成されたファイルを書き込み、当該ファイルを読み込んで、シェルコマンドで実行する方式により任意のコマンドを実行できる。 図4. CVE-2024-9264 PoC 画面(RCE) テスト環境では、追加の設定を行わなくとも脆弱なバージョンの Grafana と DuckDB をインストールするだけで、脆弱性の再現が可能であった。Grafana v11.x バージョンと DuckDB を使用している環境の場合、直ちに最新バージョンへのアップデートを実行する必要がある。パッチが困難な環境の場合、DuckDB 実行ファイルを削除するか、環境変数パスから除外する方式により緩和措置が可能である。 本記事で紹介した脆弱性は、任意のコマンドが実行されたり、重要なファイルが流出するおそれがあり、悪用されると甚大な被害が予想される。脆弱なバージョンのままで運用を続けた場合、攻撃対象としてさらされる可能性があるため、被害を予防するためにも直ちに最新のパッチを適用する必要がある。 この事例以外にも、攻撃者は様々な有名製品の既知の脆弱性を悪用して攻撃を試みる。使用中のサービスは常に最新バージョンを維持する必要があり、各種セキュリティ設定を通じて攻撃者の脆弱性スキャンおよび攻撃を防御するべきである。また、国内外のセキュリティ勧告を日頃から確認し、対象となるサービスを運用している場合は迅速な措置とともに、被害状況をチェックする必要がある。 ASEC では、ブログを通じて主な脆弱性に関するセキュリティ勧告文を掲載しており、AhnLab TIP サービスに加入している顧客のうち脆弱性の対象となるサービスを運用している企業が確認された場合、別途カスタマイズレポートを提供している。当社の顧客の脆弱情報が外部にさらされないようにし、安全にサービスを運用できるように、非公開で該当顧客にのみ提供するサービスである。 Ahnlab セキュリティ勧告文 [セキュリティ勧告文] Grafana セキュリティアップデートの勧告(CVE-2024-9264) https://asec.ahnlab.com/ko/83990/ (韓国語にて提供) 関連リンク https://nvd.nist.gov/vuln/detail/CVE-2024-9264 (外部サイト、英語にて提供) https://grafana.com/blog/2024/10/17/grafana-security-release-critical-severity-fix-for-cve-2024-9264/ (外部サイト、英語にて提供) 関連 IOC および詳細な解析情報は、AhnLab の次世代脅威インテリジェンスプラットフォーム 「 AhnLab TIP 」 サブスクリプションサービスを通して確認できる。

ASEC Weekly Detection Rule (YARA and Snort) Information &#8211; Week 5, October 2024 2024-10-30

원문 보기

The following is the information on Yara and Snort rules (week 5, October 2024) collected and shared by the AhnLab TIP service. 5 YARA Rules Detection name Description Source PK_EDD_prncpal Phishing Kit impersonating Employment Development Department California (EDD) https://github.com/t4d/PhishingKit-Yara-Rules PK_Eika_oio Phishing Kit impersonating Eika Bank https://github.com/t4d/PhishingKit-Yara-Rules PK_Huntington_code0t17 Phishing Kit impersonating Huntington bank https://github.com/t4d/PhishingKit-Yara-Rules PK_LeBonCoin_2022 Phishing Kit impersonating Le Bon Coin https://github.com/t4d/PhishingKit-Yara-Rules PK_Netflix_prohqcker Phishing Kit impersonating Netflix https://github.com/t4d/PhishingKit-Yara-Rules 10 Snort Rules Detection name Source ET TROJAN ClickFix Fake Browser Update Page Inbound M2 https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Grafana Post-Authentication DuckDB SQL Injection (CVE-2024-9264) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Apache ShardingSphere ElasticJob-UI Privilege Escalation Attempt (CVE-2022-22733) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Apache ShardingSphere ElasticJob-UI Privilege Escalation – Successful Attempt (CVE-2022-22733) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Zyxel USG/Zywall Authentication Bypass Attempt (CVE-2022-0342) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Rejetto HTTP File Server Template Injection (CVE-2024-23692) https://rules.emergingthreatspro.com/open/ ET WEB_SPECIFIC_APPS Splunk Enterprise < 9.1.2 XML Injection (CVE-2023-46214) https://rules.emergingthreatspro.com/open/ ET TROJAN ZharkBOT CnC Activity (GET) M1 https://rules.emergingthreatspro.com/open/ ET TROJAN ZharkBOT CnC Activity (GET) M2 https://rules.emergingthreatspro.com/open/ ET TROJAN Mints.Loader CnC Activity (GET) https://rules.emergingthreatspro.com/open/ 2024-10_ASEC_Notes_5.yar 2024-10_ASEC_Notes_5_snort.rules

ASEC Status of Korean Servers Exposed to Grafana Vulnerability (CVE-2024-9264) 2024-10-25

원문 보기

A critical security vulnerability in Grafana was announced and many Korean servers have been identified as using the vulnerable versions. Grafana is widely known as an open-source platform for visualizing and monitoring data. Figure 1. Grafana login screen The CVE-2024-9264 vulnerability disclosed on October 18th, 2024 is a critical vulnerability with a CVSS score of 9.9, allowing remote command execution (RCE) or local file inclusion (LFI) on Grafana server systems. If this vulnerability is exploited, one can run arbitrary commands or check certain files in the server even with the viewer privilege, which is the lowest privilege level. The vulnerable targets are environments where Grafana v11.x is installed and DuckDB is accessible through environment variables. The feature causing the vulnerability has been included since recent versions, and because there is a prerequisite of having DuckDB installed, the number of servers actually exposed to attacks is expected to be limited. However, remote command execution and file exfiltration are still possible; and since PoC code is publicly available, caution is necessary as the vulnerability can be immediately exploited for attacks. AhnLab SEcurity intelligence Center (ASEC) investigated the vulnerability status of Grafana servers operating in Korea through the ASM service to assess the vulnerability threat exposure status of its clients. There were 2,285 Grafana servers operating in Korea and version information for 2,168 of these servers was verified. Among these, 2,147 servers are using outdated versions (vulnerable versions), and 99% have been operating without applying updates for an extended period. 674 servers (31%) were identified as using the vulnerable version v11.x of CVE-2024-9264. Many of them were identified as Korean companies, universities, and graduate schools. IP Port Grafana Version Domain 210.127.*.168 3000 Grafana v11.0.0 main-firewall.*************.net 133.186.*.166 3000 Grafana v11.0.0 ops.*************.co.kr 211.35.*.195 53000 Grafana v11.0.1 www.*******.co.kr 211.239.*.9 80 Grafana v11.1.3 app2.*******.co.kr 115.165.*.231 8000 Grafana v11.2.0 *******.co.kr 183.107.*.52 3000 Grafana v11.0.1 www.*******.com 218.153.*.217 3000 Grafana v11.1.4 pay.******.com 1.214.*.250 30002 Grafana v11.2.0 vpn.**************.co.kr 141.223.*.78 55556 Grafana v11.2.0 an*els.*******.ac.kr 115.41.*.196 6377 Grafana v11.0.1 stbt.****.co.kr 58.234.*.82 9256 Grafana v11.1.0 ze**en.************.net 165.246.*.44 3000 Grafana v11.0.0 a*x.****.ac.kr 210.220.*.72 3000 Grafana v11.1.3 bsm.***********.com Table 1. Examples of identified vulnerable Grafana servers Figure 2. Grafana server vulnerability exposure status in Korea CVE-2024-9264 A feature to execute SQL expressions was added starting from Grafana v11.0.0. In this feature, SQL queries are not properly filtered, so commands containing user input data are passed to the DuckDB CLI, allowing one to obtain the execution results. SQL functions such as read_text, read_csv, and read_blob can be executed, and by providing a local file path as an argument, one can obtain the file content. Figure 3. CVE-2024-9264 PoC Screen (LFI) Using the COPY – TO query, one can create files with the content they want in a system, and shell commands can also be executed by passing additional package installation commands. By writing a file with commands and reading it to execute as a shell command, arbitrary commands can be executed. Figure 4. CVE-2024-9264 PoC Screen (RCE) In a test environment without additional configuration, the vulnerability could be exploited simply by installing the vulnerable versions of Grafana and DuckDB. In environments using Grafana v11.x and DuckDB, the latest updates should be performed immediately. In environments that cannot readily apply patches, mitigation measures can be taken by removing the DuckDB executable or excluding it from the environment variable path. The vulnerability discussed in this post can lead to arbitrary command executions or leakage of important files, so significant damage is expected if it is exploited. Continuing to operate with a vulnerable version may expose the system to attacks, so the latest patches should be applied immediately to prevent damage. In addition to this case, threat actors also attempt to exploit known vulnerabilities in various popular products. Services that are in use should always be kept up to date, and various security settings should be employed to defend against threat actors’ vulnerability scanning and attack attempts. Additionally, it is recommended to regularly check Korean and global security advisories and promptly take action and check for any damage if services are affected. ASEC publishes security advisories on major vulnerabilities on its blog. Also, if a company operating vulnerable services is identified among AhnLab TIP service subscribers, a customized report is provided. This service ensures that the vulnerability information of our clients is not exposed externally and enables the safe operation of services by delivering the necessary information privately to the clients. AhnLab Security Advisory [Security Advisory] Grafana Security Update Advisory (CVE-2024-9264) https://asec.ahnlab.com/en/83991/ Related Links https://nvd.nist.gov/vuln/detail/CVE-2024-9264 https://grafana.com/blog/2024/10/17/grafana-security-release-critical-severity-fix-for-cve-2024-9264/ Gain access to related IOCs and detailed analysis by subscribing to AhnLab TIP . For subscription details, click the banner below.

ASEC Grafana Security Update Advisory (CVE-2024-9264) 2024-10-21

원문 보기

Overview Grafana Labs (https://grafana.com/) has released a security update that addresses a vulnerability in their products. Users of affected products are advised to update to the latest version. Affected Products CVE-2024-9264 Grafana version: 11.X Resolved Vulnerabilities Command injection and local file inclusion vulnerability (CVE-2024-9264) in the SQL Expressions experimental feature in Grafana due to user input being passed to a duckdb query without sufficient validation Vulnerability Patches Vulnerability patches have been made available in the latest updates. Please follow the instructions on the Referenced Sites to update to the latest Vulnerability Patches version. CVE-2024-9264 Security patch only Grafana version: Release 11.0.5+security-01 Grafana version: Release 11.1.6+security-01 Grafana version: Release 11.2.1+security-01 When applying security patches after upgrading to the latest version of Grafana (released on October 1) Grafana version: Release 11.0.6+security-01 Grafana version: Release 11.1.7+security-01 Grafana version: Release 11.2.2+security-01 Referenced Sites [1] CVE-2024-9264 Detail https://nvd.nist.gov/vuln/detail/CVE-2024-9264 [2] Grafana security release: Critical severity fix for CVE-2024-9264 https://grafana.com/blog/2024/10/17/grafana-security-release-critical-severity-fix-for-cve-2024-9264/

자동 추천 장비와 근거 참고용

분류 체계(취약점 종류 CWE → 공격 유형 CAPEC → 공격 기법 ATT&CK) 매핑으로 계산한 후보입니다. 범위가 넓어 관련이 적은 장비가 섞입니다. 해당 장비가 이 공격을 탐지한다고 확인한 것은 아니며, 위의 '살펴볼 장비' 와 단계별 판정에는 쓰지 않습니다.

장비방법근거 경로
서버 접근제어 ACCESS attackCWE-94 > CAPEC-35 > T1564.009 > Command Execution
엔드포인트 탐지·대응 EDR attackCWE-94 > CAPEC-35 > T1027.006 > File Creation
침입방지시스템 IPS attackCWE-94 > CAPEC-35 > T1027.006 > Network Traffic Content
네트워크 탐지·대응 / 패킷 분석 NDR attackCWE-94 > CAPEC-35 > T1027.006 > Network Traffic Content
서버 감사 로그 SYSAUDIT attackCWE-94 > CAPEC-35 > T1027.006 > File Creation
웹 방화벽 WAF attackCWE-94 > CAPEC-35 > T1027.006 > Network Traffic Content

취약점 종류 CWE

영향받는 제품 CPE · 1건
제조사제품영향받는 버전표준 표기CPE
grafanagrafana cpe:2.3:a:grafana:grafana:11.0.0:*:*:*:*:*:*:*
참고 링크 2건
용어 설명 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 로 기계 번역한 설명입니다.