Rails Debug Mode Enabled On ( https://44.208.145.207/testrail/files.md5 )
A Ruby on Rails application was running in development mode, exposing sensitive system information such as middleware components and application root paths. An attacker could use this information to better understand the system architecture and plan further attacks.
- Triaged in 15 days
- Fixed in 6 months
- Paid in 3 months
- Disclosed after 2.5 years
Summary by the program
Summary
Ruby on Rails web application running in development mode has been identified on a Malwarebytes server at https://44.208.145.207/testrail/files.md5. Running Rails in development mode exposes sensitive system information that should not be accessible in a production environment. This includes information about middleware components and application root paths that could be leveraged by attackers.
Steps to Reproduce
Visit the URL https://44.208.145.207/testrail/files.md5 Observe the Rails debug information exposed in the HTTP response Note the disclosed system information such as middleware and application root
Impact
The information disclosure allows attackers to gather sensitive technical details about the application environment. This information can help attackers better understand the system architecture, identify potential vulnerabilities, and develop more targeted attacks against the application. In Rails development mode, detailed error messages, stack traces, and environment configurations may be exposed, which could significantly aid attackers in mapping the application structure and identifying potential exploitation paths. This type of vulnerability is typically classified under improper configuration management and information exposure issues.
Summary by the researcher
It took lot of time to fix but every week about status of it
Good Security Team at Malwarebytes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Rails application was deployed with its development environment configuration instead of a production configuration.
Impact
The information disclosure could help attackers understand the system architecture and develop more targeted attacks, though the text does not claim any direct exploitation beyond information gathering.
What the attacker needed
None
How it was found
- Visit the provided URL.
- Observe the Rails debug information in the HTTP response.
- Note the disclosed system information such as middleware and application root.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Development mode is a setting for building and testing software that shows extra details when something goes wrong. Here, that mode was left on for a live website, so anyone could see internal details like file paths and software components. This helps an attacker learn how the system is built and find weaknesses.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.