运营狗 - SQL注入漏洞 2019-04-04T12:42:00+08:00 Typecho https://blog.seo135.com/feed/atom/tag/SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E/ <![CDATA[织梦DedeCMS SQL注入漏洞修复方案]]> https://blog.seo135.com/504.html 2019-04-04T12:42:00+08:00 2019-04-04T12:42:00+08:00 运营狗 https://www.seogo.me 织梦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);
]]>