خلاصه دفاعی
YesWiki 4.6.0 before 4.7.0 and 5.0.0-alpha1 before 5.0.0-alpha4 contains an unauthenticated SQL injection vulnerability in SearchManager::prepareSearchRequest(). Field names from the query and searchfields parameters of the public Bazar entries search API are placed in a backtick-quoted alias escaped only with mysqli_real_escape_string. Attackers can supply a backtick to inject subqueries, reading data such as user password hashes or exhausting database threads with SLEEP().
نسخهها
- yeswiki: 4.6.0 / < 4.7.0 [affected]
- yeswiki: 4.7.0 [unaffected]
- yeswiki: 5.0.0-alpha1 / < 5.0.0-alpha4 [affected]
- yeswiki: 5.0.0-alpha4 [unaffected]
CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
اقدام دفاعی
نسخه، exposure و مسیرهای ورودی را با Advisory رسمی تطبیق دهید و fix یا mitigation سازنده را اجرا کنید. این صفحه PoC یا دستور بهرهبرداری ارائه نمیکند.