जमा करें #1071566: alexander-torosh yona-cms bd067c2248f3aa74cef3c017f6606b8b7422f514 SQL Injectionजानकारी

शीर्षकalexander-torosh yona-cms bd067c2248f3aa74cef3c017f6606b8b7422f514 SQL Injection
विवरण`Admin\Controller\IndexController::loginAction()` builds the authentication query by concatenating the raw POST field `login` into a PHQL condition string — `AdminUser::findFirst("login='$login'")` — so the submitted value is parsed as query syntax rather than as a string literal. The endpoint is the CMS login and is reachable anonymously by design: `admin/index` is registered for the `guest` role with `*` in `app/config/acl.php:7`, and the ACL plugin therefore lets the request through. The only input filtering is Phalcon's `'string'` filter (tag stripping) plus a `PresenceOf` form validator, neither of which removes quotes, `OR` or `LIKE`. Because the branch that consumes the returned row calls `password_verify()` only when a row is found, an injected predicate that selects a row and one that selects none differ by one bcrypt evaluation (~50–100 ms for the seeded `$2y$10$` hashes), which is a usable blind oracle. With it, the `password`, `login`, `email` and `role` columns of `admin_user` can be read character by character.
स्रोत⚠️ https://github.com/alexander-torosh/yona-cms/issues/108
उपयोगकर्ता
 Wuwj (UID 101900)
सबमिशन03/11/2026 01:00 PM (24 दिन पहले)
संयम27/11/2026 09:27 PM (24 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि445010 [alexander-torosh yona-cms तक 0.5.0 Admin Login Endpoint IndexController.php loginAction SQL इंजेक्शन]
अंक20

Do you know our Splunk app?

Download it now for free!