id: spring-framework-exceptions info: name: Spring Framework Exceptions author: geeknik severity: medium description: Detects suspicious Spring framework exceptions that could indicate exploitation attempts reference: - https://docs.spring.io/spring-security/site/docs/current/apidocs/overview-tree.html tags: file,logs,spring file: - extensions: - all extractors: - type: regex name: exception part: body regex: - 'AccessDeniedException' - 'CsrfException' - 'InvalidCsrfTokenException' - 'MissingCsrfTokenException' - 'CookieTheftException' - 'InvalidCookieException' - 'RequestRejectedException'