WP STAGING プラグインに認証を回避される脆弱性、ステージングサイトの内容が見えるおそれ
Summary
WP STAGING(バックアップ・復元・移行プラグイン)の4.17.0以前には、ステージングサイトのログイン制限を未認証で回避される脆弱性があります。REST APIのURLに空のrest_routeパラメーターを付けると制限をすり抜け、非公開投稿を含むサイトの表示内容が見えるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
WP STAGING(バックアップ・復元・移行プラグイン)の4.17.0以前には、ステージングサイトのログイン制限を未認証で回避される脆弱性があります。REST APIのURLに空のrest_routeパラメーターを付けると制限をすり抜け、非公開投稿を含むサイトの表示内容が見えるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| renehermiWP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups |
≤ 4.17.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups plugin for WordPress is vulnerable to Authorization Bypass in all versions up to, and including, 4.17.0 via the REQUEST_URI query parameter. This is due to a parser-differential flaw in showLoginForm(): the plugin's isRestUrl() function performs an unanchored strpos() prefix match against the full REQUEST_URI — including the query string — and short-circuits all authorization checks (including isStagingSite() and current_user_can('manage_options')) whenever it detects a REST-like URL, while WordPress core only treats a request as a REST API call when the rest_route query variable is non-empty. This makes it possible for unauthenticated attackers to bypass the staging-site login gate entirely by appending an empty rest_route parameter (e.g. /wp-json/?rest_route=), causing the plugin to skip its gate while core proceeds to render the ordinary theme front end, exposing the full theme-rendered contents of the staging site — including private post content, page-builder output, WooCommerce pages, and site search results over the staging database. This bypass only affects staging sites where the login gate is active, which is the default state for any site cloned by the plugin when the wpstg_is_staging_site option is set to true or the .wp-staging marker file is present in ABSPATH.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web nvd.nist.gov
- web github.com