CVE-2021-31865:Redmine Attachment Filename Extension Bypass Vulnerability

splash
Back

Description Preview

Redmine versions before 4.0.9, 4.1.x before 4.1.3, and 4.2.x before 4.2.1 contain a security vulnerability that allows users to circumvent the allowed filename extensions of uploaded attachments. This could potentially allow malicious users to upload dangerous file types that would normally be restricted, creating a security risk for Redmine installations.

Overview

This vulnerability (CVE-2021-31865) affects the file attachment functionality in Redmine, a popular open-source project management web application. Redmine typically restricts the types of files that can be uploaded as attachments based on their file extensions. However, in the affected versions, this restriction mechanism can be bypassed, allowing users to upload files with extensions that would normally be prohibited. This could potentially lead to the execution of malicious code if a user uploads a dangerous file type that is then accessed by other users or processed by the system. The vulnerability affects all Redmine installations running versions before 4.0.9, 4.1.x before 4.1.3, and 4.2.x before 4.2.1.

Remediation

To address this vulnerability, system administrators should upgrade their Redmine installation to the following patched versions:

  • Version 4.0.9 or later (for 4.0.x users)
  • Version 4.1.3 or later (for 4.1.x users)
  • Version 4.2.1 or later (for 4.2.x users)

Debian users can apply the security update referenced in DLA 2658-1. If immediate upgrading is not possible, administrators should consider temporarily disabling file uploads or implementing additional security controls at the web server or application level to restrict file uploads until the patch can be applied.

References

  1. Redmine Security Advisory: https://www.redmine.org/news/131
  2. Redmine Security Advisories page: https://www.redmine.org/projects/redmine/wiki/Security_Advisories
  3. Debian LTS Security Announcement: https://lists.debian.org/debian-lts-announce/2021/05/msg00013.html

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Accommodation & Food Services
    Accommodation & Food Services
  2. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  3. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  4. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  5. Construction
    Construction
  6. Educational Services
    Educational Services
  7. Finance and Insurance
    Finance and Insurance
  8. Health Care & Social Assistance
    Health Care & Social Assistance
  9. Information
    Information
  10. Management of Companies & Enterprises
    Management of Companies & Enterprises
  11. Manufacturing
    Manufacturing
  12. Mining
    Mining
  13. Other Services (except Public Administration)
    Other Services (except Public Administration)
  14. Professional, Scientific, & Technical Services
    Professional, Scientific, & Technical Services
  15. Public Administration
    Public Administration
  16. Real Estate Rental & Leasing
    Real Estate Rental & Leasing
  17. Retail Trade
    Retail Trade
  18. Transportation & Warehousing
    Transportation & Warehousing
  19. Utilities
    Utilities
  20. Wholesale Trade
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background
Armis Vulnerability Intelligence Database