Curated security research, vulnerabilities, advisories and tools for practitioners.

CVE-2024-53991 - Discourse Backup Disclosure: Rails send_file Quirk

Summary

Introduction Modern web applications rely on middleware and web server configurations to efficiently handle file delivery while maintaining security. In the Ruby ecosystem, the send_file method in Rack and Rails is a widely used mechanism that can offload file serving to web servers like Nginx and Apache, improving performance and scalability. However, when used in conjunction with Nginx’s internal directive, a feature designed to restrict access to sensitive resources, unexpected security flaw
CVE
CVE-2024-53991
Published
Collected