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_2.php

PHP · 493 bytes
<?php
function pmpro_upgrade_1_4_2()
{
	/*
		Setting the new use_ssl setting.
		PayPal Website Payments Pro, Authorize.net, and Stripe will default to use ssl.
		PayPal Express and the test gateway (no gateway) will default to not use ssl.
	*/
	$gateway = pmpro_getOption("gateway");
	if($gateway == "paypal" || $gateway == "authorizenet" || $gateway == "stripe")
		pmpro_setOption("use_ssl", 1);
	else
		pmpro_setOption("use_ssl", 0);

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