CWE-89 SQL命令中使用的特殊元素转义处理不恰当(SQL注入) 类弱点 11136 条 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-1367 | Delta Electronics DIAEnergie SQL注入漏洞 — DIAEnergie | 9.8 | Critical | 2022-05-02 |
| CVE-2022-1366 | Delta Electronics DIAEnergie SQL注入漏洞 — DIAEnergie | 9.8 | Critical | 2022-05-02 |
| CVE-2022-1281 | WordPress plugin Photo Gallery SQL注入漏洞 — Photo Gallery by 10Web – Mobile-Friendly Image Gallery | 9.8 | - | 2022-05-02 |
| CVE-2022-0783 | WordPress plugin Multiple Shipping Address Woocommerce SQL注入漏洞 — Multiple Shipping Address Woocommerce | 9.8 | - | 2022-05-02 |
| CVE-2022-0773 | WordPress plugin Documentor SQL注入漏洞 — Documentor – Create Product Documentation | 9.8 | - | 2022-05-02 |
| CVE-2022-0771 | WordPress plugin SiteSuperCharger SQL注入漏洞 — SiteSuperCharger | 9.8 | - | 2022-05-02 |
| CVE-2022-1531 | rtxteam/rtx SQL注入漏洞 — rtxteam/rtx | 9.8 | - | 2022-04-29 |
| CVE-2022-29411 | WordPress plugin Hermit SQL注入漏洞 — Hermit 音乐播放器 (WordPress plugin) | 8.3 | High | 2022-04-28 |
| CVE-2022-29410 | WordPress plugin Hermit SQL注入漏洞 — Hermit 音乐播放器 (WordPress plugin) | 7.4 | High | 2022-04-28 |
| CVE-2022-29419 | WordPress plugin 3xSocializer SQL注入漏洞 — 3xSocializer (WordPress plugin) | 6.0 | Medium | 2022-04-25 |
| CVE-2022-0782 | WordPress plugin Donations SQL注入漏洞 — Donations | 9.8 | - | 2022-04-25 |
| CVE-2022-0769 | WordPress plugin Users Ultra SQL注入漏洞 — Users Ultra Membership, Users Community and Member Profiles With PayPal Integration Plugin | 9.8 | - | 2022-04-25 |
| CVE-2022-0693 | WordPress plugin Master Elements SQL注入漏洞 — Master Elements | 9.8 | - | 2022-04-25 |
| CVE-2022-0657 | WordPress plugin RRatingg SQL注入漏洞 — 5 Stars Rating Funnel WordPress Plugin | RRatingg | 9.8 | - | 2022-04-25 |
| CVE-2021-24957 | WordPress plugin Advanced Page Visit Counter SQL注入漏洞 — Advanced Page Visit Counter – Advanced WordPress Visit Counter | 8.8 | - | 2022-04-25 |
| CVE-2022-1429 | pimcore SQL注入漏洞 — pimcore/pimcore | 7.5 | - | 2022-04-22 |
| CVE-2022-20786 | Cisco Unified Communications Manager SQL注入漏洞 — Cisco Unified Communications Manager IM and Presence Service | 5.4 | Medium | 2022-04-21 |
| CVE-2022-0785 | WordPress plugin Daily Prayer Time SQL注入漏洞 — Daily Prayer Time | 9.8 | - | 2022-04-18 |
| CVE-2020-13590 | Rukovoditel SQL注入漏洞 — Project Management App | 8.8 | - | 2022-04-18 |
| CVE-2020-13567 | phpGACL SQL注入漏洞 — OpenEMR | 9.8 | - | 2022-04-18 |
| CVE-2022-22149 | Lansweeper SQL注入漏洞 — lansweeper | 8.8 | - | 2022-04-14 |
| CVE-2022-21234 | Lansweeper SQL注入漏洞 — lansweeper | 8.8 | - | 2022-04-14 |
| CVE-2022-21210 | Lansweeper SQL注入漏洞 — lansweeper | 8.8 | - | 2022-04-14 |
| CVE-2022-1258 | McAfee Agent SQL注入漏洞 — McAfee Agent ePO extension | 8.4 | High | 2022-04-14 |
| CVE-2022-24844 | Gin-Vue-Admin SQL注入漏洞 — gin-vue-admin | 8.1 | High | 2022-04-13 |
| CVE-2022-27479 | Apache Superset SQL注入漏洞 — Apache Superset | 9.8 | - | 2022-04-13 |
| CVE-2022-1339 | Pimcore SQL注入漏洞 — pimcore/pimcore | 7.5 | - | 2022-04-13 |
| CVE-2022-24827 | elide-datastore-aggregation中的SQL注入漏洞 — elide | 8.1 | High | 2022-04-11 |
| CVE-2022-24815 | JHipster SQL注入漏洞 — generator-jhipster | 8.1 | High | 2022-04-11 |
| CVE-2022-1023 | WordPress Podcast Importer SecondLine plugin SQL注入漏洞 — Podcast Importer SecondLine | 9.8 | - | 2022-04-11 |
CWE-89(SQL命令中使用的特殊元素转义处理不恰当(SQL注入)) 是常见的弱点类别,本平台收录该类弱点关联的 11136 条 CVE 漏洞。