# CVE-2020-9496
## Set-up Vulnerable Environment
```bash
▶ wget http://archive.apache.org/dist/ofbiz/apache-ofbiz-17.12.01.zip
▶ unzip apache-ofbiz-17.12.01.zip
▶ cd apache-ofbiz-17.12.01
▶ sh gradle/init-gradle-wrapper.sh
▶ ./gradlew cleanAll loadDefault
▶ ./gradlew "ofbiz --load-data readers=seed,seed-initial,ext"
▶ ./gradlew ofbiz # Start OFBiz
```
Open a browser and go to `https://localhost:8443`.
The default administrative account is username: **admin** password: **ofbiz**.
## Proof of Concept
### Using [nuclei](https://github.com/projectdiscovery/nuclei)
- https://github.com/projectdiscovery/nuclei-templates/pull/312
```
> echo "https://localhost:8443" | nuclei -t cves/CVE-2020-9496.yaml
```
[4.0K] /data/pocs/44e9981fe3bf77f41d9d09872115993acf7141a6
└── [ 729] README.md
0 directories, 1 file