CWE-89 SQL命令中使用的特殊元素转义处理不恰当(SQL注入) 类弱点 9398 条 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-2643 | File Tracker Manager System SQL注入漏洞 — File Tracker Manager System | 6.3 | Medium | 2023-05-11 |
| CVE-2023-2642 | SourceCodester Online Exam System SQL注入漏洞 — Online Exam System | 6.3 | Medium | 2023-05-11 |
| CVE-2023-2641 | SourceCodester Online Internship Management System SQL注入漏洞 — Online Internship Management System | 7.3 | High | 2023-05-11 |
| CVE-2023-28359 | Rocket.Chat SQL注入漏洞 — Rocket.Chat | 9.4 | - | 2023-05-11 |
| CVE-2023-2619 | Online Tours & Travels Management System SQL注入漏洞 — Online Tours & Travels Management System | 6.3 | Medium | 2023-05-10 |
| CVE-2023-2596 | Online Reviewer System SQL注入漏洞 — Online Reviewer System | 6.3 | Medium | 2023-05-09 |
| CVE-2023-2595 | SourceCodester Billing Management System SQL注入漏洞 — Billing Management System | 6.3 | Medium | 2023-05-09 |
| CVE-2023-2594 | Food Ordering Management System SQL注入漏洞 — Food Ordering Management System | 7.3 | High | 2023-05-09 |
| CVE-2023-31038 | Apache Log4cxx SQL注入漏洞 — Apache Log4cxx | 7.2 | - | 2023-05-08 |
| CVE-2016-15031 | PHP SQL注入漏洞 — PHP-Login | 7.3 | High | 2023-05-06 |
| CVE-2023-2519 | Caton Technology CTP Relay Server SQL注入漏洞 — CTP Relay Server | 7.3 | High | 2023-05-04 |
| CVE-2022-4259 | Nozomi Networks Guardian SQL注入漏洞 — CMC | 8.8 | High | 2023-05-04 |
| CVE-2023-30944 | Moodle SQL注入漏洞 | 5.6 | Medium | 2023-05-02 |
| 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 |
CWE-89(SQL命令中使用的特殊元素转义处理不恰当(SQL注入)) 是常见的弱点类别,本平台收录该类弱点关联的 9398 条 CVE 漏洞。