4622 matches found
railsgoat
RailsGoat RailsGoat 是一个基于 Ruby on Rails 构建的故意存在漏洞的 Web 应用程序。它展示了 OWASP Top 10 中的真实世界安全漏洞,并为开发人员和安全专业人员提供了一个实践培训平台。 什么是 RailsGoat? RailsGoat 是一个故意不安全的 Rails 应用程序,旨在教授 Web 应用程序安全知识。通过探索和利用其漏洞,你将学到: 常见安全缺陷如何在 Rails 应用程序中显现 如何通过代码审查和测试识别漏洞 如何实施适当的安全控制和修复策略 当前版本: Rails 8.0 搭配 Ruby 3.4.1 包含的漏洞 RailsGoa...
CVE-2019-5420
CVE-2019-5420 CVE-2019-5420 Ruby on Rails 仅供教育用途。 详见 参考。 环境 Ruby: 2.6.0p0 Rails: 5.2.2 运行 root@kitploit: $ docker run --name cve-2019-5420 --rm -p 3000:3000 knqyf263/cve-2019-5420 利用 执行 touch /tmp/rce root@kitploit: $ curl...
lightweight_static_analysis
Lightweight Static Analysis This repo contains the PoC code for a ShellCon 2019 talk, "Rolling Your Own: How to Write Custom, Lightweight Static Analysis Tools" slides. In a nutshell, this repo demonstrates a few concrete examples of how you can build some interesting static analyses using open...
rails-cve-2017-17917
rails-cve-2017-17917 该项目演示了在 id 参数中 SQL 注入漏洞的复现,并随后提供了缓解和解决此安全问题的见解。 https://www.cvedetails.com/cve/CVE-2017-17917/?q=CVE-2017-17917 技术栈 : root@kitploit: Ruby: 3.2.2 Rails: 7.0.8 Docker 24.0.5 Docker-Compose 1.29.2 PostgreSQL CVE-2017-17917 我们选择此 CVE 是为了强调该问题在最新版本的 Rails 中仍持续出现,重申了开发最佳实践的相关性。...
rails-exploit-cve-2013-0156
== 针对 CVE-2013-0156 和 CVE-2013-0155 的 Rails PoC 漏洞利用代码 利用远程代码执行漏洞,构建了一个 Rails 3.2.10 应用程序。 参考: https://github.com/ronin-ruby/ronin-ruby.github.com/blob/rails-pocs/blog/posts/2013-01-09-rails-pocs.md === 设置 安装 gem 依赖项并在 3002 端口上启动应用 $ bundle install $ rake db:migrate $ rails s -p 3002 直接访问...
Ruby On Rails - Local File Inclusion
Ruby On Rails is vulnerable to local file inclusion caused by secondary decoding in Sprockets 3.7.1 and lower versions. An attacker can use %252e%252e/ to access the root directory and read or execute any file on the target server. id: CVE-2018-3760 info: name: Ruby On Rails - Local File Inclusio...
Ruby on Rails Web Console - Remote Code Execution
Ruby on Rails Web Console before 2.1.3, as used with Ruby on Rails 3.x and 4.x, does not properly restrict the use of X-Forwarded-For headers in determining a client's IP address, which allows remote attackers to bypass the whitelistedips protection mechanism via a crafted request to request.rb...
Ruby on Rails <5.0.1 - Remote Code Execution
Ruby on Rails before version 5.0.1 is susceptible to remote code execution because it passes user parameters as local variables into partials. id: CVE-2020-8163 info: name: Ruby on Rails 5.0.1 - Remote Code Execution author: timkoopmans severity: high description: Ruby on Rails before version 5.0...
Camaleon CMS < 2.8.1 Arbitrary File Write to RCE
An arbitrary file write vulnerability accessible via the upload method of the MediaController allows authenticated users to write arbitrary files to any location on the web server Camaleon CMS is running on depending on the permissions of the underlying filesystem. E.g. This can lead to a remote...
CVE-2026-66066-POC
PoC for CVE-2026-66066 - Minimal stock Rails/libvips lab This repository reproduces the Rails Active Storage file-read-to-RCE chain described by GHSA-xr9x-r78c-5hrm against Rails 8.1.3, the newest affected Rails 8.1 release. Rails 8.1.3.1 is the patched control. Use it only in the disposable loca...
rails-rce-cve-2016-0752
Explotando CVE-2016-0752 Esta aplicación sirve como una Prueba de Concepto vulnerable para explotar CVE-2016-0752. Para más información, consulta esta entrada de blog, que explica la vulnerabilidad, los pasos necesarios para explotarla, la solución y un enlace a un módulo de metasploit. Empezando...
rails-PoC-CVE-2016-2098
漏洞CVE-2016-2098的概念验证 由 @alejandro-marting 创建的大学项目, 我们可以在其中检查漏洞2096 使用: rails 4.2.5.1 视图包含易受攻击的代码 app/views/poc/render1.html.erb ! https://github.com/Alejandro-MartinG/rails-PoC-CVE-2016-2098/blob/master/app/assets/images/Captura%20de%20pantalla%20de%202017-01-15%2009:50:23.png 执行: 首先我们需要使用以下命令运行...
CVE-2026-66066
CVE-2026-66066 — KindaRails2Shell Ruby on Rails Active Storage + libvips : herramienta PoC para lectura arbitraria de archivos → ejecución remota de código RCE condicional. Archivo único, Python 3.11+, solo biblioteca estándar y cero dependencias , con cargas útiles híbridas MAT/HDF5,...
BreakEscape
BreakEscape Rails 引擎 一个可挂载的 Rails 引擎,用于网络安全培训的密室逃脱游戏。 功能 24+ 个网络安全密室逃脱场景 服务端进度追踪,采用 2 表架构 通过 ERB 为每个游戏实例生成随机密码 NPC 对话的即时 Ink 脚本编译 多态玩家支持(User/DemoUser) Pundit 授权 用于游戏状态管理的 RESTful API 基于会话的状态持久化 安装 在你的 Gemfile 中: root@kitploit: gem 'breakescape', path: 'path/to/breakescape' 然后: root@kitploit:...
CVE-2016-0752
利用CVE-2016-0752 此应用作为利用CVE-2016-0752的易受攻击的概念验证。更多信息请参考这篇博客文章,其中解释了漏洞、利用所需步骤、修复方法以及Metasploit模块的链接。 开始使用 root@kitploit: echo "" log/development.log Clear out the log file rvm use 2.2.3 bundle rails s 易受攻击的URL:http://localhost/users/dashboard...
crack-0.1.8-fixed
= crack 非常简单的JSON和XML解析,取自Merb和Rails。XML解析器取自Merb,JSON解析器取自Rails。我不居功,只是打包它们以便大家轻松使用。 == 关于版本发布 版本会在GitHub上打标签,并在GitHub和RubyForge上作为gem发布。每当我添加补丁或新功能时,都会推送到master分支。要从master构建,可以克隆代码,生成更新后的gemspec,构建gem并安装。 rake gemspec gem build crack.gemspec gem install 构建好的gem == 关于补丁/拉取请求 Fork项目。 添加功能或修复bug。...
Rails-doubletap-RCE
Rails-doubletap-exploit RCE en Rails 5.2.2 mediante un path traversal CVE-2019-5418 y una deserialización de objetos Ruby CVE-2019-5420 Análisis técnico : CVE-2019-5418 - https://github.com/mpgn/CVE-2019-5418 CVE-2019-5420 - https://hackerone.com/reports/473888 Aviso de seguridad : CVE-2019-5418 ...
CVE-2019-5418
CVE-2019-5418 1.漏洞描述 Ruby on Rails是一个 Web 应用程序框架,是一个相对较新的 Web 应用程序框架,构建在 Ruby 语言之上。这个漏洞主要是由于Ruby on Rails使用了指定参数的render file来渲染应用之外的视图,我们可以通过修改访问某控制器的请求包,通过“…/…/…/…/”来达到路径穿越的目的,然后再通过“”来进行模板查询路径的闭合,使得所要访问的文件被当做外部模板来解析。 3.漏洞复现 burp抓包 单个正确漏洞验证:pocsuite -r CVE-2019-5418.py -u url 批量扫描:pocsuite -r...
brakeman
Brakeman Brakeman 是一款静态分析工具,用于检查 Ruby on Rails 应用程序中的安全漏洞。 安装 使用 RubyGems: root@kitploit: gem install brakeman 使用 Bundler: root@kitploit: group :development do gem 'brakeman', require: false end 使用 Docker: root@kitploit: docker pull presidentbeef/brakeman 使用 Docker 从源码构建: root@kitploit: git clone...
brakeman
Brakeman Brakeman is a static analysis tool which checks Ruby on Rails applications for security vulnerabilities. Installation Using RubyGems: root@kitploit: gem install brakeman Using Bundler: root@kitploit: group :development do gem 'brakeman', require: false end Using Docker: root@kitploit:...