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 files19

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

plugins/paid-memberships-pro/includes/updates/upgrade_1_4_8.php

PHP · 465 bytes
<?php
function pmpro_upgrade_1_4_8()
{
	/*
		Adding a billing_country field to the orders table.		
	*/

	global $wpdb;
	$wpdb->hide_errors();
	$wpdb->pmpro_membership_orders = $wpdb->prefix . 'pmpro_membership_orders';

	//billing_country
	$sqlQuery = "
		ALTER TABLE  `" . $wpdb->pmpro_membership_orders . "` ADD  `billing_country` VARCHAR( 128 ) NOT NULL AFTER  `billing_zip`
	";
	$wpdb->query($sqlQuery);

	pmpro_setOption("db_version", "1.48");
	return 1.48;
}