CVE-2001-1348 (CNNVD-200105-099)
中文标题:
TWIG Webmail 的 SQL Query 可更改漏洞
英文标题:
TWIG 2.6.2 and earlier allows remote attackers to perform unauthorized database operations via a SQL...
漏洞描述
中文描述:
CVE(CAN) ID: CAN-2001-1348 对 SQL 查询语句,SQL 查询串(query string)没有用单引号括起来是一个小小的错误。这个错误可能导致潜在的危险。TWIG Webmail 存有这个漏洞。 如我们所知的,如果域类型是 int、mediumint、tinyint 等诸如此类的,SQL 查询串没有用单引号括起来能够被 mysql 接受。比如,下面两个语句的效果一样: DELETE FROM mytable WHERE id='1' AND owner='karet' DELETE FROM mytable WHERE id=1 AND owner='karet' 正常情况下,这没有什么问题。然而,如果上面的例子中 id 的值由用户来提供就有问题了。这使得用户可以控制 SQL 查询语句,把原来的 SQL查询语句更改为另一个语句。比如,如果用户提供给 id 的 值是 "1 OR id=2 OR id=3",上面第二个语句就变成 DELETE FROM mytable WHERE id=1 OR id=2 OR id=3 AND owner='karet' 了。TWIG Webmail 的这个漏洞使得恶意用户可以通过改变查询语句的逻辑插入 SQL 代码,进而进行非法操作。 <* 来源:Luki Rustianto (luki@karet.org) *>
英文描述:
TWIG 2.6.2 and earlier allows remote attackers to perform unauthorized database operations via a SQL injection attack on the id parameter.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| twig_development_team | twig | 2.0 | - | - |
cpe:2.3:a:twig_development_team:twig:2.0:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.0.1 | - | - |
cpe:2.3:a:twig_development_team:twig:2.0.1:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.0.2 | - | - |
cpe:2.3:a:twig_development_team:twig:2.0.2:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.0.3 | - | - |
cpe:2.3:a:twig_development_team:twig:2.0.3:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.0_beta1 | - | - |
cpe:2.3:a:twig_development_team:twig:2.0_beta1:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.0_beta2 | - | - |
cpe:2.3:a:twig_development_team:twig:2.0_beta2:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.0_beta3 | - | - |
cpe:2.3:a:twig_development_team:twig:2.0_beta3:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.1 | - | - |
cpe:2.3:a:twig_development_team:twig:2.1:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.1.1 | - | - |
cpe:2.3:a:twig_development_team:twig:2.1.1:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.2 | - | - |
cpe:2.3:a:twig_development_team:twig:2.2:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.2.1 | - | - |
cpe:2.3:a:twig_development_team:twig:2.2.1:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.2.2 | - | - |
cpe:2.3:a:twig_development_team:twig:2.2.2:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.2.3 | - | - |
cpe:2.3:a:twig_development_team:twig:2.2.3:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.3 | - | - |
cpe:2.3:a:twig_development_team:twig:2.3:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.3.1 | - | - |
cpe:2.3:a:twig_development_team:twig:2.3.1:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.3.2 | - | - |
cpe:2.3:a:twig_development_team:twig:2.3.2:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.4 | - | - |
cpe:2.3:a:twig_development_team:twig:2.4:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.5 | - | - |
cpe:2.3:a:twig_development_team:twig:2.5:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.5.1 | - | - |
cpe:2.3:a:twig_development_team:twig:2.5.1:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.6 | - | - |
cpe:2.3:a:twig_development_team:twig:2.6:*:*:*:*:*:*:*
|
| twig_development_team | twig | 2.6.1 | - | - |
cpe:2.3:a:twig_development_team:twig:2.6.1:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
AV:N/AC:L/Au:N/C:P/I:P/A:P
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2001-1348 |
2025-11-11 15:17:22 | 2025-11-11 07:32:15 |
| NVD | nvd_CVE-2001-1348 |
2025-11-11 14:50:26 | 2025-11-11 07:41:01 |
| CNNVD | cnnvd_CNNVD-200105-099 |
2025-11-11 15:08:39 | 2025-11-11 07:48:45 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 授权问题
- cnnvd_id: 未提取 -> CNNVD-200105-099
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- severity: SeverityLevel.MEDIUM -> SeverityLevel.HIGH
- cvss_score: 未提取 -> 7.5
- cvss_vector: NOT_EXTRACTED -> AV:N/AC:L/Au:N/C:P/I:P/A:P
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 21
- data_sources: ['cve'] -> ['cve', 'nvd']