QID 153015
Date Published: 2023-07-31
QID 153015: Ruby On Rails Database Configuration File
Affected application discloses "config/database.yml" file.
This file contains important information about the database settings, such as for production, development, and testing purposes. The data stored in this file is very sensitive and should never be available in a production system.
QID Detection Logic:
This QID sends a GET request to the target server to retrieve the file content.
Contents of this file may disclose sensitive information which could give technical edge to an attacker to learn more about his target application.
Solution
Verify that access to this file is permitted. If necessary, remove it or apply access controls to the file.
Vendor References
CVEs related to QID 153015
Software Advisories
| Advisory ID | Software | Component | Link |
|---|