{"id":57439,"date":"2024-06-12T18:20:17","date_gmt":"2024-06-12T15:20:17","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/179057\/xmb191206-xss.txt"},"modified":"2024-06-12T18:20:17","modified_gmt":"2024-06-12T15:20:17","slug":"xmb-1-9-12-06-cross-site-scripting","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/xmb-1-9-12-06-cross-site-scripting\/","title":{"rendered":"XMB 1.9.12.06 Cross Site Scripting"},"content":{"rendered":"<p># Exploit Title: Persistent XSS in XMB 1.9.12.06<br \/># Date: 06\/12\/2024<br \/># Exploit Author: Chokri Hammedi<br \/># Vendor Homepage: https:\/\/www.xmbforum2.com\/<br \/># Software Link: https:\/\/www.xmbforum2.com\/download\/XMB-1.9.12.06.zip<br \/># Version: 1.9.12.06<br \/># Tested on: Windows XP<br \/># CVE: N\/A<\/p>\n<p>## Vulnerability Details<\/p>\n<p>A persistent (stored) XSS vulnerability was discovered in XMB 1.9.12.06.<br \/>The vulnerability allows an attacker to inject malicious JavaScript code<br \/>into a template or specific fields. This payload is stored on the server<br \/>and executed in the browser of any user who visits the forum, leading to<br \/>potential session hijacking, data theft, and other malicious activities.<\/p>\n<p>### XSS in Template<\/p>\n<p>An attacker can inject malicious JavaScript code into a template:<\/p>\n<p>1. Login as Admin: Access the XMB Forum with admin privileges.<br \/>2. Navigate to the Administration Panel: Go to `\/cp.php`, then in &#8220;Look &amp;<br \/>Feel&#8221; select &#8220;Templates&#8221;. This will go to `\/cp2.php?action=templates`.<br \/>Select the &#8220;footer&#8221; template and click edit.<br \/>3. Enter Payload: Add the XSS payload in the footer template:<\/p>\n<p>&lt;script&gt;alert(&#8216;XSS&#8217;);&lt;\/script&gt;<\/p>\n<p>4. Save the Change: Click &#8220;Submit Changes&#8221;.<br \/>5. Trigger the Payload: The XSS payload will trigger anywhere the footer<br \/>template is rendered.<\/p>\n<p>### XSS in News Ticker<\/p>\n<p>An attacker can inject malicious JavaScript code into the News Ticker field<br \/>of the Front Page Options:<\/p>\n<p>1. Login as Admin: Access the XMB Forum with admin privileges.<br \/>2. Navigate to the Administration Panel: Go to `\/cp.php`, then in<br \/>&#8220;Settings&#8221; go to &#8220;Front Page Options&#8221;.<br \/>3. Enter Payload: Add the XSS payload in the &#8220;News in Newsticker&#8221; field:<\/p>\n<p>&lt;img src=x onerror=alert(1)&gt;<\/p>\n<p>4. Save the Change: Click &#8220;Submit Changes&#8221;.<br \/>5. Trigger the Payload: The XSS payload will trigger anywhere the News<br \/>Ticker is displayed eg, home page<\/p>\n","protected":false},"excerpt":{"rendered":"<p># Exploit Title: Persistent XSS in XMB 1.9.12.06# Date: 06\/12\/2024# Exploit Author: Chokri Hammedi# Vendor Homepage: https:\/\/www.xmbforum2.com\/# Software Link: https:\/\/www.xmbforum2.com\/download\/XMB-1.9.12.06.zip# Version: 1.9.12.06# Tested on: Windows XP# CVE: N\/A ## Vulnerability Details A persistent (stored) XSS vulnerability was discovered in XMB 1.9.12.06.The vulnerability allows an attacker to inject malicious JavaScript codeinto a template or specific fields. &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-57439","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=57439"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57439\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=57439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=57439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=57439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}