fortify

Why Fortify Audit Workbench Source Editor is not opening?

江枫思渺然 提交于 2021-01-29 14:13:16
问题 I am using Fortify Audit Workbench 18.20.1071 to do analysis on already created Fortify projects. The Fortify projects (extension .fpr) were created using standard Fortify commands. The discovered code issues, are listed on the left pane, and are grouped by categories, depending on a predefined view. When clicking on those issues, I was previously able to see the code in the source code panel/viewer/editor (separate panel to the center-right). For some reason I am not able to open that panel

How to send data colected with Laravel Livewire to Fortify?

≡放荡痞女 提交于 2021-01-28 18:35:14
问题 I'm not familiar with Vue.js at all, so found a good replacement using Livewire. The challenge that I've got to solve is to have a user friendly registration on my website using Fortify + Livewire. The registration process is a multistep one and depends on the choices that the user makes it will load the relative fields. So far I set up the Fortify views by adding in the FortifyServiceProvider.php file the following code: Fortify::loginView(function () { return view('auth.login'); }); Fortify

How to exclude warnings in Fortify?

人走茶凉 提交于 2021-01-28 06:30:46
问题 There are some warnings that we don't want to fix. How to suppress or exclude them from being generated in future reports, in local and Jenkins CI? Like in PMD or FindBugs, some warnings we can use annotations. For example: Logging error messages in catch blocks. This is important for us to know about the operation. Checked this but does not meets our need. 回答1: From the SCA User Guide: You can create a file to filter out particular vulnerability instances, rules, and vulnerability categories

Fortify Path Manipulation error

百般思念 提交于 2021-01-27 05:44:08
问题 Fority Scan reported "Path Manipulation" security issues in following snippet String filePath = getFilePath(fileLocation, fileName); final File file = new File(filePath); LOGGER.info("Saving report at : " + filePath); BufferedWriter fileWriter = new BufferedWriter(new FileWriter(file)); fileWriter.write(fileContent); so i am checking for blacklisted characters in fileLocation and throwing exception, still the Fortify is throwing the exception. try { String filePath = getFilePath(fileLocation,

Laravel Fortify Customize Authentication Redirect

前提是你 提交于 2021-01-24 08:56:46
问题 In Laravel fortify on customization authentication process, i can not able to redirect to login page with error message which we were able to do in Auth. Here is the customization documentation link: https://jetstream.laravel.com/1.x/features/authentication.html#customizing-the-authentication-process if ($user && Hash::check($request->password, $user->password) && $user->status == 'active') { return $user; } elseif ($user->status == 'inactive') { //redirect with some error message to login

How to avoid command injection in node child_process exec

谁说我不能喝 提交于 2021-01-07 03:01:29
问题 I am opening IE browser in(via) my electron application using Node child_process . Code below: var cp = require('child_process'); var browser = cp.exec('start', 'iexplore', ['-private', args.url]); This is raising command injection warning when I run Fortify analysis on this code. Also, this args.url is fetched from api resource (stored in db) and is not related to any user input on this client application. Please help me escape this. I also tried spawn , but no success. 回答1: As a rule of