关联漏洞
标题: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
文件快照
[4.0K] /data/pocs/62dab8e214090a34be4b1509cef041450accfd00
└── [ 744] README.md
0 directories, 1 file
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮件到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对 POC 代码进行快照,为了长期维护,请考虑为本地 POC 付费/捐赠,感谢您的支持。