SB2024022643 - Multiple vulnerabilities in Rails 



SB2024022643 - Multiple vulnerabilities in Rails

Published: February 26, 2024 Updated: February 27, 2024

Security Bulletin ID SB2024022643
Severity
Medium
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Medium 67% Low 33%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 secuirty vulnerabilities.


1) Cross-site scripting (CVE-ID: CVE-2024-26143)

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within the translate method in controllers . A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


2) Inefficient regular expression complexity (CVE-ID: CVE-2024-26142)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing untrusted input with a regular expressions. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.


3) Information disclosure (CVE-ID: CVE-2024-26144)

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to the Active Storage send a Set-Cookie header along with the user's session cookie when serving blobs. It also sets Cache-Control to public. Such cookie can be cached certain proxies and lead to information disclosure.


Remediation

Install update from vendor's website.