{"id":"16c86189-b556-4ee8-b4c7-7e350a195a4f","title":"Potential Server Side Template Injection In Velocity","description":"Detects exceptions in velocity template renderer, this most likely happens due to dynamic rendering of user input and may lead to RCE.","author":"Moti Harmats","status":"test","level":"high","date":"2023-02-11","modified":"","tags":["attack.initial-access","attack.t1190"],"technique_ids":["T1190"],"logsource":{"category":"application","product":"velocity","definition":"Requirements: application error logs must be collected (with LOG_LEVEL=ERROR and above)"},"falsepositives":["Application bugs","Missing .vm files"],"references":["https://antgarsil.github.io/posts/velocity/","https://www.wix.engineering/post/threat-and-vulnerability-hunting-with-application-server-error-logs"],"source_path":"rules/application/velocity/velocity_ssti_injection.yml","source_sha256":"859dd6dcb4a12802a1224afa14711ed97bb625a999bc4bd61ad2b7e5b14bd8bf","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/application/velocity/velocity_ssti_injection.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Server Side Template Injection In Velocity\nid: 16c86189-b556-4ee8-b4c7-7e350a195a4f\nstatus: test\ndescription: Detects exceptions in velocity template renderer, this most likely happens due to dynamic rendering of user input and may lead to RCE.\nreferences:\n    - https://antgarsil.github.io/posts/velocity/\n    - https://www.wix.engineering/post/threat-and-vulnerability-hunting-with-application-server-error-logs\nauthor: Moti Harmats\ndate: 2023-02-11\ntags:\n    - attack.initial-access\n    - attack.t1190\nlogsource:\n    category: application\n    product: velocity\n    definition: 'Requirements: application error logs must be collected (with LOG_LEVEL=ERROR and above)'\ndetection:\n    keywords:\n        - 'ParseErrorException'\n        - 'VelocityException'\n        - 'TemplateInitException'\n    condition: keywords\nfalsepositives:\n    - Application bugs\n    - Missing .vm files\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1190","id":"T1190","name":"Exploit Public-Facing Application","page":"techniques/enterprise/T1190/"}],"data_path":"data/detection-rules/16c86189-b556-4ee8-b4c7-7e350a195a4f.json","kind":"sigma"}
