WP Express Checkout-та алғыс бетіндегі жүктеу сілтемелерінде сақталатын XSS
WP Express Checkout
Қысқаша
Аутентификациясыз шабуылдаушылар арнайы жасалған алғыс бетінің URL мекенжайы арқылы келушілердің браузерлерінде скрипттерді орындай алады.
Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.
Түзету
Түзетілген нұсқа көрсетілмеген.
Зардап шегетін нұсқалар
| WP Express Checkout (Fast Payments via PayPal & Stripe) | дейін 2.5.5 |
Түпнұсқа сипаттама (EN)
Түпнұсқа тақырып: WP Express Checkout stored XSS in thank-you page download links
The WP Express Checkout plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpec_data' (and 'data') parameters in versions up to, and including, 2.5.5 This is due to insufficient input sanitization and output escaping on the order item name, which is accepted from an unauthenticated AJAX request (wpec_process_empty_payment / wpec_pp_capture_order), persisted as an order item via $order->add_item() into post meta, and later rendered unescaped by Order_Tags_Html::download_link() through a sprintf() call that lands the value directly in an HTML body context used by the [wpec_ty field=download_link] / [wpec_ty_downloads] shortcodes on the thank-you page. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses the crafted thank-you URL.
Сілтемелер
- Басқаwww.wordfence.com/threat-intel/vulnerabilities/id/efb0d5da-d90a-4b70-b693-fde511968a0d?source=cve
- Басқаplugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.5/public/includes/class-order-tags-html.php#L191
- Басқаplugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.5/includes/class-payment-processor.php#L299
- Басқаplugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.5/includes/class-payment-processor-free.php#L35
- Басқаplugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.5/includes/class-paypal-button-ajax-handler.php#L115
- Басқаplugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.5/includes/class-payment-processor.php#L125
- Басқаdownloads.wordpress.org/plugin/wp-express-checkout.2.5.6.zip