Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Damien Bruyndonckx / Damien Bruyndonckx (Damien Bruyndonckx)
Created: 03/09/2016
Components: Security Analyzer
Versions: 2016
Failure Type:
Found In Build/Fixed In Build: Beta2_v31 /
Priority/Frequency: Minor / Some users will encounter
Locale/System: English / Mac All
Vote Count: 0
Problem Description:
If omitting the "Method" attribute when using <cfform>, the default is "method=post" (unlike the default for regular html forms using the <form> tag).
Security code analyser does not take this into account and displays an "getvspost" error.
The security code analyser dos not see any "Method" attribute and wrongly assumes the HTML default of GET even though a <cffform> tag is used so taht a POST method is effectively used, which causes the error
Steps to Reproduce:
1) create a <cfform>
2) omit the "method" attribute of the <cfform> tag (so POST is used)
3) Run the Secuity code Anlyser on the page containing the <cfform> tag.
4) see the "getvspost" false positive in the results
Actual Result:
A "getvspost" error is mentioned in the Security Analyser result
Expected Result:
No "getVsPost" error mentioned since the method used is effectively POST
Any Workarounds:
Just ignore the error.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126480
External Customer Info:
External Company: MultimediaCollege
External Customer Name: Damien Bruyndonckx
External Customer Email: DAMIEN.BRUYNDONCKX@GMAIL.COM
External Test Config: Friendly Name: IMac
System Type: Desktop
Brand: Apple
Model: IMac 27 inches Late 2009
Processor Type: Intel Core 2 Duo
Processor Speed: 2GHz to 3GHz
Memory: 2GB to 4GB
Hard Drive Storage: 1GB-2TB
Peripherals: LCD Display
Peripherals: Printer
Peripherals: Scanner
Peripherals: Web-Cam
Peripherals: Wireless Keyboard
Peripherals: Wireless Mouse
Connectivity: Apple Airport
Connectivity: Ethernet
Interfaces: Firewire
Interfaces: USB 2.x
Media: CD
Media: CD-R
Media: CD-RW
Media: DVD
Media: DVD+R
Media: DVD-R
Media: DVD-RAM
Media: SD Card
Primary Operating System: Mac OS X 10.9 (Mavericks)
Secondary Operating System: Windows 7 64
System Location: Office
Time Owned: 1 to 2 Years
,Friendly Name: MacBookPro
System Type: Laptop
Brand: Apple
Model: MacBook pro retina 15'' Mod 2014
Processor Type: Intel Core i7
Processor Speed: 2GHz to 3GHz
Memory: 8GB to 16GB
Hard Drive Storage: 500GB-1TB
Peripherals: LCD Display
Peripherals: Web-Cam
Peripherals: Wireless Mouse
Connectivity: Apple Airport
Connectivity: Ethernet
Interfaces: USB 2.x
Media:
Primary Operating System: Mac OS X 10.9 (Mavericks)
Secondary Operating System: Windows 8 64
System Location: Other
Time Owned: Less than 1 Month
Attachments:
Comments: