Skip to content

Create Injection.java#1

Open
ajinabraham wants to merge 1 commit intomasterfrom
pr
Open

Create Injection.java#1
ajinabraham wants to merge 1 commit intomasterfrom
pr

Conversation

@ajinabraham
Copy link
Member

No description provided.

@@ -0,0 +1,4 @@
// ruleid:command_injection
Process process = Runtime.getRuntime().exec("ping somewhere.com" + foo);

Check failure

Code scanning / mobsfscan

User controlled strings in exec() will result in command execution.

User controlled strings in exec() will result in command execution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant