关联漏洞
介绍
# CVE-2021-41773
This is the deployment for Apache 2.4.49 which associates with CVE-2021-41773 using Docker container.
## Description:
A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue is known to be exploited in the wild. This issue only affects Apache 2.4.49 and not earlier versions.
## Requirement:
Required atleast 1 CPU, 1GB RAM and 25GB Storage if using Digital Ocean's droplet. (Monthly around $5 only)
## Setup:
### Local File Inclusion:
```
docker-compose up --build -d apache-lfi
```
### Remote Code Execution:
```
docker-compose up --build -d apache-rce
```
## Volumes:
## References:
- https://blogs.juniper.net/en-us/threat-research/apache-http-server-cve-2021-42013-and-cve-2021-41773-exploited
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41773
- https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2021-41773
- https://nvd.nist.gov/vuln/detail/CVE-2021-41773
## License
Released under [MIT](/LICENSE) by [@ahmad4fifz](https://github.com/ahmad4fifz).
文件快照
[4.0K] /data/pocs/1a74a98c769f0ca06f73ac447c5c1edcd0499d8e
├── [4.0K] apache-lfi
│ ├── [4.0K] conf
│ │ └── [ 20K] httpd.conf
│ ├── [ 852] Dockerfile
│ └── [4.0K] web
│ └── [1.2K] index.html
├── [4.0K] apache-rce
│ ├── [4.0K] conf
│ │ └── [ 20K] httpd.conf
│ ├── [ 852] Dockerfile
│ └── [4.0K] web
│ └── [1.2K] index.html
├── [ 672] docker-compose.yml
└── [1.4K] README.md
6 directories, 8 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。