CWE

Common Weakness Enumeration

A community-developed list of SW & HW weaknesses that can become vulnerabilities

New to CWE? click here!
CWE Most Important Hardware Weaknesses
CWE Top 25 Most Dangerous Weaknesses
Home > CWE List > CWE-1428: Reliance on HTTP instead of HTTPS (4.17)  
ID

CWE-1428: Reliance on HTTP instead of HTTPS

Weakness ID: 1428
Vulnerability Mapping: ALLOWED This CWE ID may be used to map to real-world vulnerabilities
Abstraction: Base Base - a weakness that is still mostly independent of a resource or technology, but with sufficient details to provide specific methods for detection and prevention. Base level weaknesses typically describe issues in terms of 2 or 3 of the following dimensions: behavior, property, technology, language, and resource.
View customized information:
For users who are interested in more notional aspects of a weakness. Example: educators, technical writers, and project/program managers. For users who are concerned with the practical application and details about the nature of a weakness and how to prevent it from happening. Example: tool developers, security researchers, pen-testers, incident response analysts. For users who are mapping an issue to CWE/CAPEC IDs, i.e., finding the most appropriate CWE for a specific issue (e.g., a CVE record). Example: tool developers, security researchers. For users who wish to see all available information for the CWE/CAPEC entry. For users who want to customize what details are displayed.
×

Edit Custom Filter


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

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.

+ Common Consequences
Section HelpThis table specifies different individual consequences associated with the weakness. The Scope identifies the application security area that is violated, while the Impact describes the negative technical impact that arises if an adversary succeeds in exploiting this weakness. The Likelihood provides information about how likely the specific consequence is expected to be seen relative to the other consequences in the list. For example, there may be high likelihood that a weakness will be exploited to achieve a certain impact, but a low likelihood that it will be exploited to achieve a different impact.
Impact Details

Read Application Data; Modify Application Data

Scope: Confidentiality, Integrity

Likelihood: High

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).
+ Potential Mitigations
Phase(s) Mitigation

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).
+ Relationships
Section Help This table shows the weaknesses and high level categories that are related to this weakness. These relationships are defined as ChildOf, ParentOf, MemberOf and give insight to similar items that may exist at higher and lower levels of abstraction. In addition, relationships such as PeerOf and CanAlsoBe are defined to show similar weaknesses that the user may want to explore.
+ Relevant to the view "Research Concepts" (View-1000)
Nature Type ID Name
ChildOf Base Base - a weakness that is still mostly independent of a resource or technology, but with sufficient details to provide specific methods for detection and prevention. Base level weaknesses typically describe issues in terms of 2 or 3 of the following dimensions: behavior, property, technology, language, and resource. 319 Cleartext Transmission of Sensitive Information
+ Modes Of Introduction
Section HelpThe different Modes of Introduction provide information about how and when this weakness may be introduced. The Phase identifies a point in the life cycle at which introduction may occur, while the Note provides a typical scenario related to introduction during the given phase.
Phase Note
Architecture and Design The product might be designed in a way that assumes that HTTP will be used, e.g., by excluding considerations of encrypted communications between client and server.
Requirements Product requirements might not include encrypted communications, which could make it easier for designers and developers to choose HTTP.
Implementation Developers might choose to use unencrypted protocols such as HTTP because they would not require development of additional mechanisms to support encryption, e.g., key or certificate management.
Implementation When generating content that references web sites such as email messages, ensure that the https:// prefix is included. If a domain name is presented without such a prefix, then clients might automatically treat the link as if it had an "http" prefix. For example, referencing a domain like "mysite.example.com" could cause it to be treated like "http://mysite.example.com", thereby sending unencrypted HTTP requests.
Operation Designers might assume that the responsibility for encrypted communications might belong to operators and/or network administrators.
+ Applicable Platforms
Section HelpThis listing shows possible areas for which the given weakness could appear. These may be for specific named Languages, Operating Systems, Architectures, Paradigms, Technologies, or a class of such platforms. The platform is listed along with how frequently the given weakness appears for that instance.
Languages

Class: Not Language-Specific (Undetermined Prevalence)

Operating Systems

Class: Not OS-Specific (Undetermined Prevalence)

Architectures

Class: Not Architecture-Specific (Undetermined Prevalence)

Technologies

Class: Not Technology-Specific (Undetermined Prevalence)

+ Memberships
Section HelpThis MemberOf Relationships table shows additional CWE Categories and Views that reference this weakness as a member. This information is often useful in understanding where a weakness fits within the context of external information sources.
Nature Type ID Name
MemberOf CategoryCategory - a CWE entry that contains a set of other entries that share a common characteristic. 1402 Comprehensive Categorization: Encryption
+ Vulnerability Mapping Notes
Usage ALLOWED
(this CWE ID may be used to map to real-world vulnerabilities)
Reason Acceptable-Use

Rationale

This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.

Comments

Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.
+ References
[REF-1461] Amazon. "What's the Difference Between HTTP and HTTPS?".
<https://aws.amazon.com/compare/the-difference-between-https-and-http/>. (URL validated: 2025-03-29)
[REF-1462] Cloudflare. "Why is HTTP not secure? | HTTP vs. HTTPS".
<https://www.cloudflare.com/learning/ssl/why-is-http-not-secure/>. (URL validated: 2025-03-29)
[REF-1463] Bob Lord. "Every Pipe, Every Byte: The Case for Universal Encryption". 2024-12-12.
<https://medium.com/@boblord/every-pipe-every-byte-the-case-for-universal-encryption-b8e08939d2b9>. (URL validated: 2025-03-29)
[REF-1464] Electronic Frontier Foundation. "Encrypting the Web".
<https://www.eff.org/encrypt-the-web/>. (URL validated: 2025-03-29)
[REF-1465] OWASP. "Application Security Verification Standard 4.0.3 - Final". V1.9 Communications Architecture.
<https://github.com/OWASP/ASVS/blob/v4.0.3/4.0/OWASP%20Application%20Security%20Verification%20Standard%204.0.3-en.pdf>. (URL validated: 2025-03-29)
[REF-1465] OWASP. "Application Security Verification Standard 4.0.3 - Final". V9.1 Client Communication Security.
<https://github.com/OWASP/ASVS/blob/v4.0.3/4.0/OWASP%20Application%20Security%20Verification%20Standard%204.0.3-en.pdf>. (URL validated: 2025-03-29)
[REF-1465] OWASP. "Application Security Verification Standard 4.0.3 - Final". V9.2 Server Communication Security.
<https://github.com/OWASP/ASVS/blob/v4.0.3/4.0/OWASP%20Application%20Security%20Verification%20Standard%204.0.3-en.pdf>. (URL validated: 2025-03-29)
[REF-1466] "Fixing mixed content". 2019-09-07.
<https://web.dev/articles/fixing-mixed-content>. (URL validated: 2025-04-01)
[REF-1467] Mozilla. "Mixed content". 2025-03-13.
<https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content>. (URL validated: 2025-04-01)
+ Content History
+ Submissions
Submission Date Submitter Organization
2025-03-28
(CWE 4.17, 2025-04-03)
CWE Content Team MITRE
+ Contributions
Contribution Date Contributor Organization
2023-02-08
(CWE 4.17, 2025-04-03)
Michal Biesiada
suggested that CWE include "lack of HTTPS forcing" and "using HTTP instead of HTTPS with email and other content," and contributed references
Page Last Updated: April 03, 2025