Плагин Optima Express IDX для WordPress уязвим для Privilege Escalation во всех версиях вплоть до 8.7.5. This is due to the `provisionBlogCredentials()` function in `iHomefinderAdmin.php` being reachable via the `wp_ajax_nopriv_ihf_clear_cache` AJAX action — through the call chain `iHomefinderAjaxHandler::clearCache()` → `activateAuthenticationToken()` → `getAuthenticationInfo()` → `provisionBlogCredentials()` — with no capability check, nonce verification, or ownership validation, and the function unconditionally calling `$user->set_role('author')` on whichever WordPress account matches the hard-coded login `optima-express` via `get_user_by('login', 'optima-express')`. Это позволяет незарегистрированным злоумышленникам увеличить предварительно зарегистрированную учетную запись optima-express до роли Author, получив возможности publish_posts, upload_files и edit_published_posts, включая доступ к собственной конечной точке плагина /wp-json/optima-express/v1/blog-post` REST.
Эксплуатация требует открытой регистрации пользователя для включения на целевом сайте, и злоумышленник должен зарегистрировать имя пользователя optima-express, прежде чем плагин получит возможность предоставить этот логин для своей собственной учетной записи интеграции.
Показать оригинальное описание (EN)
The Optima Express IDX plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 8.7.5. This is due to the `provisionBlogCredentials()` function in `iHomefinderAdmin.php` being reachable via the `wp_ajax_nopriv_ihf_clear_cache` AJAX action — through the call chain `iHomefinderAjaxHandler::clearCache()` → `activateAuthenticationToken()` → `getAuthenticationInfo()` → `provisionBlogCredentials()` — with no capability check, nonce verification, or ownership validation, and the function unconditionally calling `$user->set_role('author')` on whichever WordPress account matches the hard-coded login `optima-express` via `get_user_by('login', 'optima-express')`. This makes it possible for unauthenticated attackers to escalate a pre-registered `optima-express` account to the Author role, gaining `publish_posts`, `upload_files`, and `edit_published_posts` capabilities, including access to the plugin's own `/wp-json/optima-express/v1/blog-post` REST endpoint. Exploitation requires open user registration to be enabled on the target site, and the attacker must register the `optima-express` username before the plugin has had the opportunity to provision that login for its own integration account.
Характеристики атаки
Последствия
Строка CVSS v3.1