mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Add query documentation header
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user