CVE-2001-1348 (CNNVD-200105-099)

HIGH
中文标题:
TWIG Webmail 的 SQL Query 可更改漏洞
英文标题:
TWIG 2.6.2 and earlier allows remote attackers to perform unauthorized database operations via a SQL...
CVSS分数: 7.5
发布时间: 2002-05-03 04:00:00
漏洞类型: 授权问题
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

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:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
2791 vdb-entry
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
twig-webmail-query-modification(6619) vdb-entry
cve.org
访问
20010528 TWIG SQL query bugs mailing-list
cve.org
访问
CVSS评分详情
7.5
HIGH
CVSS向量: AV:N/AC:L/Au:N/C:P/I:P/A:P
CVSS版本: 2.0
机密性
PARTIAL
完整性
PARTIAL
可用性
PARTIAL
时间信息
发布时间:
2002-05-03 04:00:00
修改时间:
2024-08-08 04:51:08
创建时间:
2025-11-11 15:32:15
更新时间:
2025-11-11 15:48:45
利用信息
暂无可利用代码信息
数据源详情
数据源 记录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
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:48:45
vulnerability_type: 未提取 → 授权问题; cnnvd_id: 未提取 → CNNVD-200105-099; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 授权问题
  • cnnvd_id: 未提取 -> CNNVD-200105-099
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:41:01
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']
查看详细变更
  • 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']