Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-622 (函数挂钩参数的验证不恰当) — Vulnerability Class 2

2 vulnerabilities classified as CWE-622 (函数挂钩参数的验证不恰当). AI Chinese analysis included.

CWE-622 represents a critical input validation weakness where software integrates hooks into user-accessible API functions without adequately verifying the arguments passed to them. This flaw is typically exploited by attackers who manipulate these function calls to bypass security controls or directly compromise the hooking application itself. In privileged defensive software, such as antivirus programs or firewalls that intercept kernel calls, unvalidated arguments can allow malicious actors to evade detection mechanisms or trigger internal vulnerabilities. Developers mitigate this risk by implementing rigorous argument checking routines within the hook logic. By ensuring that all inputs meet expected formats, ranges, and types before processing, developers prevent attackers from injecting malicious payloads. This strict validation safeguards the integrity of the hooking mechanism, ensuring that the defensive software remains resilient against manipulation and maintains its intended protective posture against external threats.

MITRE CWE Description
The product adds hooks to user-accessible API functions, but it does not properly validate the arguments. This could lead to resultant vulnerabilities. Such hooks can be used in defensive software that runs with privileges, such as anti-virus or firewall, which hooks kernel calls. When the arguments are not validated, they could be used to bypass the protection scheme or attack the product itself.
Common Consequences (1)
IntegrityUnexpected State
Mitigations (2)
Architecture and DesignEnsure that all arguments are verified, as defined by the API you are protecting.
Architecture and DesignDrop privileges before invoking such functions, if possible.
CVE IDTitleCVSSSeverityPublished
CVE-2024-0312 Skyhigh Client Proxy 安全漏洞 — Skyhigh Client Proxy 5.5 Medium2024-03-14
CVE-2024-0311 Skyhigh Client Proxy 安全漏洞 — Skyhigh Client Proxy 5.5 Medium2024-03-14

Vulnerabilities classified as CWE-622 (函数挂钩参数的验证不恰当) represent 2 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.