Post Affiliate Pro index.php SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1109343 漏洞类型 SQL注入
发布时间 2005-11-29 更新时间 2005-11-30
CVE编号 CVE-2005-3909 CNNVD-ID CNNVD-200511-507
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/26652
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200511-507
|漏洞详情
PostAffiliatePro是一款功能强大的联合管理系统。PostAffiliatePro2.0.4及更早版本的merchants/index.php存在SQL注入漏洞,可让远程攻击者通过sortorder参数执行任意SQL命令。
|漏洞EXP
source: http://www.securityfocus.com/bid/15633/info

Post Affiliate Pro is prone to an SQL injection vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input before using it in an SQL query.

Successful exploitation could result in a compromise of the application, disclosure or modification of data, or may permit an attacker to exploit vulnerabilities in the underlying database implementation.

Versions 2.0.4 and prior are vulnerable; other versions may also be affected. 

http://www.example.com/merchants/index.php?tm_userid=_&tm_orderid=&tm_transt
ype%5B%5D=32&tm_transtype%5B%5D=1&tm_transtype%5B%5D=2&tm_transtype%5B%5D=4&tm_transtype%5B%5D=8&tm_transtype%5B%5D=16&tm_transtype%5B%5D=64&tm_status=_&tm_day1=25&tm_month1=11&tm_year1=2005&tm_day2=25&tm_month2=11&tm_year2=2005&numrows=20&filtered=1&md=Affiliate_Merchants_Views_TransactionManager&type=all&list_page=0&action=&sortby=ip&sortorder=[SQL]

http://www.example.com/merchants/index.php?um_name=&um_surname=&um_aid=&um_s
tatus=_&numrows=20&filtered=1&md=Affiliate_Merchants_Views_AffiliateManager&list_page=0&sortby=a.surname&action=&sortorder=[SQL]
|参考资料

来源:BID
名称:15633
链接:http://www.securityfocus.com/bid/15633
来源:VUPEN
名称:ADV-2005-2629
链接:http://www.frsirt.com/english/advisories/2005/2629
来源:SECUNIA
名称:17751
链接:http://secunia.com/advisories/17751
来源:XF
名称:postaffiliatepro-sortorder-sql-injection(23260)
链接:http://xforce.iss.net/xforce/xfdb/23260
来源:OSVDB
名称:21172
链接:http://www.osvdb.org/21172
来源:MISC
链接:http://pridels0.blogspot.com/2005/11/post-affiliate-pro-20x-vuln.html