| 标题 | olivier-ls PHP-FTS 0.1 Incorrect Comparison |
|---|
| 描述 | PHP-FTS (ols/php-fts) before an unreleased fix uses loose comparison in `SearchEngine::matchesSingleFilter()` for the `=`, `!=`, `in`, `not in`, `contains`, and `not contains` filter operators (PHP `==`/`!=` and `in_array(..., strict: false)`). This allows PHP type juggling: a non-empty string field value compares equal to boolean `true`, so an attacker-supplied filter value such as `[true]` matches every document with a non-empty string field, bypassing filters that applications use for tenant or ownership isolation and disclosing other tenants'/users' indexed documents.
Reproduction: https://github.com/sumo166/CVE-apply/blob/main/olivier-ls/php-fts/SearchEngine%20matchesSingleFilter%20Loose%20Comparison%20Filter%20Bypass%20(CWE-697)_cve.md |
|---|
| 来源 | ⚠️ https://github.com/olivier-ls/php-fts/issues/2 |
|---|
| 用户 | summmm (UID 69690) |
|---|
| 提交 | 2026-08-23 07時53分 (28 日前) |
|---|
| 管理 | 2026-09-19 11時01分 (27 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 407916 [olivier-ls PHP-FTS 直到 1.1.3 Filter Matching src/SearchEngine.php matchesSingleFilter 权限提升] |
|---|
| 积分 | 20 |
|---|