Share
## https://sploitus.com/exploit?id=495E99E5-C1B0-52C1-9218-384D04161BE4
# CVE-2021-42013

This is the deployment for Apache 2.4.50 which associates with CVE-2021-42013 using Docker container.

## Description:

It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. 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 only affects Apache 2.4.49 and Apache 2.4.50 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 
```

## Volumes:



## References:

- https://blogs.juniper.net/en-us/threat-research/apache-http-server-cve-2021-42013-and-cve-2021-41773-exploited
- https://vulners.com/cve/CVE-2021-42013
- https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2021-42013
- https://nvd.nist.gov/vuln/detail/CVE-2021-42013

## License

Released under [MIT](/LICENSE) by [@ahmad4fifz](https://github.com/ahmad4fifz).