目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2021-24545 PoC — WordPress 插件 跨站脚本漏洞

来源
关联漏洞
标题: WordPress 插件 跨站脚本漏洞 (CVE-2021-24545)
Description:WordPress 插件是WordPress开源的一个应用插件。 WordPress 插件 WP HTML Author Bio 1.2.0之前版本存在跨站脚本漏洞,该漏洞源于软件对于用户的HTML缺少有效的验证与转义,允许他们使用恶意JavaScript代码,当任何人访问该用户在前端的帖子时,恶意代码将被执行。因此,角色低至作者的用户可以对用户执行跨站点脚本攻击,这可能导致管理员查看相关帖子时发生权限升级的情况。
Description
The plugin does not sanitise the HTML allowed in the Bio of users, allowing them to use malicious JavaScript code, which will be executed when anyone visit a post in the frontend made by such user. As a result, user with a role as low as author could perform Cross-Site Scripting attacks against users, which could potentially lead to privilege escalation when an admin view the related post/s.
介绍
# CVE-2021-24545

WP HTML Author Bio <= 1.2.0 - Author+ Stored Cross-Site Scripting

The plugin does not sanitise the HTML allowed in the Bio of users, allowing them to use malicious JavaScript code, which will be executed when anyone visit a post in the frontend made by such user. As a result, user with a role as low as author could perform Cross-Site Scripting attacks against users, which could potentially lead to privilege escalation when an admin view the related post/s.

# Proof of Concept

Login as an author, add the following payload in the Biographical Info field of the profile:
```<script>alert(/XSS/)</script>``` 

Then view post made by the author to trigger the XSS 

# Video POC:
https://www.youtube.com/watch?v=fhzJZ5hSI-g
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →