Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-56802 — AES-CFB Key Generation and Management Vulnerability in Reolink Desktop Application | Kitploit
Tools/GitHubGitHub/shinycolumn/cve-2025-56802
Vulnerability AnalysisExploitationReverse EngineeringCryptographyBinary AnalysisLearning & Education
GitHubshinycolumn/cve-2025-56802

CVE-2025-56802

AES-CFB Key Generation and Management Vulnerability in Reolink Desktop Application

View Repository
710 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-56802

AES-CFB Key Generation and Management Vulnerability in Reolink Desktop Application

1. Overview

Reolink Icon
  • Name: Reolink Desktop Application
  • Version: 8.18.12
  • Vendor: Reolink
  • CWE: CWE-321: Use of Hard-coded Cryptographic Key, CWE-522: Insufficiently Protected Credentials
  • CVSS: 5.1 MEDIUM
  • Vector String: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

2. Summary

The Reolink Desktop Application (version 8.18.12) uses the AES-CFB algorithm to encrypt configuration files and other sensitive data.

However, the encryption key is handled in an insecure manner, which allows attackers to easily decrypt the protected configuration data.

3. Details

The Reolink application stores user configuration and other sensitive information at the following path:

root@kitploit:~
%APPDATA%\reolink\<UUID>.json

<UUID> has this format: 424e044d-aa27-4e59-873a-26b9f16be9ad

This configuration file is encrypted using AES-CFB, and the AES key used for decryption is derived through the following process:

  1. Open the file located at the following path:

    root@kitploit:~
    %APPDATA%\com.reolink.app.client
    

    The file contains data in JSON format, for example:

    root@kitploit:~
          {
     	"data": "+lWlitlpr9vBiG71RCJYoPSJKVnUgGVbgu4v9W6K3N0kzgLv9HEQpqVi2fMnHdb7iWhYgb5KeRhYb6IPVWRR4kxTcwTDfQmMOvFWLuqHPRJBt9ozPSo4TYDXzjBN0YAW",
     	"__internal__": {
     		"migrations": {
     			"version": "8.18.12"
     		}
     	}
     }
    
  2. The application uses MD5("com.reolink.app").upper() as the primary AES key, and bcswebapp1234567 as the IV. The encrypted string (data) is base64-decoded and then decrypted. The decrypted string has this format: 59083200-3875-4f67-a067-d953286114a0

  3. The final key is MD5("<DECRYPTED_STRING>").upper().encode(), and the IV remains the same (bcswebapp1234567). This is used to decrypt the configuration file, <UUID>.json.

4. Proof of Concept (PoC)

By executing poc.py, you can get the final key before it is MD5 hashed (in the format 59083200-3875-4f67-a067-d953286114a0) and the contents of the configuration file.

5. Recommendations

A hash of a hard-coded static string, such as com.reolink.app, should not be used as the primary key.

Additionally, keys should not be stored in a predictable local file, such as in %APPDATA%. Strong, validated secure keystores provided by the operating system, such as Windows DPAPI or macOS Keychain, must be used to protect all sensitive credentials.

6. References

  • https://www.cve.org/CVERecord?id=CVE-2025-56802
  • https://nvd.nist.gov/vuln/detail/CVE-2025-56802
  • https://github.com/shinyColumn/CVE-2025-56799
  • https://github.com/shinyColumn/CVE-2025-56801
Download Tool