c3p0 may be exploited by a Billion Laughs Attack when loading XML configuration
注入与走私 / XML Entity Expansion / #509315
该报告还没有中文解读。
原文摘录
摘自原文(4184 字符中的一小部分)
> NOTE! Thanks for submitting a report! Please replace *all* the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to triage and respond quickly, so be sure to take your time filling out the report! Please refer to the **[example on …
原文中的代码
import com.mchange.v2.c3p0.cfg.C3P0ConfigXmlUtils;
import java.io.InputStream;
public class C3P0PoC {
public static void main(String[] args) throws Exception {
String payload = args[0];
InputStream inputStream = C3P0PoC.class.getResourceAsStream(payload); …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Central Security Project 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @amassey · 版权归作者与 Central Security Project 所有