-
Notifications
You must be signed in to change notification settings - Fork 376
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
Add direct command Injection vulnerability (CWE-77, OWASP API 8) #121
Comments
Hello, |
Hello @piyushroshan @JBAhire , crAPI/services/identity/src/main/java/com/crapi/service/Impl/ProfileServiceImpl.java Lines 241 to 242 in ea6625d
Though I am not sure what command is passed there ⬆️ . Only params are being passed now:
While running on dev mode it kept saying "Failed to convert" since crAPI/services/identity/src/main/java/com/crapi/service/Impl/ProfileServiceImpl.java Lines 221 to 248 in ea6625d
I am looking into this but if you have any pointers or other suggestions please guide. |
That's the indirect command injection in crAPI. We can for sure enhance in that direction. Since this is get request maybe provide a query param as conversion param in the get request that can invoke the same pipeline |
Is your feature request related to a problem? Please describe.
Currently, we can use crAPI to demonstrate indirect command injection but we also want to add capabilities to demonstrate direct command injection.
Describe the solution you'd like
@piyushroshan , can you guide us here for a solution?
The text was updated successfully, but these errors were encountered: