QID 153017
Date Published: 2023-07-31
QID 153017: Ruby On Rails - Credentials Disclosure via seeds.rb
Affected application discloses "seeds.rb" file.
The seeds.rb file is a Ruby script that allows you to populate your application's database with initial data. It serves as a convenient way to insert sample data, default records, or any necessary data that your application requires when it starts up.
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 153017
Software Advisories
| Advisory ID | Software | Component | Link |
|---|