楼主:
lueichun (no anonymous)
2020-08-19 18:14:12我最近开始学习使用fortify来扫描程式的弱点,
其中扫描到一个弱点是system information leak internal
是出现在使用apache.log4j.Logger的地方,只要用到
private final static Logger logger = Logger.getLogger(Test.class);
logger.error("xxx method is error",e);
logger.info("xxx method is executing");
就会出现以上的弱点。
或是使用request.getSession().setAttribute("test",testStr),也会跳出
trust boundary violation弱点。