diff --git "a/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/README.md" "b/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/README.md" new file mode 100644 index 0000000..0a0337f --- /dev/null +++ "b/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/README.md" @@ -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 diff --git "a/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/add_delivery.png" "b/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/add_delivery.png" new file mode 100644 index 0000000..0ad1b46 Binary files /dev/null and "b/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/add_delivery.png" differ diff --git "a/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/local/record.txt" "b/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/local/record.txt" new file mode 100644 index 0000000..d04ca3f --- /dev/null +++ "b/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/local/record.txt" @@ -0,0 +1,13 @@ +Ի DedeCMS-V5.7-UTF8-SP2 2017-03-15 + +ʾ ͨ /data/admin/ver.txt 鿴 + + + +ֹٷṩʷ汾أ ׼ ©汾 + + +0315 汾 admin-admin + + + diff --git "a/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/show_delivery.png" "b/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/show_delivery.png" new file mode 100644 index 0000000..45414ea Binary files /dev/null and "b/DedeCMS/DedeCMS_v5.7_shops_delivery_\345\255\230\345\202\250\345\236\213XSS/show_delivery.png" differ diff --git a/README.md b/README.md index 9e977e6..8aeee98 100644 --- a/README.md +++ b/README.md @@ -10,26 +10,30 @@ Content Management System Vulnerability Hunter ### CMS 漏洞列表 +#### DedeCMS + +- [DedeCMS_v5.7_shops_delivery_存储型XSS](DedeCMS/DedeCMS_v5.7_shops_delivery_存储型XSS) + #### Struts - [S2-048(CVE-CVE-2017-9791)](Struts/S2-048(CVE-CVE-2017-9791)) -##### WordPress +#### WordPress - [WordPress_4.4_SSRF](WordPress/WordPress_4.4_SSRF) - [WordPress_4.7_Info_Disclosure](WordPress/WordPress_4.7_Info_Disclosure) - [WordPress_4.7.0-4.7.1_未授权内容注入](WordPress/WordPress_4.7.0-4.7.1_未授权内容注入) -##### PHPCMS +#### PHPCMS - [PHPCMS_v9.6.0_SQL注入](PHPCMS/PHPCMS_v9.6.0_SQL注入) - [PHPCMS_v9.6.0_任意文件上传](PHPCMS/PHPCMS_v9.6.0_任意文件上传) - [PHPCMS_v9.6.1_任意文件下载](PHPCMS/PHPCMS_v9.6.1_任意文件下载) - [PHPCMS_v9.6.2_任意文件下载](PHPCMS/PHPCMS_v9.6.2_任意文件下载) -##### Joomla! +#### Joomla! - [Joomla_3.7.0_SQL注入(CVE-2017-8917)](Joomla/Joomla_3.7.0_SQL注入(CVE-2017-8917)) - [Joomla_3.4.4-3.6.3_未授权创建特权用户(CVE-2016-8869)](Joomla/Joomla_3.4.4-3.6.3_未授权创建特权用户(CVE-2016-8869)) -##### FineCMS +#### FineCMS - [FineCMS最新版5.0.8两处getshell](https://github.com/SecWiki/CMS-Hunter/tree/master/FineCMS/FineCMS%E6%9C%80%E6%96%B0%E7%89%885.0.8%E4%B8%A4%E5%A4%84getshell) ### 项目维护