SQL Injection in SigNoz
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SigNoz 0.130.1 までの製品では、アラート履歴のAPIにおけるルールIDのパラメータが適切に無害化されていないため、認証済みの攻撃者が任意のClickHouseクエリを実行できる脆弱性が見つかりました。保存されたトレース、ログ、メトリクスを読み取られるおそれがあるほか、url関数を悪用してサーバーサイドリクエストフォージェリが行われる可能性もあります。修正版の有無については、最新の情報を確認してください。
SQLインジェクションの脆弱性
SigNoz バージョン0.130.1までのalert-historyエンドポイント
攻撃者が任意のClickHouseクエリを実行可能
最新バージョンへのアップデートと入力のエスケープ処理を導入
URLエンコードされた入力を無効化するフィルタを設定
rule IDパラメータに不正なクォートが含まれていないかログを監視
Original description The description as published by the source.
SigNoz through 0.130.1 contains a SQL injection vulnerability that allows authenticated attackers to execute arbitrary ClickHouse queries by injecting URL-encoded quotes into the rule ID path parameter of the alert-history endpoints. Attackers can manipulate the unsanitized rule ID interpolated into ClickHouse queries to read all stored traces, logs, and metrics, or abuse the url() function to perform server-side request forgery.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory vulncheck.com
- advisory github.com
- package github.com
- report github.com
- web github.com