PT-2024-33265 · Unknown · Agent Dart
Eduarddfinity
·
Published
2024-10-15
·
Updated
2024-10-16
·
CVE-2024-48915
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Agent Dart versions prior to 1.0.0-dev.29
Description
The issue is related to improper certificate verification in the
lib/agent/certificate.dart file. Specifically, during delegation verification in the checkDelegation function, the canister ranges are not verified, allowing a subnet to sign canister responses on behalf of another subnet. Additionally, the certificate's timestamp, i.e., the /time path, is not verified, effectively giving the certificate no expiration time.Recommendations
For versions prior to 1.0.0-dev.29, update to version 1.0.0-dev.29 to fix the certificate verification issue. As a temporary workaround, consider restricting the use of the
checkDelegation function in the lib/agent/certificate.dart file until the update is applied. Avoid using the canister ranges variable in the affected API endpoints until the issue is resolved.Exploit
Fix
Improper Verification of Cryptographic Signature
Improper Certificate Validation
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Agent Dart