As we already know, URL and FORM scope variables can be changed using external proxy tools.
For example, if someone makes such a request - http:\\website\index.cfm?a=1&b=2
Thus, you can add values ββto the URL area .cfm page.
Similarly, is there a way to add / change a value to query the scope in ColdFusion without explicitly specifying in the code.
I ask about this because we have such code on the CFM page.
<cfset request.uploadFileDir = application.fileDir & "\upload" /> <cffile action="upload" accept="application/pdf" destination="#REQUEST.uploadFileDir#" filefield="brochure" nameconflict="makeunique"/>
The security team says the code above is vulnerable because the JAVA's REQUEST scope can be tampered with / modified by external proxy tools. And since ColdFusion is based on JAVA, ColdFusion REQUEST can also be faked with external proxy tools. Is this a correct guess? Is the scope of JAVA and ColdFusion REQUEST same?
And finally, the main question is whether there is a way to externally query the page mentioned in the example above to change the REQUEST scope or, to be more precise, the REQUEST.uploadFileDir variable?
source share