Project

General

Profile

Actions

Bug #18788

closed

Let Rails to log forbidden attributes

Added by Lukas Zapletal almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

By default Rails 4.x does not show forbidden attributes in production in log or in the exception itself:

http://api.rubyonrails.org/classes/ActionController/Parameters.html

I see no reason not to log it, possible attacker needs access to logs in order to find which attribute was denied.

This makes debugging much harder.

Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman/pull/4356 added
Actions #2

Updated by Marek Hulán almost 8 years ago

  • Translation missing: en.field_release set to 209
Actions #3

Updated by Lukas Zapletal almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF