Dear Developer,
We have identified multiple SQL injection vulnerabilities and file operation vulnerabilities in Guns. The specific function call stacks are provided below. Please address these issues as soon as possible. The primary cause of the SQL injection vulnerabilities is the lack of filtering for $ content in MyBatis' Mapper.xml.
Best regards,
========================================
[1] Found sink method:
<com.stylefeng.guns.common.persistence.dao.LoginLogMapper: java.util.List getOperationLogs(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)>
(1) Found vul call chain:
<com.stylefeng.guns.modular.system.controller.LogController: java.lang.Object list(java.lang.String,java.lang.String,java.lang.String,java.lang.Integer)>
<com.stylefeng.guns.common.persistence.dao.LoginLogMapper: java.util.List getOperationLogs(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)>
========================================
[2] Found sink method:
<java.io.File: void <init>(java.lang.String)>
(1) Found vul call chain:
<com.stylefeng.guns.modular.system.controller.KaptchaController: void renderPicture(java.lang.String,javax.servlet.http.HttpServletResponse)>
<com.stylefeng.guns.core.util.FileUtil: byte[] toByteArray(java.lang.String)>
<java.io.File: void <init>(java.lang.String)>
========================================
[3] Found sink method:
<com.stylefeng.guns.common.persistence.dao.LoginLogMapper: java.util.List getLoginLogs(java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)>
(1) Found vul call chain:
<com.stylefeng.guns.modular.system.controller.LoginLogController: java.lang.Object list(java.lang.String,java.lang.String,java.lang.String)>
<com.stylefeng.guns.common.persistence.dao.LoginLogMapper: java.util.List getLoginLogs(java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)>
guns Vulnerability Alerts
Dear Developer,
We have identified multiple SQL injection vulnerabilities and file operation vulnerabilities in Guns. The specific function call stacks are provided below. Please address these issues as soon as possible. The primary cause of the SQL injection vulnerabilities is the lack of filtering for
$content in MyBatis' Mapper.xml.Best regards,
========================================
[1] Found sink method:
<com.stylefeng.guns.common.persistence.dao.LoginLogMapper: java.util.List getOperationLogs(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)>
(1) Found vul call chain:
<com.stylefeng.guns.modular.system.controller.LogController: java.lang.Object list(java.lang.String,java.lang.String,java.lang.String,java.lang.Integer)>
<com.stylefeng.guns.common.persistence.dao.LoginLogMapper: java.util.List getOperationLogs(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)>
========================================
[2] Found sink method:
<java.io.File: void <init>(java.lang.String)>
(1) Found vul call chain:
<com.stylefeng.guns.modular.system.controller.KaptchaController: void renderPicture(java.lang.String,javax.servlet.http.HttpServletResponse)>
<com.stylefeng.guns.core.util.FileUtil: byte[] toByteArray(java.lang.String)>
<java.io.File: void <init>(java.lang.String)>
========================================
[3] Found sink method:
<com.stylefeng.guns.common.persistence.dao.LoginLogMapper: java.util.List getLoginLogs(java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)>
(1) Found vul call chain:
<com.stylefeng.guns.modular.system.controller.LoginLogController: java.lang.Object list(java.lang.String,java.lang.String,java.lang.String)>
<com.stylefeng.guns.common.persistence.dao.LoginLogMapper: java.util.List getLoginLogs(java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)>