SYM_RB_0051 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki

Incorrect Default Permissions

Property Value
Language ruby
Severity low
CWE CWE-276: Incorrect Default Permissions
OWASP A01:2021 - Broken Access Control
Confidence Level Low
Impact Level Medium
Likelihood Level Low

Description

Default routes are enabled in this routes file. This means any public method on a controller can be called as an action. It is very easy to accidentally expose a method you didn't mean to. Instead, remove this line and explicitly include all routes you intend external users to follow.