SQL Injection in thorsten/phpmyfaq
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.
phpMyFAQのOAuthトークン処理に、SQLインジェクションの脆弱性が見つかりました。Azure ADアカウントの表示名やJWTのクレームに細工を施した認証済みの攻撃者が、任意のSQLを実行できるおそれがあります。影響を受けるのは4.1.2より前の版で、4.1.2で修正されています。
phpMyFAQのCurrentUser::setTokenDataにおけるSQLインジェクション脆弱性です。
phpMyFAQのバージョン4.1.2未満。
攻撃者が任意のSQLを実行可能になるため、システム全体が危険にさらされます。
脆弱性はバージョン4.1.2で修正されているため、ソフトウェアをこのバージョンにアップデートします。
情報なし
Azure ADアカウントやJWTクレーム内にSQLメタ文字が含まれるアカウントを確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| composerthorsten/phpmyfaq |
< 4.1.2→ 4.1.2 |
4.1.2 |
| composerphpmyfaq/phpmyfaq |
< 4.1.2→ 4.1.2 |
4.1.2 |
| Packagistthorsten/phpmyfaq |
< 4.1.2→ 4.1.2 |
4.1.2 |
| Packagistphpmyfaq/phpmyfaq |
< 4.1.2→ 4.1.2 |
4.1.2 |
| thorstenphpmyfaq |
< 4.1.2→ 4.1.2 |
4.1.2 |
Original description The description as published by the source.
phpMyFAQ before 4.1.2 contains a sql injection vulnerability in CurrentUser::setTokenData that allows authenticated attackers to execute arbitrary SQL by injecting malicious OAuth token claims. Attackers with Azure AD accounts containing SQL metacharacters in display names or JWT claims can break out of string literals and execute arbitrary database queries.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web github.com