You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Velocity is a Java-based template engine. It permits web page designers to reference methods defined in Java code.
214
+
> Apache Velocity is a Java-based template engine that allows web designers to embed Java code references directly within templates.
215
215
216
-
```python
216
+
In a vulnerable environment, Velocity's expression language can be abused to achieve remote code execution (RCE). For example, this payload executes the whoami command and prints the result:
A more flexible and stealthy payload that supports base64-encoded commands, allowing execution of arbitrary shell commands such as `echo "a" > /tmp/a`. Below is an example with `whoami` in base64:
0 commit comments