7.4 CVE-2024-54848

Exploit
 

Improper handling and storage of certificates in CP Plus CP-VNR-3104 B3223P22C02424 allow attackers to decrypt communications or execute a man-in-the-middle attacks.
https://nvd.nist.gov/vuln/detail/CVE-2024-54848

Categories

CWE-295 : Improper Certificate Validation
The product does not validate, or incorrectly validates, a certificate. Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key. If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname. A Go framework for robotics, drones, and IoT devices skips verification of root CA certificates by default. chain: incorrect "goto" in Apple SSL product bypasses certificate validation, allowing Adversary-in-the-Middle (AITM) attack (Apple "goto fail" bug). CWE-705 (Incorrect Control Flow Scoping) -> CWE-561 (Dead Code) -> CWE-295 (Improper Certificate Validation) -> CWE-393 (Return of Wrong Status Code) -> CWE-300 (Channel Accessible by Non-Endpoint). Chain: router's firmware update procedure uses curl with "-k" (insecure) option that disables certificate validation (CWE-295), allowing adversary-in-the-middle (AITM) compromise with a malicious firmware image (CWE-494). Verification function trusts certificate chains in which the last certificate is self-signed. Web browser uses a TLS-related function incorrectly, preventing it from verifying that a server's certificate is signed by a trusted certification authority (CA) Web browser does not check if any intermediate certificates are revoked. Operating system does not check Certificate Revocation List (CRL) in some cases, allowing spoofing using a revoked certificate. Mobile banking application does not verify hostname, leading to financial loss. Cloud-support library written in Python uses incorrect regular expression when matching hostname. Web browser does not correctly handle '' character (NUL) in Common Name, allowing spoofing of https sites. Smartphone device does not verify hostname, allowing spoofing of mail services. Application uses third-party library that does not validate hostname. Cloud storage management application does not validate hostname. Java library uses JSSE SSLSocket and SSLEngine classes, which do not verify the hostname. chain: incorrect calculation allows attackers to bypass certificate checks. LDAP client accepts certificates even if they are not from a trusted CA. chain: DNS server does not correctly check return value from the OpenSSL EVP_VerifyFinal function allows bypass of validation of the certificate chain. chain: product checks if client is trusted when it intended to check if the server is trusted, allowing validation of signed code. Cryptographic API, as used in web browsers, mail clients, and other software, does not properly validate Basic Constraints. chain: OS package manager does not check properly check the return value, allowing bypass using a revoked certificate.

References


 

CPE

cpe start end
Configuration 1
AND
   cpe:2.3:o:cpplusworld:cp-vnr-3104_firmware:b3223p22c02424:*:*:*:*:*:*:*
  Running on/with
  cpe:2.3:h:cpplusworld:cp-vnr-3104:-:*:*:*:*:*:*:*


REMEDIATION




EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url
No known exploits

Other Nist (github, ...)

Url
https://payatu.com/blog/solving-the-problem-of-encrypted-firmware/


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
459 Creating a Rogue Certification Authority Certificate
Very High
475 Signature Spoofing by Improper Validation
High