tracker issue : CF-4126689

select a category, or use search below
(searches all categories and all time range)
Title:

Security scanner false positive and mixed messaging

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 03/09/2016

Components: Security Analyzer

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: Alpha_v31 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Win All

Vote Count: 0

Consider this code:


<cfdirectory action="list" directory="#expandPath( ’./hardcodedSubDirectory/’ )#" name="files">

<cfscript>
files = directoryList(expandPath( ’./hardcodedSubDirectory/’ ));
</cfscript>


The two statements are:
a) analogous;
b) as far as I can tell pose no risk

However the *first* line gets a warning that it poses a file injection risk.

No it doesn’t. And if it did: so would the second line.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4126689

External Customer Info:
External Company: Straker Interactive
External Customer Name: Adam Cameron
External Customer Email: CAMERON.ADAM@GMAIL.COM
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: State newValue: Closed oldValue: Open oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-09-22 06:34:52.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-09-22 06:34:52.0 action: updated fieldName: Reason newValue: Blank oldValue: Fixed oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-09-22 06:34:52.0 action: updated fieldName: Owner newValue: Blank oldValue: preethi oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-09-22 06:34:52.0 action: updated fieldName: Closed By newValue: preethi oldValue: Blank oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-09-22 06:34:52.0 action: updated fieldName: Date Closed newValue: 2015-09-21 23:34:52.0 oldValue: Blank oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-09-22 06:34:52.0 action: updated fieldName: Changelist newValue: 295607 oldValue: Blank oprid: uogra recordName: RQ_DEFECT timpestamp: 2015-09-21 14:44:36.0 action: updated fieldName: Status newValue: ToTest oldValue: ToFix oprid: uogra recordName: RQ_DEFECT timpestamp: 2015-09-21 14:44:36.0 action: updated fieldName: Reason newValue: Fixed oldValue: Blank oprid: uogra recordName: RQ_DEFECT timpestamp: 2015-09-21 14:44:36.0 action: updated fieldName: Owner newValue: preethi oldValue: uogra oprid: uogra recordName: RQ_DEFECT timpestamp: 2015-09-21 14:44:36.0 action: updated fieldName: Fixed By newValue: uogra oldValue: Blank oprid: uogra recordName: RQ_DEFECT timpestamp: 2015-09-21 14:44:36.0 action: updated fieldName: Date Fixed newValue: 2015-09-21 07:44:36.0 oldValue: Blank oprid: uogra recordName: RQ_DEFECT timpestamp: 2015-09-21 14:44:36.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-07-21 11:39:39.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-07-21 11:39:39.0 action: updated fieldName: Priority newValue: 2 oldValue: 0 oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-07-21 11:39:39.0 action: updated fieldName: Severity newValue: 2 oldValue: 3 oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-07-21 11:39:39.0 action: updated fieldName: Fix By Product Milestone newValue: Beta oldValue: Blank oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-07-21 11:39:39.0 action: updated fieldName: Fix By Milestone newValue: Beta oldValue: Blank oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-07-21 11:39:39.0 action: updated fieldName: Owner newValue: uogra oldValue: preethi oprid: preethi recordName: RQ_DEFECT timpestamp: 2015-07-21 11:39:39.0 action: updated fieldName: Fix By Product Milestone newValue: Blank oldValue: Blank oprid: prk recordName: RQ_DEFECT timpestamp: 2015-07-21 11:25:39.0 action: updated fieldName: Dev Assigned newValue: uogra oldValue: sandeepp oprid: prk recordName: RQ_DEFECT timpestamp: 2015-07-21 11:25:39.0 action: updated fieldName: Product newValue: ColdFusion oldValue: ColdFusion Builder oprid: prk recordName: RQ_DEFECT timpestamp: 2015-07-21 11:25:39.0 action: updated fieldName: Version newValue: 12.0 oldValue: 3.1 oprid: prk recordName: RQ_DEFECT timpestamp: 2015-07-21 11:25:39.0 action: updated fieldName: QE Assigned newValue: preethi oldValue: prk oprid: prk recordName: RQ_DEFECT timpestamp: 2015-07-21 11:25:39.0 action: updated fieldName: Owner newValue: preethi oldValue: prk oprid: prk recordName: RQ_DEFECT timpestamp: 2015-07-21 11:25:39.0
Comment by CFwatson U.
3499 | March 09, 2016 04:38:38 AM GMT
Added By:preethi Note Added: Fix will be available in the next release. Thanks! Date Added :2015-09-22 06:34:53.0 Added By: PreRelease User User Name:Adam Cameron Note Added: Entered Bug. Date Added :2015-07-20 13:35:17.0
Comment by CFwatson U.
3500 | March 09, 2016 04:38:40 AM GMT