flowintelで、移行処理を通じて任意のSQLを実行される脆弱性
Summary
flowintelの4.0.0より前のバージョンには、データベース移行スクリプトにSQLインジェクションの脆弱性があります。事前にデータベースへ書き込める攻撃者が悪意のある識別子を仕込むと、アップグレード時の移行で任意のSQLが実行され、情報の漏えいや改ざん、削除につながるおそれがあります。修正版は4.0.0以降です。
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.
flowintelの4.0.0より前のバージョンには、データベース移行スクリプトにSQLインジェクションの脆弱性があります。事前にデータベースへ書き込める攻撃者が悪意のある識別子を仕込むと、アップグレード時の移行で任意のSQLが実行され、情報の漏えいや改ざん、削除につながるおそれがあります。修正版は4.0.0以降です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| flowintelflowintel |
≤ 4.0.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
A SQL injection vulnerability exists in a database migration script in flowintel.
The migration process reads stored connector identifier values from the database and interpolates them directly into SQL statements without parameterization. An attacker who has previously written a malicious identifier value into the affected tables can cause arbitrary SQL execution when the migration is subsequently run during an application upgrade.
- Requires prior write access to the database to plant a malicious identifier value
- Triggered automatically during a migration or upgrade operation
- Can result in unauthorized data disclosure, modification, or deletion
Affected versions: flowintel prior to 4.0.0
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com