Add query documentation header

This commit is contained in:
Peter Stöckli
2020-02-21 18:22:05 +00:00
committed by GitHub
parent 9de2be8eba
commit e1e03e326b

View File

@@ -1,3 +1,11 @@
/**
* @name Calling openStream on URLs created from remote source can lead to file disclosure
* @description If openStream is called on a java.net.URL, that was created from a remote source
* an attacker can try to pass absolute URLs starting with file:// or jar:// to access
* local resources in addition to remote ones.
* @kind path-problem
*/
import java
import semmle.code.java.dataflow.TaintTracking
import semmle.code.java.dataflow.FlowSources