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

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

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

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

工具目录

分类

查看所有分类
Loading categories
cve-2023-1874 — Python 漏洞利用脚本,针对 CVE-2023-1874,即 WP Data Access WordPress 插件中的权限提升漏洞。允许经过身份验证的低权限用户提升其角色权限。 | Kitploit
工具/GitHubGitHub/thomas-osgood/cve-2023-1874
权限提升漏洞分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育
GitHubthomas-osgood/cve-2023-1874

cve-2023-1874

Python 漏洞利用脚本,针对 CVE-2023-1874,即 WP Data Access WordPress 插件中的权限提升漏洞。允许经过身份验证的低权限用户提升其角色权限。

查看仓库
211年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2023-1874

免责声明

此脚本仅设计用于白帽子和教育目的。任何将此脚本用于未经授权测试或不属于您的设备的行为,均由您自行承担责任。此脚本作者对您使用此脚本所做的任何事情不承担任何责任。您的行为由您自己负责。

描述

CVE-2023-1874 是 WP Data Access 插件 5.3.7 及更早版本中的一个漏洞。攻击者可以在更新个人资料时提供 wpda_role[] 选项来提升权限。

来自 NIST:

root@kitploit:~
The WP Data Access plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 5.3.7. This is due to a lack of authorization checks on the multiple_roles_update function. This makes it possible for authenticated attackers, with minimal permissions such as a subscriber, to modify their user role by supplying the 'wpda_role[]' parameter during a profile update. This requires the 'Enable role management' setting to be enabled for the site.

参考

  • WPScan.com
  • NIST

脚本执行

root@kitploit:~
# not necessary.
#
# these can be manually input as arguments to the script.
#
# theses exports are for ease-of-use.
export TARGETIP=localhost
export TARGETPORT=80
export WPPATH=wordpress
export WPUSERNAME=myuser
export WPPASSWORD=mypass

python3 cve20231874.py $TARGETIP $TARGETPORT -u $WPUSERNAME -p $WPPASSWORD --path $WPPATH
下载工具