POC详情: ef9b7dfeca119199f7e10e14eef3d4877568c6d4

来源
关联漏洞
标题: Apache Tomcat 安全漏洞 (CVE-2020-1938)
描述:Apache Tomcat是美国阿帕奇(Apache)基金会的一款轻量级Web应用服务器。该程序实现了对Servlet和JavaServer Page(JSP)的支持。 Apache Tomcat 7.0.100版本之前的7.*版本、8.5.51版本之前的8.*版本和9.0.31版本之前的9.*版本中的Tomcat AJP协议存在安全漏洞。攻击者可利用该漏洞读取或包含Tomcat上所有webapp目录下的任意文件,如 webapp 配置文件或源代码等。
描述
An implementation of CVE-2020-1938
介绍
### This tool exploits an [LFI vulnerability](https://secnhack.in/local-file-inclusion-lfi-types-mitigation-and-exploit/) within Apache Tomcat named [CVE-2020-1938](https://nvd.nist.gov/vuln/detail/CVE-2020-1938) to not only view sensitive files, but also to run malicious JSP payloads.
## It can be downloaded [here](https://github.com/jptr218/ghostcat/raw/main/ghostcat.exe) (you will need to run it from the command line)
### Usage:

### `ghostcat [target] [HTTP port] [AJP port] [file] [read/eval]`
文件快照
 [4.0K]  /data/pocs/ef9b7dfeca119199f7e10e14eef3d4877568c6d4
├── [109K]  ghostcat.exe
├── [ 503]  README.md
└── [4.0K]  src
    ├── [ 899]  hdr.h
    ├── [ 938]  main.cpp
    ├── [1.6K]  misc.cpp
    └── [1.4K]  payload.cpp

1 directory, 6 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。