101 matches found
CVE-2020-1938
CVE-2020-1938 该CVE-2020-1938已修正了来自https://github.com/Hancheng-Lei/Hacking-Vulnerability-CVE-2020-1938-Ghostcat.git的PoC的错误,并在Apache Tomcat/8.0.43版本上验证了运行。 实验方法 1. 创建 docker-compose.yml 2. docker compose up -d 3. python3 CVE-2020-1938.py -p 8009 -f WEB-INF/web.xml 最终结果...
ajpfuzzer
AJPFuzzer - 一个针对 AJPv1.3 的命令行模糊测试工具 AJPFuzzer 是一个针对 Apache JServ 协议 ajp13 的基础模糊测试工具。 该工具基于 libajp13,通过易用的命令行界面让您创建和发送 AJP 消息。AJPFuzzer 可以构建格式正确的 AJP13 消息(所有消息类型),以及变异消息(例如位翻转、类型不匹配等),从而便于针对基于 AJP 的服务(如 Web 服务器的 AJP 模块、J2EE 容器等)进行安全测试。 使用方法 1. 从 发布页面 下载最新的 AJPFuzzer jar 文件 2. 使用以下命令运行下载的 jar 文件:...
CVE-2020-1938
CVE-2020-1938-tomcat-文件下载+文件包含 Tomcat-Ajp协议文件读取漏】 源poc来源:https://github.com/nibiwodong/CNVD-2020-10487-Tomcat-ajp-POC/blob/master/poc.py 修改后可包含文件,在某些条件下可以执行命令...
CVE-2020-1938TomcatAjpScanner
CVE-2020-1938TomcatAjpScanner 批量扫描TomcatAJP漏洞 漏洞详情 2020年1月6日,国家信息安全漏洞共享平台(CNVD)收录了Apache Tomcat文件包含漏洞(CNVD-2020-10487,对应CVE-2020-1938)。攻击者利用该漏洞,可在未授权的情况下远程读取特定目录下的任意文件。目前,漏洞细节尚未公开,厂商已发布新版本完成漏洞修复。 漏洞分析 https://mp.weixin.qq.com/s/8Wueh4lkKBtfNisjxOSoWA 脚本使用 python CVE-2020-1938TomcatAjpScanner -h...
CNVD-2020-10487-Tomcat-Ajp-lfi-Scanner
python2多线程扫描Tomcat-Ajp协议文件读取漏洞 刷src分狗的福利 poc来源于https://github.com/YDHCUI/CNVD-2020-10487-Tomcat-Ajp-lfi/,poc作者不是本人!!!! 操作 1、将需要扫描的域名/ip放于 ip.txt ip.txt中不需要加协议,比如 root@kitploit: 127.0.0.1 www.baidu.com www.google.com 2、python threading-find-port-8009.py 将会生成8009.txt,作用为扫描ip.txt中域名/ip找出开放8009端口...
CVE-2020-1938
CVE-2020-1938 工具仅用于安全研究以及内部自查,禁止使用工具发起非法攻击,造成的后果使用者负责 apache-tomcat-8.5.32.zip 测试tomcat 任意文件读取 root@kitploit: java -jar 1.jar com.threedr3am.bug.tomcat.ajp.FileRead 127.0.0.1 8009 file /index.jsp 文件包含 root@kitploit: java -jar 1.jar com.threedr3am.bug.tomcat.ajp.FileRead 127.0.0.1 8009 jsp...
Ghostcat-Tomcat-AJP-Exploit-Py3
Tomcat Ghostcat CVE-2020-1938 / CNVD-2020-10487 漏洞检测工具 简介 本项目提供了一个用于验证 Apache Tomcat AJP 协议本地文件包含漏洞(俗称 Ghostcat 幽灵猫,CVE-2020-1938 / CNVD-2020-10487)的 Python 验证脚本。 此脚本基于最初流传的 Python 2 版本进行了全面重构与修复 ,完全兼容 Python 3 环境,修复了 StringIO、base64 编码以及二进制数据与字符串拼接时的兼容性问题,增强了在现代操作系统上的稳定性。 漏洞原理 Apache Tomcat 在处理...
Ghostcat-CNVD-2020-10487
Ghostcat exp for CNVD-2020-10487CVE-2020-1938 tomcat ajp协议任意属性设置导致的文件读取和文件执行。 漏洞分析 代码仅供安全测试,请勿用于非法用途,造成的后果使用者负责与本人无关!!! root@kitploit: python3 ajpShooter.py -h /\ / \ | | | //\ | | ' \ \ | ' \ / \ / | / \ '| / | | | | \ \ | | | | | || / | / // | ./ /| ||/ / \|| |/|| 00theway,just for test...
httpd: mod_proxy_ajp: heap-based buffer over-read and memory disclosure in ajp_parse_data()
A flaw was found in the modproxyajp module of httpd. When processing AJP Apache JServ Protocol messages, the ajpparsedata function attempts to read data beyond the allocated buffer size, allowing an attacker or a malformed request to cause a heap-based buffer over-read. This issue potentially lea...
Apache HTTP Server: mod_proxy_ajp: Apache HTTP Server mod_proxy_ajp: Arbitrary code execution via heap-based buffer overflow
A flaw was found in modproxyajp of Apache HTTP Server. This heap-based buffer overflow vulnerability allows a remote attacker, by connecting to a malicious AJP Apache JServ Protocol server, to send a specially crafted message. This message can cause modproxyajp to write attacker-controlled data...
CVE-2020-1938-Tomcat-AJP-Ghostcat--Analysis
CVE-2020-1938 Tomcat AJP Ghostcat 分析 此仓库包含针对 CVE-2020-1938 Ghostcat 的 Markdown 分析报告以及报告中使用的图片素材。 目录 报告:docs/report/CVE-2020-1938-Analysis-Report.md 图片:docs/images 报告范围 报告围绕以下内容组织: 漏洞背景 使用 PoC 的攻击流程 基于 Tomcat 源代码的根本原因分析 文件读取和 JSP 执行的触发条件 Tomcat 9.0.30 和 9.0.31 之间的补丁对比 仓库结构 root@kitploit: docs/...
GhostCat-LFI-exp
GhostCat-LFI-exp CVE-2020-1938 原EXP:https://github.com/YDHCUI/CNVD-2020-10487-Tomcat-Ajp-lfi 只修改了以处,可以本地包含(执行)任意项目下的任意文件。...
CVE-2020-1938-Tool
CVE-2020-1938-Tool 首先感谢hypn0s提供的AJP协议请求构造的工具AJPY(一个python库),本项目在此基础上实现批量检测幽灵猫漏洞站点。 使用方法 暂时拥有两种功能 root@kitploit: usage: tomcat.py -h readfile,scanfiles ... positional arguments: readfile,scanfiles readfile Exploit CVE-2020-1938 scanfiles scan a file list optional arguments: -h, --help show this he...
tomcatfileread
CVE-2020-1938 Tomcat File Read / File Include Ghostcat — python3 CVE-2020-1938 CNVD-2020-10487 Tomcat AJP 协议文件读取 / 文件包含漏洞利用 POC 的 python3 转换版 。 原版(python2)作者: ydhcui — https://github.com/YDHCUI/CNVD-2020-10487-Tomcat-Ajp-lfi 用法 root@kitploit: python3 "Tomcat-ROOT路径下文件包含CVE-2020-1938-python3.py" -...
httpd: mod_proxy_ajp: heap-based buffer over-read and memory disclosure in ajp_parse_data()
A flaw was found in the modproxyajp module of httpd. When processing AJP Apache JServ Protocol messages, the ajpparsedata function attempts to read data beyond the allocated buffer size, allowing an attacker or a malformed request to cause a heap-based buffer over-read. This issue potentially lea...
httpd: mod_proxy_ajp: heap-based buffer over-read due to missing null-termination check
A flaw was found in the modproxyajp module of httpd. When processing AJP Apache JServ Protocol messages, the server fails to properly check if a string is null-terminated before attempting to read it, allowing an attacker or a malformed request to cause a heap-based buffer over-read. This issue...
Apache HTTP Server: mod_proxy_ajp: Apache HTTP Server mod_proxy_ajp: Arbitrary code execution via heap-based buffer overflow
A flaw was found in modproxyajp of Apache HTTP Server. This heap-based buffer overflow vulnerability allows a remote attacker, by connecting to a malicious AJP Apache JServ Protocol server, to send a specially crafted message. This message can cause modproxyajp to write attacker-controlled data...
Exploit for CVE-2020-1938
CVE-2020-1938 Tomcat File Read / File Include Ghostcat — pyt...
Exploit for CVE-2020-1938
CVE-2020-1938 Tomcat File Read / File Include Ghostcat — pyt...
httpd: mod_proxy_ajp: off-by-one out-of-bounds reads in AJP getter functions
A flaw was found in the modproxyajp module of httpd. When processing AJP Apache JServ Protocol messages, the AJP getter functions attempt to read data beyond the allocated buffer size, allowing an attacker or a malformed request to cause an out-of-bounds read. This issue leads to a denial of...