Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Axis1.4-CVE-2019-0227 — Apache Axis1.4 远程命令执行漏洞利用工具 - CVE-2019-0227,支持随机化服务名和Webshell文件名 | Kitploit
Tools/GitHubGitHub/1475210817/axis1.4-cve-2019-0227
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHub1475210817/axis1.4-cve-2019-0227

Axis1.4-CVE-2019-0227

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

View Repository
3 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Axis1.4 CVE-2019-0227 Remote Command Execution Exploit Tool

📖 Vulnerability Description

Apache Axis1.4 contains a remote command execution vulnerability (CVE-2019-0227). When the enableRemoteAdmin property is set to true, an attacker can deploy a malicious service through the AdminService interface, thereby executing arbitrary system commands on the target server.

Affected version: Apache Axis ≤ 1.4

Trigger condition: enableRemoteAdmin set to true

🎯 Two Exploitation Methods

MethodScriptPrincipleWrites FileStealth
Method 1: JSP Webshelljsp-webshell/axis_exp.pyWrites a JSP Webshell via LogHandler✅ YesLow
Method 2: Freemarker Direct Executionfreemarker-exec/axis_freemarker_exp.pyDirectly calls the Freemarker Execute class to run commands❌ NoHigh

🚀 Quick Start

Method 1: JSP Webshell

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

Method 2: Freemarker Direct Execution

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

📦 Install Dependencies

root@kitploit:~
pip install requests urllib3

📁 Directory Structure

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

⚠️ Disclaimer

This tool is intended for security research and authorized testing only. Unauthorized use of this tool to attack target systems is illegal. Users assume all legal responsibility.

📄 License

MIT License


📝 Subdirectory README (jsp-webshell/README.md)

root@kitploit:~
# Axis1.4 CVE-2019-0227 Exploit Script - JSP Webshell Method

## Principle

Deploy a malicious service via Axis AdminService, use LogHandler to write a JSP Webshell, then execute commands via GET requests.

## Attack Flow

Deploy malicious service → LogHandler writes shell.jsp → GET request executes command

root@kitploit:~

## Usage

```bash
# Execute a single command
python3 axis_exp.py -u http://localhost:8080/axis/ -c "whoami"

# Interactive Shell
python3 axis_exp.py -u http://localhost:8080/axis/ -i

# With authentication
python3 axis_exp.py -u http://localhost:8080/axis/ -U admin -P admin -i

Parameter Description

ParameterDescription
-u, --urlTarget Axis service URL
-c, --commandExecute a single command
-i, --interactiveInteractive Shell mode
-U, --usernameBasic authentication username
-P, --passwordBasic authentication password

Features

  • ✅ Strong universality, no additional components required
  • ❌ Leaves a webshell file
root@kitploit:~

## 📝 Subdirectory README (freemarker-exec/README.md)

Axis1.4 CVE-2019-0227 Exploit Script - Freemarker Direct Execution Method

Principle

Deploy a service pointing to the freemarker.template.utility.Execute class via Axis AdminService, directly call its exec method to execute system commands, without writing any files.

Attack Flow

root@kitploit:~
Deploy Execute service → Directly call exec method → Command execution result returned via SOAP response

Prerequisites

  • The target Axis environment must have freemarker.jar in the WEB-INF/lib/ directory (Axis 1.4 ships it by default)

Usage

root@kitploit:~
# Execute a single command
python3 axis_freemarker_exp.py -u http://localhost:8080/axis/ -c "whoami"

# Interactive Shell
python3 axis_freemarker_exp.py -u http://localhost:8080/axis/ -i

# With authentication
python3 axis_freemarker_exp.py -u http://localhost:8080/axis/ -U admin -P admin -i

Parameter Description

ParameterDescription
-u, --urlTarget Axis service URL
-c, --commandExecute a single command
-i, --interactiveInteractive Shell mode
-U, --usernameBasic authentication username
-P, --passwordBasic authentication password

Features

  • ✅ No files written, no file drop
  • ✅ More stealthy, only log records
  • ⚠️ Requires freemarker.jar on the target
root@kitploit:~
Download Tool