开发Java审计辅助脚本
2022-11-28 14:10:19 Author: 仙友道(查看原文) 阅读量:21 收藏

Dependency-Check 是一种软件组合分析 (SCA) 工具,它会检测项目依赖项中包含的公开披露的漏洞。

DependencyCheck下载地址:

  • https://github.com/jeremylong/DependencyCheck/releases/download/v7.3.2/dependency-check-7.3.2-release.zip

  • https://search.maven.org/#artifactdetails%7Corg.owasp%7Cdependency-check-maven%7C7.3.2%7Cmaven-plugin

三方依赖检查工具DependencyCheck首次运行会下载nvd/cve漏洞库,报告不太友好,自己写一个。

在mvnrepository.com查询,url规则:

https://mvnrepository.com/artifact/<groupid>/<artifactid>/<verison>

漏洞关键字查找

举例:

XXE:

  • SAXReader

  • SAXBuilder

  • SAXParser

  • XMLReader

  • DocumentBuilder

  • XMLStreamReader

SSRF:

  • HttpURLConnection

  • URL

  • ImageIO

  • HttpClient

  • Socket

  • OkHttpClient

  • SimpleDriverDataSource

  • DriverManager


文章来源: http://mp.weixin.qq.com/s?__biz=Mzg3NjYwNDgzMQ==&mid=2247485662&idx=1&sn=6b888269a676b54007fe2e2269ae1c66&chksm=cf2ef42ef8597d38398bc0512d14f09539b7434688a80ebb21ad69453271046c1b7e450c0062#rd
如有侵权请联系:admin#unsafe.sh