32 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
229
views
How to fix "Path Manipulation Vulnerability" in some Node js?
I have implemented all kinds of validation but fortify still throwing path manipulation error.
What is correct solution for resolving path manipulation issue in Nodejs for Fortify?
Below is my code
...
1
vote
0
answers
316
views
fortify: path manipulation in c#
I have the following code snippet:
string fileUrl = "Folder1"+jaar+".docx";
getFile(fileUrl);
The jaar parameter which is an int is the current year and actually comes from the ...
1
vote
0
answers
270
views
How to prevent "Path manipulation" issues in C#, .net core For below statment getting error
Fority Scan reported "Path Manipulation" security issues in following methods
File.Exist()
File.Create()
File.Delete()
File.OpenRead()
File.OpenWrite()
should i ignore the scan report or ...
1
vote
0
answers
2k
views
.NET Fortify Path Manipulation
Does anyone know how to resolve path manipulation issue reported by Forify scan.
I am already checking it path is exists but still Fortify reporting it as a vulnerability.
Example:
string path = "...
1
vote
0
answers
657
views
Path manipulation issue in spring boot
I am using this code to read all the files in Java folder with which are ending with ".properties".
@Value("classpath*:com/tech/java/*.properties")
private Resource[] files;
for (Resource ...
4
votes
3
answers
859
views
How can I find the potential source environment variable for a partial path in PowerShell?
I want to write a function that converts regular path to path that includes environment variables:
For example:
C:\Windows\SomePath
convert to:
%Windir%\SomePath
How would I do that and is this ...
0
votes
0
answers
2k
views
Path Manipulation Fortify Security Remediation
When we scanned the code in the fortify security remediation scan tool. we got the below message for the Path Manipulation attack "Attackers are able to control the file system path argument to ...
2
votes
0
answers
809
views
Python Handle Fortify Path Manipulation
I am trying to run fortify analyzer on my python code and I am trying to read a file
created by my kubernetes server but I am being flagged as Path Manipulation..
What can I do to handle this ...
0
votes
0
answers
1k
views
Path manipulation issue report by fortify scan
I have been fixing fortify issues in our application. below piece of code always reported as path manipulation issue. I don't understand why. There is no user input in this method. Could someone ...
2
votes
1
answer
698
views
How can I manipulate Windows paths from a Linux app and vice versa in .NET Core?
I'm building a data transfer tool that may be deployed to either a Windows or Linux Docker container that must instruct SQL Server to take a database snapshot. Additionally, SQL Server may be on ...
0
votes
1
answer
1k
views
Powershell: Edit the drive letter of all my shortcuts that begin with X:\
I have a situation where all the paths in the shortcut files that are located in the %AppData%\Microsoft\Windows\Start Menu\Programs folder and subfolders all point to an incorrect drive letter. This ...
0
votes
1
answer
1k
views
Input parameter sanitization in android for avoiding vulnerabilities
Recently while source code audit of my android application auditors have raised few points like path manipulation, privacy violation attacks?
I have been searching for proper solutions since last few ...
0
votes
3
answers
2k
views
Fortify : Path Manipulation in C - White List Implementation doesn't work - fopen issue
Hello everyone I have a fortify issue "Path manipulation" it produced by fopen use. According with fortify I could implement a white list in order to fix it, so there have my white list validator:
...
2
votes
1
answer
2k
views
How to avoid path traversal security vulnerability
I have a python web application that accepts a http URL to a PDF file from the URL. As part of what the application does, it needs to convert the PDF into a TIFF image using ghost script. And for this,...
1
vote
0
answers
125
views
Python Scripts + Use of folders and paths
This time I need help with python and paths manipulations. In first place I will will show you the structure I'm using on this set of apps:
MainFolder:
Folder1.
Subfolder1.
Subfolder2.
Folder2.
The ...