关联漏洞
描述
AES-CFB IV Generation Vulnerability in Reolink Desktop Application
介绍
# CVE-2025-56801
### AES-CFB IV Generation Vulnerability in Reolink Desktop Application
## 1. Overview
<img src="images/reolink-icon.png" alt="Reolink Icon" align="left" width="150" hspace="10"/>
<br clear="left"/>
- **Name**: Reolink Desktop Application
- **Version**: 8.18.12
- **Vendor**: Reolink
- **CWE**: [CWE-1204: Generation of Weak Initialization Vector (IV)](https://cwe.mitre.org/data/definitions/1204.html)
- **CVSS**:
- **Vector String**:
## 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 Initialization Vector (IV) used in this process is handled improperly, leading to a vulnerability where encrypted configuration data can be easily decrypted by an attacker.
## 3. Details
The following code shows that the IV is generated dynamically at runtime:
```javascript
{
key: "fetchAesIv",
value: function () {
return window.napiDecrypt.getAesIv();
},
}
```
However, the value returned is always the same string: `bcswebapp1234567`.
This means that although the IV is technically generated at runtime, it is effectively hardcoded, providing no additional security.
## 4. Proof of Concept (PoC)
While the application is running, the IV value can be retrieved dynamically via the DevTools JavaScript console.
The `window.napiDecrypt.getAesIv()` function returns a Promise that resolves to a constant string `bcswebapp1234567`.

This demonstrates that the IV is reused across all encryption operations, violating cryptographic best practices.
## 5. Recommendations
In block cipher modes such as CFB, CBC, and OFB, reusing an IV can allow an attacker to predict ciphertext patterns, ultimately compromising data confidentiality. To fulfill the purpose of an IV, a new, unpredictable value must be dynamically generated.
## 6. References
文件快照
[4.0K] /data/pocs/0adee577dd4aec20b92cb82cd7bf22a762fceba0
├── [4.0K] images
│ ├── [4.9K] reolink-icon.png
│ └── [ 40K] reolink-poc.png
└── [1.9K] README.md
1 directory, 3 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。