Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
AlchemyCMS has Authenticated Remote Code Execution (RCE) via eval injection in ResourcesHelper
Vulnerability Description
Alchemy is an open source content management system engine written in Ruby on Rails. Prior to versions 7.4.12 and 8.0.3, the application uses the Ruby `eval()` function to dynamically execute a string provided by the `resource_handler.engine_name` attribute in `Alchemy::ResourcesHelper#resource_url_proxy`. The vulnerability exists in `app/helpers/alchemy/resources_helper.rb` at line 28. The code explicitly bypasses security linting with `# rubocop:disable Security/Eval`, indicating that the use of a dangerous function was known but not properly mitigated. Since `engine_name` is sourced from module definitions that can be influenced by administrative configurations, it allows an authenticated attacker to escape the Ruby sandbox and execute arbitrary system commands on the host OS. Versions 7.4.12 and 8.0.3 fix the issue by replacing `eval()` with `send()`.
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
动态执行代码中指令转义处理不恰当(Eval注入)
Vulnerability Title
AlchemyCMS 安全漏洞
Vulnerability Description
AlchemyCMS是AlchemyCMS - A Rails CMS Framework开源的一个内容管理系统。 AlchemyCMS 7.4.12之前版本和8.0.3之前版本存在安全漏洞,该漏洞源于在Alchemy::ResourcesHelper#resource_url_proxy中使用Ruby eval函数动态执行由resource_handler.engine_name属性提供的字符串,可能导致经过身份验证的攻击者逃逸Ruby沙箱并在主机操作系统上执行任意系统命令。
CVSS Information
N/A
Vulnerability Type
N/A