Chi tiết CWE-622

CWE-622

Improper Validation of Function Hook Arguments
2007-05-07
00h00 +00:00
Draft
2026-10-28
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: Improper Validation of Function Hook Arguments

The product adds hooks to user-accessible API functions, but it does not properly validate the arguments.

Thông tin chung

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

Implementation : Function hooks can be used in defensive software that runs with privileges, such as anti-virus or firewall, which hooks kernel calls.

Nền tảng áp dụng

Ngôn ngữ

Lớp: Not Language-Specific (Undetermined)

Hậu quả phổ biến

Phạm vi Tác động Khả năng xảy ra
IntegrityUnexpected State, Bypass Protection Mechanism

Ghi chú: When the arguments are not validated, they could be used to bypass the protection mechanism or attack the product itself. This could lead to resultant vulnerabilities.

Ví dụ đã quan sát

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

CVE-2007-0708

DoS in firewall using standard Microsoft functions

CVE-2006-7160

DoS in firewall using standard Microsoft functions

CVE-2007-1376

function does not verify that its argument is the proper type, leading to arbitrary memory write

CVE-2007-1220

invalid syscall arguments bypass code execution limits

CVE-2006-4541

DoS in IDS via NULL argument

Các biện pháp giảm thiểu tiềm năng

Phases : Architecture and Design
Ensure that all arguments are verified, as defined by the API you are protecting.
Phases : Architecture and Design
Drop privileges before invoking such functions, if possible.

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

Lý do : This CWE entry is at the Variant level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
Bình luận : 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.

Gửi

Tên Tổ chức Ngày Ngày phát hành Version
CWE Content Team MITRE 2007-05-07 +00:00 2007-05-07 +00:00 Draft 6

Sửa đổi

Tên Tổ chức Ngày Bình luận
Eric Dalci Cigital 2008-07-01 +00:00 updated Time_of_Introduction
CWE Content Team MITRE 2008-09-08 +00:00 updated Description, Relationships, Observed_Example, Other_Notes
CWE Content Team MITRE 2009-12-28 +00:00 updated Other_Notes, Weakness_Ordinalities
CWE Content Team MITRE 2010-09-27 +00:00 updated Relationships
CWE Content Team MITRE 2011-06-01 +00:00 updated Common_Consequences
CWE Content Team MITRE 2011-06-27 +00:00 updated Common_Consequences
CWE Content Team MITRE 2012-05-11 +00:00 updated Relationships
CWE Content Team MITRE 2012-10-30 +00:00 updated Name, Potential_Mitigations
CWE Content Team MITRE 2014-07-30 +00:00 updated Relationships, Taxonomy_Mappings
CWE Content Team MITRE 2017-11-08 +00:00 updated Applicable_Platforms
CWE Content Team MITRE 2020-02-24 +00:00 updated Relationships
CWE Content Team MITRE 2020-06-25 +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 2026-10-28 +00:00 updated Common_Consequences, Description, Modes_of_Introduction