关联漏洞
标题:
Apache Struts 输入验证错误漏洞
(CVE-2018-11776)
描述:Apache Struts是美国阿帕奇(Apache)软件基金会负责维护的一个开源项目,是一套用于创建企业级Java Web应用的开源MVC框架,主要提供两个版本框架产品,Struts 1和Struts 2。Apache Struts 2是Apache Struts的下一代产品,是在Struts 1和WebWork的技术基础上进行了合并的全新Struts 2框架,其体系结构与Struts 1差别较大。 Apache Struts 2.3版本至2.3.34版本和2.5版本至2.5.16版本中存在输入验证漏洞
描述
Investigation of CVE-2018-11776 vulnerability that allows attackers to remotely execute code and gain control over Apache Struts-based applications.
介绍
# CVE-2018-11776
Investigation of CVE-2018-11776 vulnerability that allows attackers to remotely execute code and gain control over Apache Struts-based applications.
Install and Exploiting
<https://github.com/hook-s3c/CVE-2018-11776-Python-PoC>
# Suricata
In the file "test.rules " presents a rule for the Suricata utility. The rule allows network traffic to detect exploitable vulnerabilities.
The rule is connected in the `/etc/suricata/suricata file.yaml`:
```
default-rule-path: /etc/suricata
rule-files:
- test.rules
```
RUN:
```
suricata -c /etc/suricata/suricata.yaml –i docker0
```
Log `/var/log/suricata/fast.log`

# Kernel module
The kernel module blocks malicious network packets and writes to a log file.
The module handles only incoming traffic. The processing function finds TCP packets, identifies in the data field whether the HTTP request is a GET request, and if it is, checks whether the packet contains a previously defined signature.
Install
```
sudo insmod module_kernel.ko
```
Output results
```
sudo dmesg
```
文件快照
[4.0K] /data/pocs/71cad37e973915e1114af4f56c304f442781988e
├── [ 33K] log.PNG
├── [1.9K] module_kernel.ko
├── [1.1K] README.md
└── [ 236] test.rules
0 directories, 4 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。