2021-11-01 18:20:30 +00:00
|
|
|
id: ruby-on-rails-framework-exceptions
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Ruby on Rails Framework Exceptions
|
|
|
|
author: geeknik
|
2022-04-22 10:38:41 +00:00
|
|
|
severity: medium
|
|
|
|
description: Detects suspicious Ruby on Rails exceptions that could indicate exploitation attempts
|
2021-11-01 18:20:30 +00:00
|
|
|
reference:
|
|
|
|
- http://edgeguides.rubyonrails.org/security.html
|
|
|
|
- http://guides.rubyonrails.org/action_controller_overview.html
|
|
|
|
- https://stackoverflow.com/questions/25892194/does-rails-come-with-a-not-authorized-exception
|
|
|
|
- https://github.com/rails/rails/blob/master/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
|
|
|
|
tags: file,logs,ruby,rails
|
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: exception
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- 'ActionController\:\:InvalidAuthenticityToken'
|
|
|
|
- 'ActionController::InvalidCrossOriginRequest'
|
|
|
|
- 'ActionController::MethodNotAllowed'
|
|
|
|
- 'ActionController::BadRequest'
|
|
|
|
- 'ActionController::ParameterMissing'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100a1bd834e4286e12eca1f7399ab94cbe5050b0f8952abf7b30c664b22697e4df2022100a86690ed53bb1a4ac2537909bd5efb6ba95efb245ba9b746044f7bf4c958b2a5:922c64590222798bb761d5b6d8e72950
|