You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixinator 5.0.1 has found and fixed MANY issues in a legacy app but I had a script where it caught the last variable in the query but not the first two. I removed code until I was left with the following and still able to reproduce
If I scan with confidence=low it will find all of these. In your first example because you set cSet and cVal in the cfset to an explicit value it lowers the confidence level, because if you have code like this:
<cfset someValue = 3>
<cfquery>
SELECT * FROM table
WHERE someValue = #someValue#
</cfquery>
That is not technically vulnerable to SQL Injection, since someValue is set to a static value.
As for the single variable variables, those are also found on confidence=low but I think those should not require low confidence so I'll see if I can fix that one.
Fixinator 5.0.1 has found and fixed MANY issues in a legacy app but I had a script where it caught the last variable in the query but not the first two. I removed code until I was left with the following and still able to reproduce
If I remove either or both of the CFSET commands, it catches the variables correctly.
While testing the above code and trying different variations, I noticed it wouldn't catch single-character variables
The code above was scanned in an isolated directory in case that has any impact, such as if there's variable scanning logic elsewhere.
The text was updated successfully, but these errors were encountered: