Exploit database

GH-c3c89120e2a52c8d61f777b438101247

cybfar/cve-2023-23488-pmpro-2.8

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-23488

6 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files127Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

plugins/paid-memberships-pro/includes/lib/Braintree/lib/Braintree/GrantedPaymentInstrumentUpdate.php

PHP · 2,082 bytes
<?php
namespace Braintree;

/**
 * Braintree GrantedPaymentInstrumentUpdate module
 *
 * @package    Braintree
 * @category   Resources
 */

/**
 * Manages Braintree GrantedPaymentInstrumentUpdate 
 *
 * <b>== More information ==</b>
 *
 *
 * @package    Braintree
 * @category   Resources
 *
 * @property-read string $grantOwnerMerchantId
 * @property-read string $grantRecipientMerchantId
 * @property-read string $paymentMethodNonce
 * @property-read string $token
 * @property-read string $updatedFields
 */
class GrantedPaymentInstrumentUpdate extends Base
{
    /**
     *  factory method: returns an instance of GrantedPaymentInstrumentUpdate
     *  to the requesting method, with populated properties
     *
     * @ignore
     * @return GrantedPaymentInstrumentUpdate
     */
    public static function factory($attributes)
    {
        $instance = new self();
        $instance->_initialize($attributes);
        return $instance;
    }

    /* instance methods */

    /**
     * sets instance properties from an array of values
     *
     * @access protected
     * @param array $GrantedPaymentInstrumentAttribs array of grantedPaymentInstrumentUpdate data
     * @return void
     */
    protected function _initialize($grantedPaymentInstrumentUpdateAttribs)
    {
        // set the attributes
        $this->_attributes = $grantedPaymentInstrumentUpdateAttribs;

        $paymentMethodNonce = isset($grantedPaymentInstrumentUpdateAttribs['paymentMethodNonce']) ?
            GrantedPaymentInstrumentUpdate::factory($grantedPaymentInstrumentUpdateAttribs['paymentMethodNonce']) :
            null;
        $this->_set('paymentMethodNonce', $paymentMethodNonce);
    }

    /**
     * create a printable representation of the object as:
     * ClassName[property=value, property=value]
     * @return string
     */
    public function  __toString()
    {
        return __CLASS__ . '[' .
                Util::attributesToString($this->_attributes) . ']';
    }
}
class_alias('Braintree\GrantedPaymentInstrumentUpdate', 'Braintree_GrantedPaymentInstrumentUpdate');