运营狗 - SQL注入漏洞 https://blog.seo135.com/tag/SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E/ zh-CN Thu, 04 Apr 2019 12:42:00 +0800 Thu, 04 Apr 2019 12:42:00 +0800 织梦DedeCMS SQL注入漏洞修复方案 https://blog.seo135.com/504.html https://blog.seo135.com/504.html Thu, 04 Apr 2019 12:42:00 +0800 运营狗 织梦DedeCMS SQL注入漏洞

漏洞

dedecms SQL注入漏洞

简介

DedeCMS V5.7 SP2正式版(2018-01-09) dedecms的/dedecms/member/album_add.php文件中,对输入参数mtypesid未进行int整型转义,导致SQL注入的发生。

路径

/member/album_add.php

修复

打开 /member/album_add.php 找到 大概在221行

//保存到主表

在它下面加入

$mtypesid = intval($mtypesid);
]]>
0 https://blog.seo135.com/504.html#comments https://blog.seo135.com/feed/tag/SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E/