Katalog CWE

CWE-1428 · Słabość

Reliance on HTTP instead of HTTPS

Abstrakcja
Bazowa
Status
Niekompletny
Dodano
8 lutego 2023
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

The product provides or relies on use of HTTP communications when HTTPS is available.

Because HTTP communications are not encrypted, HTTP is subject to various attacks against confidentiality, integrity, and authenticity. However, unlike many other protocols, HTTPS is widely available as a more secure alternative, because it uses encryption.

Skutki

  • Confidentiality, Integrity

    Read Application Data; Modify Application Data

    HTTP can be subjected to attacks against confidentiality (by reading cleartext packets); integrity (by modifying sessions); and authenticity (by compromising servers and/or clients using cache poisoning, phishing, or other attacks that enable attackers to spoof a legitimate entity in the communication channel).

Zapobieganie

  • Architecture and Design

    Explicitly require HTTPS or another mechanism that ensures that communication is encrypted [REF-1464].

  • Implementation

    Avoid using "mixed content," i.e., serving a web page over HTTPS in which the page includes elements that use "http:" URLs [REF-1466] [REF-1467]. This is often done for images or other resources that do not seem to have privacy or security implications.

  • Implementation, Operation

    Perform "HTTPS forcing," that is, redirecting HTTP requests to HTTPS.

  • Operation

    If the product supports multiple protocols, ensure that encrypted protocols (such as HTTPS) are required, and remove any unencrypted protocols (such as HTTP).

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific, Not OS-Specific, Not Architecture-Specific, Not Technology-Specific

Źródła

  1. What's the Difference Between HTTP and HTTPS? — Amazon
  2. Why is HTTP not secure? | HTTP vs. HTTPS — Cloudflare
  3. Every Pipe, Every Byte: The Case for Universal Encryption — Bob Lord, 2024
  4. Encrypting the Web — Electronic Frontier Foundation
  5. Application Security Verification Standard 4.0.3 - Final — OWASP, V1.9 Communications Architecture
  6. Application Security Verification Standard 4.0.3 - Final — OWASP, V9.1 Client Communication Security
  7. Application Security Verification Standard 4.0.3 - Final — OWASP, V9.2 Server Communication Security
  8. Fixing mixed content — 2019
  9. Mixed content — Mozilla, 2025

Wpis z katalogu CWE 4.20.