Plugin Directory

Changeset 2969456


Ignore:
Timestamp:
09/20/2023 09:33:45 PM (3 years ago)
Author:
checkfront
Message:

Fix CSRF vulnerability

Location:
checkfront-wp-booking/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • checkfront-wp-booking/trunk/checkfront.php

    r2814758 r2969456  
    55Plugin URI: https://www.checkfront.com/wordpress
    66Description: Connects Wordpress to the Checkfront Online Booking System.  Checkfront allows Tour, Activity, Accommodation, and Rental businesses to manage their availability, track inventories, centralize reservations, and process online payments. This plugin connects your WordPress site to your Checkfront account, and provides a powerful real-time booking interface – right within your existing website.
    7 Version: 3.6
     7Version: 3.7
    88Author: Checkfront Inc.
    99Author URI: https://www.checkfront.com/
    10 Copyright: 2008 - 2022 Checkfront Inc
     10Copyright: 2008 - 2023 Checkfront Inc
    1111*/
    1212
  • checkfront-wp-booking/trunk/readme.txt

    r2814758 r2969456  
    22
    33Contributors: checkfront
    4 Stable tag: 3.6
     4Stable tag: 3.7
    55Tags: Booking, Booking System, Reservation, Reservation System, Online Booking, Booking Engine, Tours, Tour Operator, Booking Plugin, Reservation Plugin, Booking Software, Reservation Payment System, Activity Booking, Rental Booking, Reservation Payments, Tour Booking, Passbook, Availability, Payments, Bookings
    66Requires at least: 2.0
    77License: GPLv2 or later
    8 Tested up to: 6.1
     8Tested up to: 6.3.1
    99
    1010The Premier Wordpress Plugin for Easy Online Booking of Tours, Activities, Rentals & Accommodations.
     
    7373### Changelog
    7474
     75* *September 19th 2023:*
     76  * Fixed CSRF vulnerability
    7577* *November 2nd 2022:*
    7678  * Wordpress 6.1 compatibility
  • checkfront-wp-booking/trunk/setup.php

    r2814758 r2969456  
    11<?php
    2 if (!empty($_POST['checkfront_host'])) {
     2if (!empty($_POST['checkfront_host']) && !empty($_POST['_wpnonce'])) {
     3    //prevent CSRF attacks
     4    if (!wp_verify_nonce($_POST['_wpnonce'], 'update_checkfront_host')) {
     5        exit;
     6    }
     7
    38    if ($host = $Checkfront->valid_host($_POST['checkfront_host'])) {
    49        update_option('checkfront_host', trim($host));
     
    3742    <br style="clear: both" />
    3843    <form method="post" action="">
     44        <?php wp_nonce_field('update_checkfront_host'); ?>
    3945        <div class="metabox-holder meta-box-sortables pointer">
    4046            <div class="postbox">
Note: See TracChangeset for help on using the changeset viewer.