The WP Data Access – App Builder for Tables, Forms, Dashboards, Charts & Maps plugin for WordPress is vulnerable to Incorrect Authorization leading to Privilege Escalation in all versions up to, and including, 5.5.89 This is due to the plugin's write endpoints (`wpda/app/update`, `wpda/app/delete`, `wpda/app/insert`) passing the attacker-supplied `key` and `val` parameters directly to `$wpdadb->update`, `$wpdadb->delete`, and `$wpdadb->insert` without enforcing the container's row-filter (`defaultWhere`) or per-column allow-list (`isSelected`) restrictions that are correctly applied on the read endpoints. Это позволяет аутентифицированным злоумышленникам с доступом Subscriber-level и выше записывать произвольные строки и столбцы за пределами настраиваемых ограничений, включая перезапись поля user_pass учетной записи администратора WordPress в wp_users, а затем аутентифицироваться как администратор, достигая полного захвата сайта. Эксплуатация требует, чтобы администратор опубликовал Data App, который позволяет записывать транзакции (обновление, удаление или вставка) для Subscriber-level или анонимных пользователей, что является явно рекламируемым вариантом использования плагина.
Эксплуатация злоумышленниками, не прошедшими аутентификацию, требует, чтобы администратор опубликовал Data App, чей rest_api.authorization является «anonymous», и в контейнере которого включена функция transactions.update (или delete/insert). При установке по умолчанию, если она не настроена, уязвимость требует злоумышленников с доступом на уровне абонента и выше.
Показать оригинальное описание (EN)
The WP Data Access – App Builder for Tables, Forms, Dashboards, Charts & Maps plugin for WordPress is vulnerable to Incorrect Authorization leading to Privilege Escalation in all versions up to, and including, 5.5.89 This is due to the plugin's write endpoints (`wpda/app/update`, `wpda/app/delete`, `wpda/app/insert`) passing the attacker-supplied `key` and `val` parameters directly to `$wpdadb->update`, `$wpdadb->delete`, and `$wpdadb->insert` without enforcing the container's row-filter (`defaultWhere`) or per-column allow-list (`isSelected`) restrictions that are correctly applied on the read endpoints. This makes it possible for authenticated attackers, with Subscriber-level access and above, to write to arbitrary rows and columns outside the configured restrictions — including overwriting the `user_pass` field of the WordPress administrator account in `wp_users` — and subsequently authenticate as the administrator, achieving full site takeover. Exploitation requires an administrator to have published a Data App that enables write transactions (update, delete, or insert) for Subscriber-level or anonymous users, which is an explicitly advertised use-case of the plugin. Exploitation by unauthenticated attackers requires that the administrator has published a Data App whose rest_api.authorization is 'anonymous' and whose container has transactions.update (or delete/insert) enabled. On a default installation, where that is not configured, the vulnerability requires attackers with subscriber-level access and above.
Характеристики атаки
Последствия
Строка CVSS v3.1