Potential SpEL Injection In Spring Framework

 Original Source: [Sigma source]
Title: Potential SpEL Injection In Spring Framework
Status: test
Description:Detects potential SpEL Injection exploitation, which may lead to RCE.
References:
  -https://owasp.org/www-community/vulnerabilities/Expression_Language_Injection
  -https://www.wix.engineering/post/threat-and-vulnerability-hunting-with-application-server-error-logs
Author: Moti Harmats
Date: 2023-02-11
modified:None
Tags:
  • -'attack.initial-access'
  • -'attack.t1190'
Logsource:
  • category: application
  • product: spring
  • definition: Requirements: application error logs must be collected (with LOG_LEVEL=ERROR and above)
Detection:
  keywords:
    - 'org.springframework.expression.ExpressionException'
  condition:keywords
Falsepositives:
  -Application bugs
Level: high