CWE-89 SQL命令中使用的特殊元素转义处理不恰当(SQL注入) 类弱点 9355 条 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-2023-2451 | Online DJ Management System SQL注入漏洞 — Online DJ Management System | 6.3 | Medium | 2023-05-01 |
| CVE-2023-2420 | MLECMS SQL注入漏洞 — MLECMS | 6.3 | Medium | 2023-04-29 |
| CVE-2023-2413 | AC Repair and Services System SQL注入漏洞 — AC Repair and Services System | 6.3 | Medium | 2023-04-29 |
| CVE-2023-2412 | AC Repair and Services System SQL注入漏洞 — AC Repair and Services System | 6.3 | Medium | 2023-04-28 |
| CVE-2023-2411 | AC Repair and Services System SQL注入漏洞 — AC Repair and Services System | 6.3 | Medium | 2023-04-28 |
| CVE-2023-2410 | AC Repair and Services System SQL注入漏洞 — AC Repair and Services System | 6.3 | Medium | 2023-04-28 |
| CVE-2023-2409 | AC Repair and Services System SQL注入漏洞 — AC Repair and Services System | 6.3 | Medium | 2023-04-28 |
| CVE-2023-2408 | AC Repair and Services System SQL注入漏洞 — AC Repair and Services System | 6.3 | Medium | 2023-04-28 |
| CVE-2023-2371 | Online DJ Management System SQL注入漏洞 — Online DJ Management System | 6.3 | Medium | 2023-04-28 |
| CVE-2023-2370 | Online DJ Management System SQL注入漏洞 — Online DJ Management System | 6.3 | Medium | 2023-04-28 |
| CVE-2023-2369 | Faculty Evaluation System SQL注入漏洞 — Faculty Evaluation System | 4.7 | Medium | 2023-04-28 |
| CVE-2023-2368 | Faculty Evaluation System SQL注入漏洞 — Faculty Evaluation System | 4.7 | Medium | 2023-04-28 |
| CVE-2023-2367 | Faculty Evaluation System SQL注入漏洞 — Faculty Evaluation System | 4.7 | Medium | 2023-04-28 |
| CVE-2023-2366 | Faculty Evaluation System SQL注入漏洞 — Faculty Evaluation System | 6.3 | Medium | 2023-04-28 |
| CVE-2023-2365 | Faculty Evaluation System SQL注入漏洞 — Faculty Evaluation System | 6.3 | Medium | 2023-04-28 |
| CVE-2023-2363 | Resort Reservation System SQL注入漏洞 — Resort Reservation System | 6.3 | Medium | 2023-04-28 |
| CVE-2023-30850 | Pimcore SQL注入漏洞 — pimcore | 8.8 | High | 2023-04-27 |
| CVE-2023-30849 | Pimcore SQL注入漏洞 — pimcore | 8.8 | High | 2023-04-27 |
| CVE-2023-30848 | Pimcore SQL注入漏洞 — pimcore | 8.8 | High | 2023-04-27 |
| CVE-2023-2348 | Service Provider Management System SQL注入漏洞 — Service Provider Management System | 6.3 | Medium | 2023-04-27 |
| CVE-2023-2347 | Service Provider Management System SQL注入漏洞 — Service Provider Management System | 6.3 | Medium | 2023-04-27 |
| CVE-2023-2346 | Service Provider Management System SQL注入漏洞 — Service Provider Management System | 6.3 | Medium | 2023-04-27 |
| CVE-2023-2344 | Service Provider Management System SQL注入漏洞 — Service Provider Management System | 6.3 | Medium | 2023-04-27 |
| CVE-2023-2338 | Pimcore SQL注入漏洞 — pimcore/pimcore | 8.8 | - | 2023-04-27 |
| CVE-2023-30839 | PrestaShop SQL注入漏洞 — PrestaShop | 10.0 | Critical | 2023-04-25 |
| CVE-2023-30545 | PrestaShop SQL注入漏洞 — PrestaShop | 7.7 | High | 2023-04-25 |
| CVE-2023-2244 | Online Eyewear Shop SQL注入漏洞 — Online Eyewear Shop | 6.3 | Medium | 2023-04-22 |
| CVE-2023-2243 | Complaint Management System SQL注入漏洞 — Complaint Management System | 6.3 | Medium | 2023-04-22 |
| CVE-2023-2242 | Online Computer and Laptop Store SQL注入漏洞 — Online Computer and Laptop Store | 6.3 | Medium | 2023-04-22 |
| CVE-2023-2218 | Task Reminder System SQL注入漏洞 — Task Reminder System | 6.3 | Medium | 2023-04-21 |
CWE-89(SQL命令中使用的特殊元素转义处理不恰当(SQL注入)) 是常见的弱点类别,本平台收录该类弱点关联的 9355 条 CVE 漏洞。