JPortal print.php SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1107967 漏洞类型 输入验证
发布时间 2004-05-28 更新时间 2006-09-22
CVE编号 CVE-2004-2036 CNNVD-ID CNNVD-200405-063
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/24151
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200405-063
|漏洞详情
JPortal是一款网站构架系统。JPortal部分脚本对用户提交请求缺少充分过滤,远程攻击者可以利用这个漏洞进行SQL注入攻击,可能获得敏感信息或修改数据库。JPortal包含的print.php脚本对用户提交给'id'参数的数据缺少充分过滤,提交包含SQL命令的数据作为参数,可更改原有数据库逻辑,获得敏感信息或修改数据库。
|漏洞EXP
source: http://www.securityfocus.com/bid/10430/info

JPortal is reportedly affected by a remote SQL injection vulnerability in the print.inc.php script. This issue is due to a failure of the application to properly sanitize user-supplied URI input before using it in an SQL query.

As a result of this a malicious user may influence database queries in order to view or modify sensitive information, potentially compromising the software or the database. It may be possible for an attacker to disclose the administrator password hash by exploiting this issue. 

http://www.example.com/print.php?what=article&id=X AND 1=0 UNION SELECT id,id,nick,pass,id,id,id,id,id from admins LIMIT 1
|参考资料

来源:XF
名称:jportal-printincphp-sql-injection(16272)
链接:http://xforce.iss.net/xforce/xfdb/16272
来源:BID
名称:10430
链接:http://www.securityfocus.com/bid/10430
来源:www.securiteam.com
链接:http://www.securiteam.com/unixfocus/5HP020KD5K.html
来源:OSVDB
名称:6503
链接:http://www.osvdb.org/6503
来源:SECTRACK
名称:1010327
链接:http://securitytracker.com/id?1010327
来源:SECUNIA
名称:11737
链接:http://secunia.com/advisories/11737
来源:BUGTRAQ
名称:20040528JPortalSQLInjects
链接:http://marc.theaimsgroup.com/?l=bugtraq&m=108577011129476&w=2