Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RB: add second-order-command-injection #11236

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erik-krogh
Copy link
Contributor

@erik-krogh erik-krogh commented Nov 11, 2022

I also did some drive-by refactorizations in the first commit.
I noticed an override DataFlow::Node getAnArgument in classes that extends DataFlow::CallNode.
That is just a foot-gun waiting to happen if DataFlow::CallNode gets an getAnArgument predicate, so I changed those classes to instanceof DataFlow::CallNode.


@erik-krogh erik-krogh added WIP This is a work-in-progress, do not merge yet! Ruby labels Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ruby WIP This is a work-in-progress, do not merge yet!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant