Skip to content

SQL Injection in thorsten/phpmyfaq

CVE-2026-46359 First seen on SecPulse

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で修正されています。

What is the problem

phpMyFAQのCurrentUser::setTokenDataにおけるSQLインジェクション脆弱性です。

Affected scope

phpMyFAQのバージョン4.1.2未満。

Severity

攻撃者が任意のSQLを実行可能になるため、システム全体が危険にさらされます。

How to fix

脆弱性はバージョン4.1.2で修正されているため、ソフトウェアをこのバージョンにアップデートします。

Workaround

情報なし

Detection

Azure ADアカウントやJWTクレーム内にSQLメタ文字が含まれるアカウントを確認してください。

Affected packages

PackageAffected → Fixed
composerthorsten/phpmyfaq
< 4.1.2→ 4.1.2
composerphpmyfaq/phpmyfaq
< 4.1.2→ 4.1.2
Packagistthorsten/phpmyfaq
< 4.1.2→ 4.1.2
Packagistphpmyfaq/phpmyfaq
< 4.1.2→ 4.1.2
thorstenphpmyfaq
< 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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details