作者:
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弱點。