Chi tiết CWE-1023

CWE-1023

Incomplete Comparison with Missing Factors
2018-03-29
00h00 +00:00
Incomplete
2026-04-30
00h00 +00:00
Thông báo cho một CWE
Luôn được thông báo về mọi thay đổi đối với một CWE cụ thể.
Quản lý thông báo

Tên: Incomplete Comparison with Missing Factors

The product performs a comparison between entities that must consider multiple factors or characteristics of each entity, but the comparison does not include one or more of these factors.

Thông tin chung

Các cách xuất hiện

Implementation

Nền tảng áp dụng

Ngôn ngữ

Lớp: Not Language-Specific (Undetermined)

Công nghệ

Lớp: Not Technology-Specific (Undetermined)

Hậu quả phổ biến

Phạm vi Tác động Khả năng xảy ra
Integrity
Access Control
Alter Execution Logic, Bypass Protection Mechanism

Ghi chú: An incomplete comparison can lead to resultant weaknesses, e.g., by operating on the wrong object or making a security decision without considering a required factor.

Ví dụ đã quan sát

Tài liệu tham khảo Mô tả

CVE-2005-2782

PHP remote file inclusion in web application that filters "http" and "https" URLs, but not "ftp".

CVE-2014-6394

Product does not prevent access to restricted directories due to partial string comparison with a public directory

Phương pháp phát hiện

Manual Static Analysis

Thoroughly test the comparison scheme before deploying code into production. Perform positive testing as well as negative testing.

Ghi chú ánh xạ lỗ hổng

Lý do : This CWE entry is a Class and might have Base-level children that would be more appropriate
Bình luận : Examine children of this entry to see if there is a better fit

Gửi

Tên Tổ chức Ngày Ngày phát hành Version
CWE Content Team MITRE 2018-01-04 +00:00 2018-03-29 +00:00 3.1

Sửa đổi

Tên Tổ chức Ngày Bình luận
CWE Content Team MITRE 2019-01-03 +00:00 updated Relationships
CWE Content Team MITRE 2020-02-24 +00:00 updated Description, Relationships, Type
CWE Content Team MITRE 2021-03-15 +00:00 updated Demonstrative_Examples
CWE Content Team MITRE 2023-01-31 +00:00 updated Description
CWE Content Team MITRE 2023-04-27 +00:00 updated Relationships
CWE Content Team MITRE 2023-06-29 +00:00 updated Mapping_Notes
CWE Content Team MITRE 2023-10-26 +00:00 updated Observed_Examples
CWE Content Team MITRE 2025-12-11 +00:00 updated Applicable_Platforms, Common_Consequences, Description
CWE Content Team MITRE 2026-04-30 +00:00 updated Detection_Factors, Potential_Mitigations