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/IbanBankAccount.php

PHP · 1,415 bytes
<?php
namespace Braintree;

/**
 * Braintree IbanBankAccount module
 * PHP Version 5
 *
 * @package   Braintree
 *
 * @property-read string $maskedIban
 * @property-read string $bic
 * @property-read string $ibanCountry
 * @property-read string $description
 * @property-read string $ibanAccountNumberLast4
 */
class IbanBankAccount extends Base
{
    /**
     * create a printable representation of the object as:
     * ClassName[property=value, property=value]
     * @ignore
     * @return string
     */
    public function  __toString()
    {
        return __CLASS__ . '[' .
                Util::attributesToString($this->_attributes) . ']';
    }

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

    /**
     *  factory method: returns an instance of IbanBankAccount
     *  to the requesting method, with populated properties
     * @ignore
     * @return IbanBankAccount
     */
    public static function factory($attributes)
    {
        $instance = new self();
        $instance->_initialize($attributes);
        return $instance;
    }
}
class_alias('Braintree\IbanBankAccount', 'Braintree_IbanBankAccount');