Skip to content

short view of ruby on rails properties misconfiguration

Notifications You must be signed in to change notification settings

OmarAtallahh/CVE-2023-23138

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

ruby-rail-properties CVE-2023-23138

This is a short view of ruby on rails properties misconfiguration sometimes developers forgot to disable this endpoint /rails/info/properties

if this endpoint was enabled on the host, that's mean an attacker can see part/all of the following information:

  • Application root
  • Environment mode
  • Database adapter
  • Database schema version
  • Ruby version
  • RubyGems version
  • Rack version
  • Rails version
  • JavaScript Runtime
  • Active Record version
  • Action Pack version
  • Action Mailer version
  • Active Support version
  • list of Middlewares

Testing on mass scale

I've create a nuclei template to check this missconfiguration you can use it as following:

nuclei -l <path of domains> -t ruby-rail-properties.yaml -rl 3000 -bs 3000

image

the results was also manually verfied to avoid false positives

a sample of one host would be similar to this :

image

About

short view of ruby on rails properties misconfiguration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published