Add full path reconstruction from RemoteFlowSource to sink

This commit is contained in:
Tony Torralba
2021-08-24 14:54:20 +02:00
parent 445da1e71e
commit 14963103aa
4 changed files with 65 additions and 24 deletions

View File

@@ -18,8 +18,8 @@ import semmle.code.java.dataflow.DataFlow
import semmle.code.java.security.AndroidIntentRedirectionQuery
import DataFlow::PathGraph
from DataFlow::PathNode source, DataFlow::PathNode sink, IntentRedirectionConfiguration conf
where conf.hasFlowPath(source, sink)
from DataFlow::PathNode source, DataFlow::PathNode sink
where hasIntentRedirectionFlowPath(source, sink)
select sink.getNode(), source, sink,
"Arbitrary Android activities or services can be started from $@.", source.getNode(),
"this user input"