CWE-89 SQL命令中使用的特殊元素转义处理不恰当(SQL注入) 类弱点 10452 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-89即SQL注入,属于输入验证类漏洞。当软件未对用户输入进行充分净化或转义,直接将其拼接到SQL命令中时,攻击者可注入恶意SQL代码,从而篡改查询逻辑、绕过身份验证或窃取敏感数据。开发者应避免直接拼接字符串,转而使用参数化查询或预编译语句,确保用户输入仅被视为数据而非可执行代码,从而从根本上阻断注入路径。
... string userName = ctx.getAuthenticatedUserName(); string query = "SELECT * FROM items WHERE owner = '" + userName + "' AND itemname = '" + ItemName.Text + "'"; sda = new SqlDataAdapter(query, conn); DataTable dt = new DataTable(); sda.Fill(dt); ...
SELECT * FROM items WHERE owner = <userName> AND itemname = <itemName>;
| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2022-0513 | WordPress plugin VeronaLabs WP Statistics SQL注入漏洞 — WP Statistics | 9.8 | Critical | 2022-02-16 |
| CVE-2022-0190 | WordPress和WordPress plugin SQL注入漏洞 — Ad Invalid Click Protector (AICP) | 8.8 | - | 2022-02-14 |
| CVE-2021-25109 | WordPress和WordPress plugin SQL注入漏洞 — Futurio Extra | 2.7 | - | 2022-02-14 |
| CVE-2022-22540 | SAP NetWeaver AS SQL注入漏洞 — SAP NetWeaver AS ABAP (Workplace Server) | 7.5 | - | 2022-02-09 |
| CVE-2021-25114 | WordPress SQL注入漏洞 — Paid Memberships Pro | 9.8 | - | 2022-02-07 |
| CVE-2021-24928 | Wordpress Plugin Rearrange Woocommerce Products 安全漏洞 — Rearrange Woocommerce Products | 7.1 | - | 2022-02-07 |
| CVE-2021-43927 | Synology DiskStation Manager SQL注入漏洞 — DiskStation Manager (DSM) | 4.7 | Medium | 2022-02-07 |
| CVE-2021-43926 | Synology DiskStation Manager SQL注入漏洞 — DiskStation Manager (DSM) | 4.7 | Medium | 2022-02-07 |
| CVE-2021-43925 | Synology DiskStation Manager SQL注入漏洞 — DiskStation Manager (DSM) | 4.7 | Medium | 2022-02-07 |
| CVE-2021-44779 | WordPress plugin SQL注入漏洞 — [GWA] AutoResponder (WordPress plugin) | 7.3 | High | 2022-02-04 |
| CVE-2021-24762 | WordPress pluginSQL注入漏洞 — Perfect Survey | 9.8 | - | 2022-02-01 |
| CVE-2022-0362 | showdoc SQL注入漏洞 — star7th/showdoc | 8.8 | - | 2022-01-26 |
| CVE-2021-36348 | Dell Emc Idrac 注入漏洞 — Integrated Dell Remote Access Controller (iDRAC) | 8.1 | - | 2022-01-25 |
| CVE-2022-0332 | Moodle SQL注入漏洞 — moodle | 9.8 | - | 2022-01-25 |
| CVE-2021-43863 | Nextcloud Android app SQL注入漏洞 — android | 7.5 | High | 2022-01-25 |
| CVE-2021-4088 | Mozilla Thunderbird SQL注入漏洞 — McAfee Data Loss Prevention (DLP) ePO Extension | 8.4 | High | 2022-01-24 |
| CVE-2021-25076 | WordPress plugin SQL注入漏洞 — WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress | 8.8 | - | 2022-01-24 |
| CVE-2021-25045 | WordPress plugin SQL注入漏洞 — Asgaros Forum | 7.2 | - | 2022-01-24 |
| CVE-2021-24865 | WordPress plugin SQL注入漏洞 — Advanced Custom Fields: Extended | 7.2 | - | 2022-01-24 |
| CVE-2021-24858 | WordPress plugin SQL注入漏洞 — Cookie Notification Plugin for WordPress – WP Cookie User Info | 7.2 | - | 2022-01-24 |
| CVE-2022-23305 | Apache Log4j SQL注入漏洞 — Apache Log4j 1.x | 9.8 | - | 2022-01-18 |
| CVE-2022-0258 | Pimcore SQL注入漏洞 — pimcore/pimcore | 8.8 | - | 2022-01-17 |
| CVE-2021-25037 | WordPress plugin SQL注入漏洞 — All in One SEO – Best WordPress SEO Plugin – Easily Improve SEO Rankings & Increase Traffic | 6.5 | - | 2022-01-17 |
| CVE-2022-0224 | Dolibarr SQL注入漏洞 — dolibarr/dolibarr | 8.8 | - | 2022-01-14 |
| CVE-2022-22055 | Le-Yan Dental Management System SQL注入漏洞 — Dental Management System | 9.8 | Critical | 2022-01-14 |
| CVE-2021-37197 | Siemens Comos SQL注入漏洞 — COMOS V10.2 | 8.8 | - | 2022-01-11 |
| CVE-2022-21666 | Usoc SQL注入漏洞 — USOC | 7.2 | High | 2022-01-10 |
| CVE-2021-25054 | WordPress plugin SQL注入漏洞 — WPcalc – create any online calculators | 7.2 | - | 2022-01-10 |
| CVE-2021-24949 | WordPress plugin The Plus Addons for ElementorSQL注入漏洞 — The Plus Addons for Elementor - Pro | 7.2 | - | 2022-01-10 |
| CVE-2021-24862 | WordPress plugin RegistrationMagic SQL注入漏洞 — RegistrationMagic – Custom Registration Forms, User Registration and User Login Plugin | 7.2 | - | 2022-01-10 |
CWE-89(SQL命令中使用的特殊元素转义处理不恰当(SQL注入)) 是常见的弱点类别,本平台收录该类弱点关联的 10452 条 CVE 漏洞。