Project

General

Profile

Actions

Bug #14635

closed

CVE-2016-3693 - `inspect` in a provisioning template exposes sensitive controller information

Added by Dominic Cleal about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Security
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

A provisioning template containing <%= inspect %> will expose sensitive information about the Rails controller and application when rendered when using Safemode rendering (default).

Safemode is initialised with a "delegate" object that is typically the Rails controller. When inspect is called on it, all information about the Rails app is exposed, including routes, secret tokens, caches and so on.

Thanks to Ivan Necas for reporting the security issue to .

All versions of Foreman are vulnerable, CVE identifier will be requested.

Actions

Also available in: Atom PDF