-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] DedeCMS_v5.7_shops_delivery_存储型XSS
- Loading branch information
Showing
5 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# DedeCMS_v5.7_shops_delivery_存储型XSS | ||
|
||
## Affected Version | ||
|
||
DedeCMS-V5.7-UTF8-SP2 ( 发布日期 2017-03-15 ) | ||
|
||
下载地址: 链接: https://pan.baidu.com/s/1bprjPx1 密码: mwdq | ||
|
||
|
||
## PoC | ||
|
||
该漏洞比较鸡肋,需要登录 管理员后台通过 添加配送方式 功能 才能触发, 添加后在前后台都会触发 存储型 XSS。 | ||
|
||
之所以会触发是因为在系统对 管理员输入的 配送方式-描述字段(des)在入库前只进行了 addslashes 转义特殊字符处理,其实这没毛病。 | ||
|
||
重要的是取出数据库的数据输出到页面前没进行 HTML 实体编码处理直接输出导致最终的 XSS。 | ||
|
||
测试: | ||
|
||
1. 后台添加 配送方式 | ||
|
||
![](add_delivery.png) | ||
|
||
2. 添加成功后直接展示配送方式列表,触发 XSS | ||
|
||
![](show_delivery.png) | ||
|
||
此外,这个 XSS 在前台用户购买东西选择配送方式的时候也会触发。 | ||
|
||
## References | ||
|
||
1. https://www.seebug.org/vuldb/ssvid-92863 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
DedeCMS/DedeCMS_v5.7_shops_delivery_存储型XSS/local/record.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
���Ի��� DedeCMS-V5.7-UTF8-SP2�� 2017-03-15 ������ | ||
|
||
��ʾ�������� ����ͨ�� /data/admin/ver.txt �鿴 | ||
|
||
|
||
|
||
���ֹٷ������ṩ��ʷ�汾���أ� ��������� ©���汾 | ||
|
||
|
||
0315 �汾 admin-admin | ||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters