Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsThere is no fixed version for net.mingsoft:ms-mcms
.
Affected versions of this package are vulnerable to Information Exposure via a crafted script to the password
parameter. An attacker can obtain sensitive information by sending a specially crafted request to the affected parameter.
@PostMapping(value = "/checkLogin")
@ResponseBody
public ResultData checkLogin(@ModelAttribute @ApiIgnore ManagerEntity manager, HttpServletRequest request, HttpServletResponse response) {
LOG.debug("basic checkLogin");
//验证码
if (!(checkRandCode())) {
return ResultData.build().error(getResString("err.error", this.getResString("rand.code")));
}
if(loginStrategy.login(manager)){
return ResultData.build().success();
}else {
return ResultData.build().error(getResString("err.error", this.getResString("manager.name.or.password")));
}
}
}
protected boolean checkRandCode( String param) {
if(!checkCode){
return true;
}
String sessionCode = this.getRandCode();
String requestCode = BasicUtil.getString(param);
LOG.debug("session_code:" + sessionCode + " requestCode:" + requestCode);
if (sessionCode.equalsIgnoreCase(requestCode)) {
return true;
}
return false;
}