Sigma rule: Potential Server Side Template Injection In Velocity

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-c4fdd8e6ea81, updated 2023-02-11T00:00:00.000Z.

Rule

Title
Potential Server Side Template Injection In Velocity
Status
test
Level
high
Author
Moti Harmats
Date
2023-02-11
File
rules/application/velocity/velocity_ssti_injection.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects exceptions in velocity template renderer, this most likely happens due to dynamic rendering of user input and may lead to RCE.

Log source

product
velocity
category
application
definition
Requirements: application error logs must be collected (with LOG_LEVEL=ERROR and above)

Detection

keywords:
    - 'ParseErrorException'
    - 'VelocityException'
    - 'TemplateInitException'
condition: keywords

False positives (as the rule lists them)

  • Application bugs
  • Missing .vm files

Tags

  • attack.initial-access
  • attack.t1190

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/application/velocity/velocity_ssti_injection.yml

Sources and licences

  • SigmaHQ

    "Potential Server Side Template Injection In Velocity" by Moti Harmats (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/application/velocity/velocity_ssti_injection.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potential Server Side Template Injection In Velocity",
entity page, dataset version ref-c4fdd8e6ea81, updated 2023-02-11T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/16c86189-b556-4ee8-b4c7-7e350a195a4f (accessed 2026-11-03).
Underlying source: SigmaHQ rule 16c86189-b556-4ee8-b4c7-7e350a195a4f, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.