Enviar #98522: 禅道项目管理系统开源版18.1存在后台注入漏洞información

Título禅道项目管理系统开源版18.1存在后台注入漏洞
Descripción漏洞成因:在convert目录下的control.php文件中的importNotice方法,此方法以post的方式接受一个名字为dbName的参数,当这个参数传入的时候,会传递到一个名为 dbExists() 的函数,我们继续跟进,在这个函数中,$sql = "SHOW DATABASES like '{$this->config->db->name}'"; return $this->dbh->query($sql)->fetch(); 这两行代码对我们传入的参数没有任何过滤,故会造成sql注入漏洞 漏洞地址:127.0.0.1/zentao/www/index.php?m=convert&f=importNotice 在以post方式提交,参数名为dbName ,我们可以使用 dbName=a';select sleep(5)# 来测试sql注入的存在 接着我们也可以使用sqlmap来进行测试,将数据包放入sqlmap目录下的1.txt ,然后命令注入 python sqlmap.py -r 1.txt 即可进行注入。
Fuente⚠️ https://www.zentao.net/
Usuario
 p1nk (UID 40417)
Sumisión2023-03-06 16:12 (hace 4 años)
Moderación2023-03-08 19:12 (2 days later)
EstadoDuplicado
Entrada de VulDB219010 [EasyCorp ZenTao PMS hasta 18.0.beta1 inyección SQL]
Puntos0

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!