Support the ongoing development of Laravel.io →
Laravel.io
Last updated 1 year ago.
0

Below is my code

var cProcess = new Process { StartInfo = { FileName = sr, Arguments = arguments, WindowStyle = ProcessWindowStyle.Minimized, UseShellExecute = false } }; cProcess.Start(); return cProcess;

And I am getting below Fortify error

Command Injection (Input Validation and Representation, Semantic)

The method StartProcess() in WindowsApiManager.cs calls set_Arguments() to execute a command. This call might allow an attacker to inject malicious commands.

0
moderator

Hello @jagadishthadakamalla,

I'm not sure that you are in the correct place but maybe I don't understand your question.

This Forum is about Laravel, I see you created an issue on https://github.com/laravel/fortify that is a authentication backend for Laravel. (See https://laravel.com/docs/8.x/fortify

In your message you talk about C# are you sure you talk about the same project?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.