Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
Axis1.4-CVE-2019-0227 — Apache Axis1.4 远程命令执行漏洞利用工具 - CVE-2019-0227,支持随机化服务名和Webshell文件名 | Kitploit
工具/GitHubGitHub/1475210817/axis1.4-cve-2019-0227
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试远程访问工具
GitHub1475210817/axis1.4-cve-2019-0227

Axis1.4-CVE-2019-0227

Apache Axis1.4 远程命令执行漏洞利用工具 - CVE-2019-0227,支持随机化服务名和Webshell文件名

查看仓库
3个月前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Axis1.4 CVE-2019-0227 远程命令执行漏洞利用工具

📖 漏洞描述

Apache Axis1.4 中存在一个远程命令执行漏洞(CVE-2019-0227)。当 enableRemoteAdmin 属性设置为 true 时,攻击者可以通过 AdminService 接口部署恶意服务,从而在目标服务器上执行任意系统命令。

影响版本:Apache Axis ≤ 1.4

触发条件:enableRemoteAdmin 设置为 true

🎯 两种利用方式

方式脚本原理是否写文件隐蔽性
方式一:JSP Webshelljsp-webshell/axis_exp.py通过 LogHandler 写入 JSP Webshell✅ 会写文件低
方式二:Freemarker 直接执行freemarker-exec/axis_freemarker_exp.py直接调用 Freemarker Execute 类执行命令❌ 不写文件高

🚀 快速开始

方式一:JSP Webshell 方式

root@kitploit:~
cd jsp-webshell
python3 axis_exp.py -u http://target.com:8080/axis/ -c "whoami"

方式二:Freemarker 直接执行方式

root@kitploit:~
cd freemarker-exec
python3 axis_freemarker_exp.py -u http://target.com:8080/axis/ -c "whoami"

📦 安装依赖

root@kitploit:~
pip install requests urllib3

📁 目录结构

root@kitploit:~
Axis1.4-CVE-2019-0227/
├── README.md
├── jsp-webshell/
│   ├── axis_exp.py
│   └── README.md
└── freemarker-exec/
    ├── axis_freemarker_exp.py
    └── README.md

⚠️ 免责声明

本工具仅用于安全研究和授权测试。未经授权使用本工具攻击目标系统属于违法行为,使用者自行承担一切法律责任。

📄 许可证

MIT License

root@kitploit:~

## 📝 子目录 README(jsp-webshell/README.md)

Axis1.4 CVE-2019-0227 利用脚本 - JSP Webshell 方式

原理

通过 Axis AdminService 部署恶意服务,利用 LogHandler 写入 JSP Webshell,然后通过 GET 请求执行命令。

攻击流程

root@kitploit:~
部署恶意服务 → LogHandler 写入 shell.jsp → GET 请求执行命令

使用方法

root@kitploit:~
# 执行单条命令
python3 axis_exp.py -u http://localhost:8080/axis/ -c "whoami"

# 交互式 Shell
python3 axis_exp.py -u http://localhost:8080/axis/ -i

# 带认证
python3 axis_exp.py -u http://localhost:8080/axis/ -U admin -P admin -i

参数说明

特点

  • ✅ 通用性强,不依赖额外组件
  • ❌ 会留下 webshell 文件
root@kitploit:~

## 📝 子目录 README(freemarker-exec/README.md)

Axis1.4 CVE-2019-0227 利用脚本 - Freemarker 直接执行方式

原理

通过 Axis AdminService 部署指向 freemarker.template.utility.Execute 类的服务,直接调用其 exec 方法执行系统命令,不写入任何文件。

攻击流程

root@kitploit:~
部署 Execute 服务 → 直接调用 exec 方法 → 命令执行结果通过 SOAP 响应返回

前置条件

  • 目标 Axis 环境的 WEB-INF/lib/ 目录下存在 freemarker.jar(Axis 1.4 默认自带)

使用方法

root@kitploit:~
# 执行单条命令
python3 axis_freemarker_exp.py -u http://localhost:8080/axis/ -c "whoami"

# 交互式 Shell
python3 axis_freemarker_exp.py -u http://localhost:8080/axis/ -i

# 带认证
python3 axis_freemarker_exp.py -u http://localhost:8080/axis/ -U admin -P admin -i

参数说明

特点

  • ✅ 不写入任何文件,无文件落地
  • ✅ 更隐蔽,只有日志记录
  • ⚠️ 需要目标存在 freemarker.jar
root@kitploit:~
下载工具
参数说明
-u, --url目标 Axis 服务地址
-c, --command执行单条命令
-i, --interactive交互式 Shell 模式
-U, --usernameBasic 认证用户名
-P, --passwordBasic 认证密码
参数说明
-u, --url目标 Axis 服务地址
-c, --command执行单条命令
-i, --interactive交互式 Shell 模式
-U, --usernameBasic 认证用户名
-P, --passwordBasic 认证密码